Function at 0xcd910c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x80]
call fcn.00c6a961
mov ecx, dword [ebp + 0xc]
xor eax, eax
push 0xcfcc08
mov dword [esp + 0x20], eax
call fcn.00c69c6e
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov esi, dword [eax]
mov ecx, esi
call fcn.00c67510
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x7c], eax
inc dword [eax]
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.00c67510
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], eax
inc dword [eax]
call fcn.00c6a961
lea ecx, [esp + 0x40]
call fcn.00c6a961
mov eax, dword [ebx + 4]
mov esi, dword [eax + 8]
mov ecx, esi
call fcn.00c67510
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call fcn.00c67620
push eax
lea ecx, [esp + 0x3c]
call fcn.00c65722
push 0
mov esi, 0xd0f350
push esi
push dword [esp + 0x40]
call fcn.00c8d6e8
add esp, 0xc
test eax, eax
je 0xcd9306
push eax
lea ecx, [esp + 0x44]
call fcn.00c66b57
mov eax, dword [esp + 0x44]
xor edx, edx
mov ebx, edx
mov ecx, edx
test eax, eax
je 0xcd9236
mov esi, edx
mov edx, dword [esp + 0x40]
push 0x28
movzx edx, word [edx + ebx*2]
mov dword [esp + 0x14], edx
pop edx
cmp word [esp + 0x10], dx
je 0xcd9239
movzx edx, word [esi*2 + 0xd263b2]
inc esi
test dx, dx
jne 0xcd9218
inc ebx
inc ecx
push 0
pop edx
cmp ecx, eax
jb 0xcd9207
or ebx, 0xffffffff
xor edx, edx
mov esi, edx
mov ecx, edx
test eax, eax
je 0xcd927c
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x40]
push 0x29
movzx edx, word [edx + esi*2]
mov dword [esp + 0x18], edx
pop edx
cmp word [esp + 0x14], dx
je 0xcd927f
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
movzx edx, word [edx*2 + 0xd263b4]
test dx, dx
jne 0xcd9256
inc esi
inc ecx
push 0
pop edx
cmp ecx, eax
jb 0xcd9243
or esi, 0xffffffff
cmp ebx, 0xffffffff
je 0xcd938f
cmp esi, 0xffffffff
je 0xcd938f
cmp esi, ebx
jb 0xcd938f
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
call fcn.00c66350
push 0xd0f350
lea ecx, [esp + 0x24]
call fcn.00c633c6
sub esi, ebx
lea eax, [ebx + 1]
dec esi
lea ecx, [esp + 0x80]
push esi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00c66d25
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x24]
call fcn.00c66350
mov esi, 0xd0f350
lea ecx, [esp + 0x20]
push esi
call fcn.00c633c6
xor eax, eax
push eax
push esi
push eax
call fcn.00c8d6e8
add esp, 0xc
test eax, eax
jne 0xcd91ef
mov ebx, dword [ebp + 8]
push esi
lea ecx, [esp + 0x24]
call fcn.00c633c6
xor esi, esi
inc esi
cmp dword [esp + 0x24], esi
jbe 0xcd933f
push esi
lea ecx, [esp + 0x24]
call fcn.00c64c6d
cmp word [eax], 0x7c
jne 0xcd9338
push esi
lea ecx, [esp + 0x24]
call fcn.00c64c6d
xor ecx, ecx
mov word [eax], cx
inc esi
cmp esi, dword [esp + 0x24]
jb 0xcd9319
cmp dword [ebp + 0x10], 6
jb 0xcd9354
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x14]
call fcn.00cd1ebc
mov dword [esp + 0x1c], eax
push 0x1fffe
call fcn.00c7fe0b
pop ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00c65722
cmp dword [ebp + 0x10], 5
jb 0xcd93c0
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0x10]
mov ecx, esi
call fcn.00c67510
mov eax, dword [esi + 8]
mov esi, dword [esp + 0x14]
push dword [eax]
push esi
call fcn.00c84983
pop ecx
pop ecx
jmp 0xcd93c9
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp byte [eax + edi + 0xd], 0
mov ecx, dword [eax + edi + 8]
je 0xcd93a2
mov ecx, dword [ecx + 0x38]
mov dword [ecx + 0x14], 2
cmp byte [eax + edi + 0xd], 0
mov ecx, dword [eax + edi + 8]
je 0xcd93b7
mov ecx, dword [ecx + 0x38]
mov byte [ecx + 0x18], 0
jmp 0xcd95ea
mov esi, dword [esp + 0x14]
xor eax, eax
mov word [esi], ax
push 0x58
lea eax, [esp + 0x94]
push 0
push eax
call fcn.00c82340
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp dword [ebp + 0x10], 4
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xac], esi
mov esi, 0x80004
mov dword [esp + 0x90], 0x58
mov dword [esp + 0xb0], 0xffff
mov dword [esp + 0xbc], eax
mov dword [esp + 0xcc], 0xcfcc08
jb 0xcd94cc
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
call fcn.00c6b567
cmp eax, 0x1f
jg 0xcd94cc
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
call fcn.00c6b567
test eax, eax
js 0xcd94cc
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
call fcn.00c6b567
mov ecx, dword [ebx + 4]
mov esi, eax
and esi, 0x10
or esi, 0x400020
shr esi, 3
mov ecx, dword [ecx + 0xc]
call fcn.00c6b567
test al, 8
je 0xcd948d
or esi, 0x2000
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
call fcn.00c6b567
test al, 4
je 0xcd94a2
or esi, 0x200
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
call fcn.00c6b567
test al, 2
je 0xcd94b7
or esi, 0x800
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
call fcn.00c6b567
test al, 1
je 0xcd94cc
or esi, 0x1000
cmp byte [ebp + 0x14], 0
lea eax, [esp + 0x90]
mov dword [esp + 0xc4], esi
push eax
je 0xcd9585
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0xcd95a0
push dword [esp + 0xac]
test esi, 0x200
je 0xcd9596
call fcn.00c84963
pop ecx
push dword [esp + 0xac]
lea ecx, [esp + 0x54]
mov esi, eax
call fcn.00c69cb3
mov eax, dword [esp + 0xac]
add eax, 2
xor ebx, ebx
jmp 0xcd955e
push eax
call fcn.00c84963
lea ecx, [esp + 0x54]
mov dword [esp], 0xd0f350
mov esi, eax
call fcn.00c633c6
push dword [esp + 0xac]
lea ecx, [esp + 0x54]
call fcn.00c633c6
mov eax, dword [esp + 0xac]
add eax, 2
lea eax, [eax + esi*2]
mov dword [esp + 0xac], eax
cmp word [eax], bx
jne 0xcd952c
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x50]
push eax
call fcn.00c662b5
lea ecx, [esp + 0x50]
call fcn.00c6988f
jmp 0xcd95cd
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0xcd95a0
push dword [esp + 0xac]
mov ecx, dword [ebp + 0xc]
call fcn.00c69c6e
jmp 0xcd95cd
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp byte [eax + edi + 0xd], 0
mov ecx, dword [eax + edi + 8]
je 0xcd95b3
mov ecx, dword [ecx + 0x38]
mov dword [ecx + 0x14], 1
cmp byte [eax + edi + 0xd], 0
mov ecx, dword [eax + edi + 8]
je 0xcd95c8
mov ecx, dword [ecx + 0x38]
xor eax, eax
mov byte [ecx + 0x18], al
mov eax, dword [esp + 0x18]
sub dword [eax], 1
jne 0xcd95ea
push 4
push eax
call fcn.00c7fdcd
push dword [esp + 0x1c]
call fcn.00c7fe14
add esp, 0xc
mov eax, dword [esp + 0x3c]
sub dword [eax], 1
jne 0xcd9607
push 4
push eax
call fcn.00c7fdcd
push dword [esp + 0x40]
call fcn.00c7fe14
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.00c6988f
lea ecx, [esp + 0x20]
call fcn.00c6988f
lea ecx, [esp + 0x60]
call fcn.00c6988f
lea ecx, [esp + 0x70]
call fcn.00c6988f
lea ecx, [esp + 0x80]
call fcn.00c6988f
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10