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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
sub esp, 0x10
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], 3
mov edx, dword [edi]
mov eax, dword [eax + edx*4]
mov edx, esp
movsx ecx, word [eax + 0xa]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0xc], eax
add ecx, 0x13c
inc dword [eax]
call fcn.0040b080
mov dword [esp + 0x54], eax
test eax, eax
je 0x4508ec
mov eax, dword [esp + 0xc]
mov ecx, dword [edi]
mov edx, dword [esi + 4]
inc ecx
mov dword [esp + 0x84], 1
mov eax, dword [eax + 0x150]
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], eax
mov eax, dword [edx + ecx*4]
mov dword [esp + 0x64], 0x49dc24
mov dword [esp + 0x40], 0x49dc28
mov dword [edi], ecx
cmp word [eax + 8], 0x47
mov eax, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x88], eax
jne 0x450907
inc ecx
xor esi, esi
mov dword [edi], ecx
mov dword [esp + 0x38], ecx
mov edi, edi
mov edi, dword [edi]
mov eax, dword [edx + edi*4]
movsx eax, word [eax + 8]
cmp eax, 0x47
jge 0x40c328
lea eax, [edi + 1]
mov edi, dword [ebp + 0x10]
mov dword [edi], eax
jmp 0x40c310
sub eax, 0x47
je 0x45092e
sub eax, 1
jne 0x450915
test esi, esi
jne 0x450928
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
mov dword [esi], eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x10]
cmp eax, dword [0x4d33c0]
jg 0x450934
test eax, eax
jle 0x450934
shl eax, 4
add eax, dword [0x4d33fc]
mov dword [esp + 0x50], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [eax]
cmp word [ecx + 8], 0
jne 0x40c38b
cmp dword [ecx], 0x2b
je 0x45093b
mov edx, 3
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], 0
cmp dword [ecx + 0x14], 0
mov ecx, dword [esp + 0x38]
jg 0x40cbc5
mov al, byte [ebp + 8]
mov edx, dword [esp + 0x30]
test al, al
jne 0x450a44
mov esi, dword [esp + 0x54]
cmp edx, dword [esi + 0x18]
mov esi, dword [ebp + 0x10]
jl 0x450f9b
mov esi, dword [esp + 0x54]
cmp edx, dword [esi + 0x14]
mov esi, dword [ebp + 0x10]
jg 0x450f9b
cmp ecx, edi
jne 0x450f9b
mov edi, dword [esp + 0x54]
xor edx, edx
mov dword [esp + 0x40], edx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x44], eax
test eax, eax
js 0x450b59
cmp byte [0x4d33a9], dl
jne 0x450b62
push 0xc
call fcn.0042012b
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
mov dword [edi], 0
mov ecx, dword [esp + 0x44]
mov dword [edi + 4], ecx
test ecx, ecx
js 0x450b85
push dword [esp + 0x40]
mov ecx, edi
push edi
call fcn.0040b1bd
mov eax, dword [0x4d33a4]
mov dword [edi + 8], eax
mov dword [0x4d33a4], edi
mov edi, dword [esp + 0x54]
inc dword [0x4d33a0]
mov esi, dword [esp + 0x40]
test esi, esi
jne 0x450b91
cmp dword [edi + 0x14], 1
jge 0x40c86b
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x90], 0
mov dword [esp + 0x98], 0
mov dword [esi + 0x150], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xa4], eax
mov byte [esp + 0xa8], al
mov dword [esp + 0xb0], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xb8], eax
mov eax, 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0xbc], eax
mov eax, dword [esi]
mov dword [esp + 0x9c], 1
mov byte [esp + 0xa0], 0
mov byte [esp + 0xc0], 0
mov edi, dword [eax + 4]
add edi, esi
cmp byte [edi + 0xd], 0
jne 0x450dbf
push 0x40
call fcn.0042012b
mov esi, eax
add esp, 4
lea eax, [esp + 0x90]
mov ecx, esi
push eax
mov dword [esi + 8], 0
call fcn.00410730
lea eax, [esp + 0xb0]
mov byte [esi + 0x10], 0
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
push eax
mov dword [ecx + 8], 0
call fcn.00410730
mov byte [esi + 0x30], 0
mov eax, dword [edi + 8]
mov dword [esi + 0x38], eax
mov dword [edi + 8], esi
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x54]
inc dword [edi + 4]
mov ecx, dword [esi + 0x164]
mov edi, dword [esi + 0xf8]
mov eax, dword [eax + 0x10]
inc eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
push eax
mov dword [esp + 0x44], edi
call fcn.0040dd00
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x164]
jb 0x450dd8
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov dword [ecx + 0xf8], edi
mov eax, dword [eax + 4]
add eax, ecx
mov cl, byte [eax + 0xd]
mov edi, dword [eax + 8]
test cl, cl
jne 0x450df8
mov eax, edi
cmp byte [eax + 0x10], 0
mov eax, dword [ebp + 0x18]
je 0x40ce16
mov byte [eax], 1
test cl, cl
jne 0x450e00
mov esi, dword [ebp + 0x14]
cmp esi, edi
je 0x40c5e2
cmp dword [esi + 0xc], 4
je 0x450e08
mov ecx, esi
call fcn.0040d530
push edi
mov ecx, esi
call fcn.00410730
mov edi, dword [esp + 0xc]
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov cl, byte [eax + edi + 0xd]
mov eax, dword [eax + edi + 8]
test cl, cl
jne 0x450e2b
mov esi, eax
cmp byte [esi + 0x18], 0
jne 0x450e33
test cl, cl
jne 0x450e55
mov esi, eax
cmp byte [esi + 0x30], 0
jne 0x450e5d
mov eax, dword [edx + 4]
cmp byte [eax + edi + 0xd], 0
lea esi, [eax + edi]
jne 0x450e9c
cmp byte [esi + 0xc], 0
jne 0x450ebc
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x40], eax
test edi, edi
je 0x40c662
lea ecx, [edi + 0x20]
call fcn.0040d530
mov ecx, edi
call fcn.0040d530
push 0x40
push edi
call fcn.0042011d
mov eax, dword [esp + 0x48]
add esp, 8
mov edi, dword [esp + 0xc]
mov dword [esi + 8], eax
xor al, al
mov byte [esi + 0xd], al
dec dword [esi + 4]
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
cmp byte [eax + 0xd], 0
mov ecx, dword [eax + 8]
jne 0x450ec3
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x14], edx
cmp byte [eax + 0xd], 0
mov ecx, dword [eax + 8]
jne 0x450ecb
mov byte [ecx + 0x18], 0
mov eax, dword [edi]
mov esi, dword [eax + 4]
add esi, edi
cmp byte [esi + 0xd], 0
mov edi, dword [esi + 8]
jne 0x450ed3
add edi, 0x20
lea eax, [esp + 0xb0]
cmp edi, eax
je 0x40c6df
cmp dword [edi + 0xc], 4
je 0x450edb
mov ecx, edi
call fcn.0040d530
lea eax, [esp + 0xb0]
mov ecx, edi
push eax
call fcn.00410730
cmp byte [esi + 0xd], 0
mov eax, dword [esi + 8]
jne 0x450f00
mov byte [eax + 0x30], 0
cmp byte [0x4d33a9], 0
jne 0x450f08
mov edi, dword [0x4d33a4]
mov dword [esp + 0x18], edi
cmp byte [0x4d33a8], 0
jne 0x450f2d
mov esi, dword [edi]
mov eax, dword [edi + 8]
mov dword [esp + 0x74], eax
test esi, esi
je 0x40c7cf
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40c734
push eax
mov ecx, edi
call fcn.0040b23b
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x40ce35
cmp byte [esi + 0x10], 0
jne 0x40c7bd
mov edi, dword [esi + 0x14]
test edi, edi
je 0x40c7b9
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x40c795
mov eax, dword [ecx + 0xc]
dec dword [eax]
mov eax, dword [ecx + 0xc]
cmp dword [eax], 0
jne 0x40c783
push dword [ecx]
call fcn.00420164
mov eax, dword [esp + 0x18]
add esp, 4
push 4
push dword [eax + 0xc]
call fcn.0042011d
mov ecx, dword [esp + 0x1c]
add esp, 8
push 0x10
push ecx
call fcn.0042011d
add esp, 8
mov dword [edi + 8], 0
mov eax, dword [edi + 0xc]
cmp eax, 5
jge 0x40cf84
push 0x10
push edi
mov dword [edi + 0xc], 1
mov dword [edi], 0
call fcn.0042011d
add esp, 8
mov edi, dword [esp + 0x18]
mov ecx, esi
call fcn.0040ac28
push 0x20
push esi
call fcn.0042011d
add esp, 8
push 0xc
push edi
call fcn.0042011d
mov eax, dword [esp + 0x7c]
add esp, 8
mov dword [0x4d33a4], eax
mov byte [0x4d33a9], 0
mov eax, dword [esp + 0xc]
dec dword [0x4d33a0]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x18], 0
mov dword [eax + 0x150], ecx
lea ecx, [esp + 0xb0]
call fcn.0040d530
lea ecx, [esp + 0x90]
call fcn.0040d530
lea ecx, [esp + 0x78]
call fcn.0040d530
mov edi, dword [esp + 0x58]
xor esi, esi
mov eax, dword [esp + 0x24]
test edi, edi
jne 0x40cde2
push eax
call fcn.00420164
mov eax, dword [esp + 0x40]
add esp, 4
xor edi, edi
test eax, eax
jne 0x40cb22
push dword [esp + 0x28]
call fcn.00420164
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
xor edi, edi
mov esi, dword [esp + 0x2c]
lea edx, [esi*4]
mov ecx, dword [eax + 4]
mov dword [esp + 0x60], ecx
mov eax, dword [ecx + edx]
cmp word [eax + 8], di
je 0x450be6
mov edx, dword [esp + 0x2c]
xor esi, esi
inc edx
mov dword [esp + 0x20], 1
lea edx, [ecx + edx*4]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x450c15
cmp ax, 0x48
je 0x40ce04
cmp ax, 0x40
jne 0x40ce0d
test esi, esi
jne 0x40ce0d
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x60]
cmp dword [esp + 0x18], eax
jg 0x450d46
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x74]
mov eax, dword [eax + edx]
cmp byte [eax], 0
jne 0x450c1b
mov eax, dword [esp + 0x2c]
or edi, 0x200
cmp dword [0x4d33a0], 0
mov edx, dword [edx]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + eax*4]
mov esi, dword [eax]
mov dword [esp + 0x60], esi
je 0x450c52
xor al, al
test al, al
jne 0x450c59
cmp byte [0x4d33a9], 0
mov eax, dword [esp + 0x10]
jne 0x450c6f
push eax
push esi
call fcn.0040be10
test al, al
jne 0x450c7b
and edi, 0xff00
push 0x20
mov dword [esp + 0x20], edi
call fcn.0042012b
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 8
call fcn.0042015b
add esp, 4
mov dword [edi], eax
xor ecx, ecx
mov word [eax], cx
push 4
call fcn.0042012b
mov ecx, eax
add esp, 4
mov dword [ecx], 1
mov dword [edi + 0xc], ecx
cmp edi, esi
je 0x40ca01
mov edx, dword [ecx]
cmp edx, 1
jg 0x450c9e
xor al, al
test al, al
jne 0x450ca5
mov esi, dword [esi + 4]
mov dword [edi + 4], esi
lea ecx, [esi + 1]
cmp dword [edi + 8], ecx
jb 0x450cc7
mov al, 1
test al, al
je 0x450cce
lea eax, [esi*2 + 2]
push eax
mov eax, dword [esp + 0x64]
push dword [eax]
push dword [edi]
call fcn.00421170
add esp, 0xc
mov eax, dword [esp + 0x1c]
push 0x10
mov dword [edi + 0x10], eax
call fcn.0042012b
add esp, 4
mov esi, eax
mov ecx, esi
push dword [esp + 0x14]
mov dword [esi + 8], 0
call fcn.00410730
mov eax, dword [esp + 0x10]
mov dword [edi + 0x14], esi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x40cae3
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0040be10
mov ecx, dword [esp + 0x1c]
mov edi, dword [edi + 4]
mov edx, dword [ecx + 4]
test edi, edi
je 0x450d18
test edx, edx
je 0x450d25
cmp edi, edx
jb 0x40ce42
mov esi, dword [esp + 0x34]
mov edx, dword [ecx]
mov esi, dword [esi]
test edi, edi
je 0x450d36
movzx eax, word [esi]
mov dword [esp + 0x14], eax
movzx eax, word [edx]
mov ecx, eax
mov dword [esp + 0x60], ecx
movzx ecx, word [esi]
cmp cx, ax
jne 0x40caae
add esi, 2
add edx, 2
sub edi, 1
jne 0x40ca86
jmp 0x450d36
mov eax, dword [esp + 0x60]
cmp word [esp + 0x14], ax
sbb eax, eax
and eax, 0xfffffffe
inc eax
mov edi, dword [esp + 0x34]
test eax, eax
js 0x40ced7
jle 0x450d3d
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x18], ecx
mov dword [ecx + 0x1c], 0
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov dword [eax], edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
inc eax
add dword [esp + 0x5c], 4
add eax, esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ecx + 0x14]
jg 0x40c471
mov esi, dword [0x4d33a4]
mov dword [esp + 0x10], esi
jmp 0x40c885
mov ecx, dword [esp + 0x28]
jmp 0x40cb30
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x40cbb0
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x40cb84
mov eax, dword [ecx + 0xc]
dec dword [eax]
mov eax, dword [ecx + 0xc]
cmp dword [eax], 0
jne 0x40cb72
push dword [ecx]
call fcn.00420164
mov eax, dword [esp + 0x18]
add esp, 4
push 4
push dword [eax + 0xc]
call fcn.0042011d
mov ecx, dword [esp + 0x1c]
add esp, 8
push 0x10
push ecx
call fcn.0042011d
add esp, 8
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
cmp eax, 5
jge 0x40cef0
push 0x10
push esi
mov dword [esi + 0xc], 1
mov dword [esi], 0
call fcn.0042011d
mov eax, dword [esp + 0x44]
add esp, 8
mov ecx, dword [esp + 0x28]
mov dword [ecx + edi*4], 0
inc edi
cmp edi, eax
jb 0x40cb30
jmp 0x40c853
cmp ecx, edi
jae 0x40c3b6
mov eax, dword [eax + edx*4]
lea esi, [edx*4]
inc dword [esp + 0x30]
mov dword [esp + 0x5c], 0
mov byte [esp + 0xb], 0
cmp word [eax + 8], 0
je 0x450949
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
cmp word [eax + 8], 0x33
je 0x40cc08
mov byte [esp + 0xb], 0
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x58], eax
je 0x40cd46
push 1
call fcn.0042012b
mov cl, byte [esp + 0xf]
add esp, 4
mov edx, dword [esp + 0x24]
mov byte [eax], cl
mov ecx, dword [esp + 0x58]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x78]
call fcn.0040d530
mov eax, dword [esp + 0x34]
mov dword [esp + 0x84], 1
mov dword [esp + 0x78], 0
cmp dword [esp + 0x3c], eax
je 0x40cd94
push 0x10
call fcn.0042012b
mov esi, eax
add esp, 4
lea eax, [esp + 0x78]
mov ecx, esi
push eax
mov dword [esi + 8], 0
call fcn.00410730
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
push edi
mov dword [ecx + eax*4], esi
inc eax
cmp byte [esp + 0xf], 0
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x70], eax
jne 0x4509b2
push dword [ecx + eax*4 - 4]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
push esi
call fcn.0040f1e0
test eax, eax
js 0x450fb4
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edx*4]
cmp word [eax + 8], 0x41
je 0x40cea0
mov ecx, dword [esp + 0x38]
cmp ecx, edi
je 0x40c3b6
mov esi, dword [esi + 4]
mov eax, dword [esi + ecx*4]
cmp word [eax + 8], 0x40
jne 0x450a2c
lea eax, [ecx + 1]
cmp eax, edi
je 0x450a2c
mov ecx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x38], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov eax, dword [eax + edx*4]
cmp word [eax + 8], 0x40
jne 0x40cd27
inc edx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x54]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esi + 0x14]
jge 0x40c3b6
mov eax, dword [esp + 0x20]
jmp 0x40cbc5
add eax, eax
mov dword [esp + 0x1c], eax
cmp eax, 8
jae 0x40cd5a
mov eax, 8
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042015b
mov edx, dword [esp + 0x28]
add esp, 4
mov esi, eax
test edx, edx
jne 0x40cf18
mov eax, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], eax
jmp 0x40cc16
add eax, eax
mov dword [esp + 0x34], eax
cmp eax, 8
jae 0x40cda8
mov eax, 8
mov dword [esp + 0x34], eax
xor ecx, ecx
mov dword [esp + 0x70], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042015b
mov edx, dword [esp + 0x2c]
add esp, 4
mov esi, eax
test edx, edx
jne 0x40cf47
mov eax, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x68], eax
jmp 0x40cc64
push 1
push dword [eax + esi*4]
call fcn.0042011d
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [eax + esi*4], 0
inc esi
cmp esi, edi
jb 0x40cde2
jmp 0x40c83c
sub esi, 1
js 0x40c8ec
inc ecx
add edx, 4
jmp 0x40c8c0
mov esi, dword [ebp + 0x14]
mov ecx, esi
mov byte [eax], 0
call fcn.0040d530
mov dword [esi + 0xc], 1
mov dword [esi], 0
jmp 0x40c5e2
push eax
mov ecx, edi
call fcn.0040b23b
jmp 0x40c73f
mov edi, dword [esp + 0x34]
mov esi, dword [ecx]
mov eax, dword [edi]
mov dword [esp + 0x14], eax
test edx, edx
je 0x40ce85
movzx ecx, word [eax]
movzx eax, cx
mov dword [esp + 0x40], eax
movzx eax, word [esi]
mov dword [esp + 0x60], ecx
mov ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x60]
cmp cx, ax
jne 0x40ce8c
mov eax, dword [esp + 0x14]
add esi, 2
add eax, 2
mov dword [esp + 0x14], eax
sub edx, 1
jne 0x40ce52
xor eax, eax
jmp 0x40cac1
mov eax, dword [esp + 0x34]
cmp word [esp + 0x40], ax
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x40cac1
inc edx
xor esi, esi
mov eax, dword [ecx + edx*4]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x4509df
cmp ax, 0x48
je 0x40cf76
cmp ax, 0x40
je 0x40cec7
inc edx
jmp 0x40cea3
test esi, esi
jne 0x40cec4
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], edx
jmp 0x40ccdf
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov dword [ecx + 0x18], 0
jmp 0x40cae3
sub eax, 5
cmp eax, 0xa
ja case.0x40cefc.6
jmp dword [eax*4 + 0x40d028]
mov ecx, dword [esi]
test ecx, ecx
je case.0x40cefc.6
push ecx
call fcn.0041e1c3
jmp case.0x40cefc.6
mov eax, dword [esp + 0x58]
test eax, eax
je 0x40cd85
lea ecx, [eax*4]
push ecx
push edx
push esi
call fcn.00421170
add esp, 0xc
push dword [esp + 0x24]
call fcn.00420164
add esp, 4
jmp 0x40cd85
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40cdd3
lea ecx, [eax*4]
push ecx
push edx
push esi
call fcn.00421170
add esp, 0xc
push dword [esp + 0x28]
call fcn.00420164
add esp, 4
jmp 0x40cdd3
sub esi, 1
js 0x40cecb
jmp 0x40cec4
sub eax, 5
cmp eax, 0xa
ja case.0x40cf90.6
jmp dword [eax*4 + 0x40d054]
mov eax, dword [edi]
mov dword [esp + 0x40], eax
test eax, eax
je case.0x40cf90.6
lea ecx, [eax + 8]
call fcn.0040ac28
push 0x18
push dword [esp + 0x44]
call fcn.0042011d
add esp, 8
jmp case.0x40cf90.6
mov eax, dword [edi]
mov dword [esp + 0x40], eax
test eax, eax
je case.0x40cf90.6
mov ecx, eax
call fcn.0041e1db
push 4
push dword [esp + 0x44]
call fcn.0042011d
add esp, 8
jmp case.0x40cf90.6
mov ecx, dword [edi]
test ecx, ecx
je case.0x40cf90.6
mov eax, dword [ecx]
push 1
call dword [eax]
jmp case.0x40cf90.6
mov ecx, dword [esi]
test ecx, ecx
je case.0x40cefc.6
push ecx
call fcn.0041f07f
jmp case.0x40cefc.6
mov ecx, dword [esi]
test ecx, ecx
je case.0x40cefc.6
mov eax, dword [ecx]
push 1
call dword [eax]
jmp case.0x40cefc.6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push eax
push 0x85
call fcn.00473d0b
or eax, 0xffffffff
jmp 0x40c863
mov eax, dword [esp + 0x18]
mov ecx, 0x6f
jmp 0x4509f9
sub eax, 0x37
jne 0x40c31e
mov eax, dword [edx + edi*4 - 4]
movsx eax, word [eax + 0xa]
jmp 0x45090b
dec esi
jmp 0x40c31e
inc esi
jmp 0x40c31e
xor eax, eax
jmp 0x40c36e
mov edx, 4
mov dword [esp + 0x2c], edx
jmp 0x40c390
mov eax, dword [esp + 0x20]
mov edx, dword [eax + esi + 4]
mov dword [esp + 0x60], edx
cmp word [edx + 8], 0x33
mov edx, dword [esp + 0x10]
je 0x450975
mov eax, dword [eax + esi]
mov edx, dword [esp + 0x60]
mov eax, dword [eax]
cmp eax, dword [edx]
mov edx, dword [esp + 0x10]
je 0x4509e5
mov eax, dword [esp + 0x20]
mov eax, dword [eax + esi]
mov eax, dword [eax]
cmp eax, 0x24
jne 0x450986
mov byte [esp + 0xb], 1
jmp 0x450993
cmp eax, 0x1e
jne 0x450a09
mov dword [esp + 0x5c], 0x100
mov eax, dword [esp + 0x20]
inc edx
lea esi, [edx*4]
mov dword [esp + 0x10], edx
mov eax, dword [eax + esi]
cmp word [eax + 8], 0
je 0x450949
jmp 0x40cbf3
push 0
push 1
push dword [esp + 0x68]
push dword [ecx + eax*4 - 4]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.0041e5a1
test eax, eax
js 0x450fb4
mov edx, dword [esp + 0x10]
inc edx
jmp 0x40cece
inc esi
jmp 0x40cec4
mov eax, dword [esp + 0x50]
mov ecx, 0x91
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4 + 4]
movsx eax, word [eax + 0xa]
push eax
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00473d0b
jmp 0x450fb4
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4 + 4]
movsx eax, word [eax + 0xa]
push eax
push 0x91
call fcn.00473d0b
jmp 0x450fb4
mov eax, dword [esi + ecx*4]
mov ecx, dword [esp + 0xc]
movsx eax, word [eax + 0xa]
push eax
push 0x6f
call fcn.00473d0b
jmp 0x450fb4
test edx, edx
jne 0x450ad0
cmp ecx, edi
je 0x40c3c5
lea eax, [esp + 0xb]
mov byte [esp + 0xb], dl
push eax
lea ecx, [esp + 0x44]
call fcn.00467819
lea ecx, [esp + 0x78]
call fcn.0040d530
lea eax, [esp + 0x78]
mov dword [esp + 0x84], 1
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], 0
call fcn.00467792
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
push edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ecx
push dword [ecx + eax*4 - 4]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040f1e0
test eax, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
jns 0x450ad9
jmp 0x450fb4
cmp edx, 1
jne 0x40c3c5
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00485ecc
test eax, eax
jne 0x450b39
lea ecx, [esp + 0x40]
call fcn.004676f5
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x450b17
mov byte [esp + 0xb], 0
mov esi, eax
lea eax, [esp + 0xb]
push eax
lea ecx, [esp + 0x44]
call fcn.00467819
sub esi, 1
jne 0x450b04
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], eax
jmp 0x450b49
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x30]
mov al, byte [ebp + 8]
mov ecx, dword [esp + 0x38]
jmp 0x40c3c5
mov dword [esp + 0x44], edx
jmp 0x40c406
mov ecx, dword [0x4d33a4]
mov dword [ecx], edx
mov eax, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [0x4d33a4]
mov byte [0x4d33a9], dl
mov dword [esp + 0x10], eax
jmp 0x40c455
mov dword [edi + 4], 0
jmp 0x40c437
mov eax, dword [esi + 0x18]
test eax, eax
je 0x450ba2
push eax
lea ecx, [esp + 0x44]
call fcn.0040b23b
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x450bb3
push eax
lea ecx, [esp + 0x44]
call fcn.0040b23b
cmp byte [esi + 0x10], 0
jne 0x450bc6
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x450bc6
push ecx
call fcn.0041b96b
mov ecx, esi
call fcn.0040ac28
push 0x20
push esi
call fcn.0042011d
mov eax, dword [0x4d33a4]
add esp, 8
mov dword [esp + 0x10], eax
jmp 0x40c467
mov eax, dword [edx + ecx]
mov eax, dword [eax]
cmp eax, 0x24
je 0x450bfa
cmp eax, 0x1e
jne 0x450bfb
mov edi, 0x100
inc esi
lea edx, [esi*4]
mov eax, dword [edx + ecx]
cmp word [eax + 8], 0
je 0x450be6
mov dword [esp + 0x2c], esi
jmp 0x40c8aa
inc esi
jmp 0x40ce0d
mov eax, dword [edx]
cmp dword [eax + 0xc], 6
jne 0x450c27
mov edx, dword [eax]
jmp 0x450c29
xor edx, edx
mov esi, dword [esp + 0x2c]
or edi, 0x200
push 1
push edi
push edx
mov eax, dword [ecx + esi*4]
push dword [eax]
call fcn.0046f69d
test al, al
je 0x450da0
mov esi, dword [esp + 0x20]
jmp 0x40caed
mov al, 1
jmp 0x40c93e
push edi
push edx
push esi
mov ecx, 0x4d3390
call fcn.0040ae35
mov esi, dword [esp + 0x20]
jmp 0x40caed
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
jmp 0x40c957
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
test ecx, ecx
je 0x40c966
push dword [esp + 0x14]
mov ecx, dword [ecx + 0x14]
call fcn.0040a35b
mov esi, dword [esp + 0x20]
jmp 0x40caed
mov al, 1
jmp 0x40c9c5
lea eax, [edx - 1]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
inc dword [eax]
jmp 0x40ca01
xor al, al
jmp 0x40c9e1
test ecx, ecx
jne 0x450cd9
mov ecx, 8
jmp 0x450cdf
add ecx, 7
and ecx, 0xfffffff8
push dword [edi]
mov dword [edi + 8], ecx
call fcn.00420164
mov eax, dword [edi + 8]
xor ecx, ecx
add esp, 4
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042015b
add esp, 4
mov dword [edi], eax
xor ecx, ecx
mov word [eax + esi*2], cx
mov esi, dword [edi + 4]
jmp 0x40c9e9
test edx, edx
je 0x450d25
mov edi, dword [esp + 0x34]
jmp 0x40cedb
test edi, edi
je 0x40ca6e
mov edi, dword [esp + 0x34]
jmp 0x40cad3
xor eax, eax
jmp 0x40cabd
mov edi, dword [esp + 0x1c]
jmp 0x40cae3
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
lea eax, [ecx + 2]
mov dword [esp + 0x40], eax
lea eax, [esi + ecx]
mov ecx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x5c]
call fcn.0040f1e0
test eax, eax
js 0x450fb4
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x78]
mov edx, dword [esp + 0x2c]
or edi, 0x200
push 1
push edi
mov eax, dword [eax + 4]
push ecx
mov eax, dword [eax + edx*4]
push dword [eax]
call fcn.0040acbd
jmp 0x40caed
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
movsx eax, word [eax + 0xa]
push eax
push 0x79
call fcn.00473d0b
jmp 0x450fb4
mov ecx, dword [edi + 8]
lea eax, [esp + 0x90]
push eax
call fcn.00473978
mov byte [edi + 0xd], 0
jmp 0x40c550
mov edi, dword [esp + 0x14]
lea ecx, [esi + 0x164]
call fcn.00401ed9
cmp edi, dword [esi + 0x164]
jb 0x450ddc
mov edi, dword [esp + 0x40]
jmp 0x40c589
mov eax, dword [edi + 0x38]
jmp 0x40c5aa
mov edi, dword [edi + 0x38]
jmp 0x40c5c2
cmp dword [edi + 0xc], 4
jne 0x40c5d3
mov eax, dword [edi + 8]
mov ecx, dword [esi + 8]
cmp ecx, eax
je 0x40c5e2
push eax
call fcn.0040ad69
jmp 0x40c5e2
mov esi, dword [eax + 0x38]
jmp 0x40c5fd
test cl, cl
je 0x450e3c
mov edi, dword [eax + 0x38]
jmp 0x450e3e
mov edi, eax
mov edi, dword [edi + 0x14]
mov dword [esp + 0x18], edi
mov dword [esp + 0xa4], edi
mov edi, dword [esp + 0xc]
jmp 0x40c607
mov esi, dword [eax + 0x38]
jmp 0x40c611
test cl, cl
je 0x450e64
mov eax, dword [eax + 0x38]
add eax, 0x20
lea ecx, [esp + 0xb0]
push eax
call fcn.0040a35b
mov eax, dword [esp + 0xbc]
mov edx, dword [edi]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x18], eax
jmp 0x40c61b
mov ecx, dword [esi + 8]
mov edi, dword [ecx + 0x38]
test ecx, ecx
je 0x450eac
push ecx
call fcn.00404136
mov dword [esi + 8], edi
mov edi, dword [esp + 0xc]
mov byte [esi + 0xd], 0
jmp 0x40c62c
mov al, 1
jmp 0x40c66b
mov ecx, dword [ecx + 0x38]
jmp 0x40c685
mov ecx, dword [ecx + 0x38]
jmp 0x40c699
mov edi, dword [edi + 0x38]
jmp 0x40c6b1
cmp dword [esp + 0x5c], 4
jne 0x40c6c9
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
je 0x40c6df
push eax
call fcn.0040ad69
jmp 0x40c6df
mov eax, dword [eax + 0x38]
jmp 0x40c6ec
mov ecx, dword [0x4d33a4]
push ecx
mov edi, dword [ecx + 8]
mov dword [esp + 0x1c], edi
call fcn.00465443
mov dword [0x4d33a4], edi
mov byte [0x4d33a9], 0
jmp 0x40c707
mov byte [0x4d33a9], 1
jmp 0x40c7ea
mov eax, dword [edi]
test eax, eax
je case.0x40cf90.6
push eax
call dword [esp + 0x8c]
push 0x10
push dword [edi]
jmp 0x40cfb3
mov eax, dword [edi]
push dword [eax + 4]
call fcn.00420164
add esp, 4
push 8
push dword [edi]
jmp 0x40cfb3
mov ecx, dword [edi]
test ecx, ecx
je case.0x40cf90.6
push ecx
call fcn.004603e0
jmp case.0x40cf90.6
mov eax, dword [edi]
mov dword [esp + 0x40], eax
test eax, eax
je case.0x40cf90.6
mov ecx, eax
call fcn.0040ac28
push 0x14
jmp 0x40cfaf
test al, al
jne 0x450fb1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push eax
push 0x70
call fcn.00473d0b
jmp 0x450fb4
add dword [esi], 0xfffffffe
mov dword [esp + 0x18], 0xffffffff
jmp 0x40c821
mov eax, dword [esi]
test eax, eax
je case.0x40cefc.6
push eax
call dword [esp + 0x8c]
push 0x10
push dword [esi]
call fcn.0042011d
add esp, 8
jmp case.0x40cefc.6
mov eax, dword [esi]
push dword [eax + 4]
call fcn.00420164
add esp, 4
push 8
push dword [esi]
call fcn.0042011d
add esp, 8
jmp case.0x40cefc.6
mov ecx, dword [esi]
test ecx, ecx
je case.0x40cefc.6
push ecx
call fcn.004603e0
jmp case.0x40cefc.6
mov ecx, dword [esi]
test ecx, ecx
je case.0x40cefc.6
push ecx
call fcn.00471556
jmp case.0x40cefc.6