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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0xac
mov eax, dword [0x43e0a8]
mov edx, dword [0x43e0b4]
mov ecx, dword [0x43e0b0]
mov esi, dword [0x43e0ac]
mov dword [esp + 0x18], eax
mov eax, dword [0x43e0bc]
mov edi, dword [0x43e0b8]
mov dword [esp + 0x30], ecx
lea ebp, [edx + eax]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x64], ebp
cmp esi, ecx
jb 0x40d32a
cmp edi, eax
jb 0x40c95b
cmp dword [ebx + 0x73d8], 1
mov esi, dword [ebx + 0x739c]
je 0x40c8d0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add eax, edi
add edi, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x27408]
add edi, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
cmp esi, 4
ja case.default.0x40c645
jmp dword [esi*4 + 0x417160]
mov edi, dword [ebx + 0x72bc]
mov eax, dword [ebx + 0x73a8]
mov edx, dword [ebx + 0x72f4]
mov ebp, edi
sub ebp, eax
cmp edx, 7
je 0x40c8b5
mov edx, dword [ebx + 0x73a4]
sub edx, eax
cmp edx, ebp
jb 0x40d27b
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub esi, ecx
cmp esi, ebp
cmova esi, ebp
test esi, esi
jne 0x40cc20
add eax, esi
add dword [esp + 0x18], esi
mov dword [ebx + 0x73a8], eax
cmp esi, ebp
jb 0x40d130
mov dword [ebx + 0x73a8], 0
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x64]
mov dword [esp + 4], edi
mov eax, dword [ebx + 0x73a0]
mov dword [esp], eax
mov eax, ebx
call fcn.0040c4b0
cmp eax, 0xffffff88
ja 0x40d236
mov esi, dword [ebx + 0x739c]
jmp 0x40c63c
mov esi, dword [ebx + 0x73c0]
mov edi, dword [ebx + 0x735c]
mov edx, dword [esp + 0x2c]
lea eax, [ebx + 0x72c0]
mov ecx, esi
mov dword [esp], edi
call fcn.00401a90
mov ebp, eax
cmp eax, 0xffffff88
ja 0x40d23f
test eax, eax
je 0x40c918
mov ecx, eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, esi
sub edx, eax
cmp edx, ecx
jb 0x40d292
mov edi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
add esi, eax
mov dword [esp + 0x3c], ecx
mov dword [esp], esi
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x3c]
mov eax, edi
mov dword [ebx + 0x73c0], ebp
mov esi, dword [ebx + 0x739c]
add eax, ecx
mov dword [esp + 0x18], eax
jmp 0x40c63c
mov dword [ebx + 0x739c], 1
mov eax, dword [0x43e0b4]
mov dword [ebx + 0x73bc], 0
mov dword [ebx + 0x73dc], eax
mov eax, dword [0x43e0b8]
mov dword [ebx + 0x73b8], 0
mov dword [ebx + 0x73e0], eax
mov eax, dword [0x43e0bc]
mov dword [ebx + 0x73a8], 0
mov dword [ebx + 0x73c0], 0
mov dword [ebx + 0x73cc], 0
mov dword [ebx + 0x73d0], 0
mov dword [ebx + 0x73e4], eax
jmp 0x40c6ee
mov eax, dword [ebx + 0x73b8]
mov esi, dword [ebx + 0x73bc]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x28]
sub esi, eax
sub ebp, edi
cmp esi, ebp
mov ecx, ebp
cmovbe ecx, esi
test ecx, ecx
jne 0x40cce0
add edi, ecx
add eax, ecx
mov dword [esp + 0x64], edi
mov dword [ebx + 0x73b8], eax
cmp ebp, esi
jb 0x40d2ca
xor edi, edi
mov edx, dword [ebx + 0x73b4]
cmp edx, dword [ebx + 0x72c0]
mov dword [ebx + 0x739c], 2
sbb edi, dword [ebx + 0x72c4]
jb 0x40cbc0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 0x72f4]
sub eax, edi
mov edi, dword [ebx + 0x72bc]
lea ecx, [edx - 3]
mov esi, edi
cmp ecx, 1
ja 0x40c87a
mov ecx, dword [ebx + 0x72f0]
test ecx, ecx
jne 0x40c87a
test eax, eax
mov esi, 1
cmovne esi, eax
cmp esi, edi
cmova esi, edi
test esi, esi
je 0x40d248
cmp eax, esi
jae 0x40cb88
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x1c], ecx
je 0x40d130
mov eax, dword [ebx + 0x73a8]
mov ebp, edi
mov dword [ebx + 0x739c], 3
sub ebp, eax
cmp edx, 7
jne 0x40c66f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub esi, edx
cmp esi, ebp
cmova esi, ebp
jmp 0x40c696
test esi, esi
je 0x40c60c
cmp dword [ebx + 0x73dc], edx
sete cl
cmp dword [ebx + 0x73e4], eax
sete al
test cl, al
je 0x40c8fa
cmp dword [ebx + 0x73e0], edi
je 0x40c60c
mov dword [esp + 0x20], 0xffffff98
mov eax, dword [esp + 0x20]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebx + 0x72c0]
mov ecx, dword [ebx + 0x72c4]
mov eax, edi
and eax, ecx
cmp eax, 0xffffffff
je 0x40c978
cmp dword [ebx + 0x72d4], 1
je 0x40c978
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x28]
xor edx, edx
sub esi, eax
mov dword [esp + 0x3c], eax
mov eax, edx
cmp esi, edi
sbb eax, ecx
jae 0x40cd40
cmp dword [ebx + 0x73d8], 1
jne 0x40c978
mov dword [esp + 0x20], 0xffffffba
mov eax, dword [esp + 0x20]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x7398]
cmp eax, 0xffffffff
je 0x40c9fa
cmp eax, 1
je 0x40c9f0
mov esi, dword [ebx + 0x7388]
test esi, esi
je 0x40c9ca
mov eax, dword [esi]
mov edi, dword [esi + 0x6ab4]
mov edx, dword [esi + 0x6ab8]
test eax, eax
je 0x40d120
test edi, edi
je 0x40cd09
mov dword [esp], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 4], eax
call edi
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], esi
mov dword [esp], edx
call edi
mov dword [ebx + 0x7388], 0
xor edx, edx
mov dword [ebx + 0x738c], 0
mov dword [ebx + 0x7398], 0
jmp 0x40ca00
mov dword [ebx + 0x7398], 0
mov edx, dword [ebx + 0x738c]
mov eax, ebx
call fcn.00407130
mov eax, dword [ebx + 0x27408]
and eax, 0xfffffff0
cmp eax, 0x184d2a50
jne 0x40cbf0
mov edx, dword [ebx + 0x2740c]
mov eax, 7
mov esi, dword [ebx + 0x72c8]
mov dword [ebx + 0x72bc], edx
mov ecx, 0x400
mov edx, dword [ebx + 0x72cc]
mov dword [ebx + 0x72f4], eax
xor eax, eax
cmp esi, ecx
mov edi, edx
sbb edi, eax
cmovae ecx, esi
cmovae eax, edx
xor edx, edx
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x24]
mov eax, edx
mov dword [esp + 0x20], ecx
mov esi, dword [esp + 0x20]
cmp dword [ebx + 0x73ac], esi
sbb eax, dword [esp + 0x24]
mov dword [ebx + 0x72cc], edi
mov dword [ebx + 0x72c8], esi
jb 0x40d2f1
mov edx, dword [ebx + 0x72d0]
mov eax, 4
cmp edx, eax
cmovae eax, edx
mov edi, eax
mov esi, eax
mov eax, dword [ebx + 0x73d8]
test eax, eax
jne 0x40cb00
mov ecx, dword [esp + 0x20]
mov edx, 0x20000
xor eax, eax
mov ebp, edx
cmp edx, ecx
mov ecx, eax
sbb ecx, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmovae eax, ecx
cmovae ebp, edx
mov dword [esp + 0x44], eax
mov eax, edx
mov edx, ecx
mov ecx, dword [ebx + 0x72c4]
mov dword [esp + 0x40], ebp
add eax, 0x40
mov ebp, dword [ebx + 0x72c0]
adc edx, 0
add eax, dword [esp + 0x40]
mov esi, ecx
adc edx, dword [esp + 0x44]
cmp ebp, eax
sbb esi, edx
cmovae ebp, eax
cmovae ecx, edx
lea esi, [edi + ebp]
cmp ecx, 0
ja 0x40d110
mov eax, dword [ebx + 0x73a4]
cmp eax, edi
setb cl
cmp dword [ebx + 0x73b4], ebp
setb dl
add eax, dword [ebx + 0x73b4]
or edx, ecx
lea ecx, [esi + esi*2]
cmp eax, ecx
jb 0x40cc48
mov eax, dword [ebx + 0x2741c]
add eax, 1
mov dword [ebx + 0x2741c], eax
test dl, dl
je 0x40d100
mov eax, dword [ebx + 0x7380]
test eax, eax
je 0x40cc68
sub eax, 0x27420
cmp eax, esi
jb 0x40ccce
mov eax, dword [ebx + 0x73a0]
add eax, edi
mov dword [ebx + 0x73a4], edi
mov dword [ebx + 0x73b0], eax
mov dword [ebx + 0x73b4], ebp
mov dword [ebx + 0x739c], 2
jmp case.0x40c645.2
mov edi, dword [esp + 0x18]
mov dword [esp + 4], esi
lea edx, [esp + 0x64]
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword [esp], edi
call fcn.0040c4b0
cmp eax, 0xffffff88
ja 0x40cd31
add edi, esi
mov esi, dword [ebx + 0x739c]
mov dword [esp + 0x18], edi
jmp 0x40c63c
add eax, dword [ebx + 0x72d0]
cmp edx, eax
jae case.0x40c645.2
mov dword [ebx + 0x73bc], 0
mov dword [ebx + 0x73b8], 0
jmp case.0x40c645.2
mov ecx, dword [ebx + 0x73c0]
mov edx, dword [esp + 0x2c]
mov eax, ebx
call fcn.00406920
cmp eax, 0xffffff88
ja 0x40d357
mov edx, 3
mov eax, 2
jmp 0x40ca26
add eax, dword [ebx + 0x73a0]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0x73a8]
jmp 0x40c696
mov dword [ebx + 0x2741c], 0
test dl, dl
je 0x40cb73
mov eax, dword [ebx + 0x7380]
test eax, eax
jne 0x40cb4c
mov edx, dword [ebx + 0x73a0]
mov eax, dword [ebx + 0x7374]
test edx, edx
je 0x40cc95
mov ecx, dword [ebx + 0x7370]
test ecx, ecx
je 0x40cd1e
mov dword [esp], eax
mov dword [esp + 4], edx
call ecx
mov eax, dword [ebx + 0x7374]
mov dword [ebx + 0x73a4], 0
mov edx, dword [ebx + 0x736c]
mov dword [ebx + 0x73b4], 0
test edx, edx
je 0x40d1e0
mov dword [esp + 4], esi
mov dword [esp], eax
call edx
mov dword [ebx + 0x73a0], eax
test eax, eax
jne 0x40cb5f
mov dword [esp + 0x20], 0xffffffc0
jmp 0x40c902
add eax, dword [ebx + 0x73b0]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x3c], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0x73b8]
mov ecx, dword [esp + 0x3c]
jmp 0x40c807
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp], esi
call sub.msvcrt.dll_free
jmp 0x40c9ca
mov dword [esp], edx
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x7374]
jmp 0x40cc95
mov dword [esp + 0x20], eax
jmp 0x40c902
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
sub edi, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
cmp edi, 7
jbe 0x40cd87
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
and eax, 0xfffffff0
cmp eax, 0x184d2a50
je 0x40d2d1
mov dword [esp], 0
mov edx, dword [esp + 0x48]
mov ecx, edi
lea eax, [esp + 0x78]
call fcn.00401a90
mov ecx, eax
cmp eax, 0xffffff88
ja 0x40ce50
test eax, eax
jne 0x40d1f5
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], esi
lea ecx, [edx + eax]
mov edx, edi
sub edx, eax
mov esi, ecx
cmp edx, 2
jbe 0x40d1ed
movzx eax, byte [esi + 2]
movzx ecx, word [esi]
shl eax, 0x10
lea edi, [eax + ecx]
and ecx, 1
mov eax, edi
shr eax, 1
and eax, 3
cmp eax, 1
je 0x40d288
cmp eax, 3
je 0x40d337
mov eax, edi
shr eax, 3
lea edi, [eax + 3]
cmp edx, edi
jb 0x40d1ed
sub edx, 3
add esi, edi
sub edx, eax
test ecx, ecx
je 0x40cdcc
cmp dword [esp + 0x98], 0
mov eax, esi
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
je 0x40ce3a
mov ecx, 0xffffffb8
cmp edx, 3
jbe 0x40ce50
add eax, 4
mov ecx, eax
mov eax, dword [esp + 0x48]
sub ecx, eax
lea esi, cs:[esi]
lea esi, [esi]
cmp edi, ecx
jb 0x40c978
mov eax, dword [ebx + 0x7398]
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], ebp
cmp eax, 0xffffffff
je 0x40d4f2
sub eax, 1
je 0x40d4ea
mov ebp, dword [ebx + 0x7388]
test ebp, ebp
je 0x40cec3
mov eax, dword [ebp]
mov esi, dword [ebp + 0x6ab4]
mov edi, dword [ebp + 0x6ab8]
test eax, eax
je 0x40d6e0
mov dword [esp + 0x18], ecx
test esi, esi
je 0x40d6bf
mov dword [esp + 4], eax
mov dword [esp], edi
call esi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 4], ebp
mov dword [esp], edi
call esi
mov ecx, dword [esp + 0x18]
xor edi, edi
mov dword [ebx + 0x7388], edi
mov dword [ebx + 0x738c], edi
mov dword [ebx + 0x7398], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov ebp, ebx
mov dword [esp + 0x58], ecx
mov esi, dword [ebx + 0x735c]
mov dword [esp + 0x2c], eax
xor eax, eax
mov ebx, edx
mov dword [esp + 0x4c], eax
cmp esi, 1
mov dword [esp + 0x50], esi
sbb eax, eax
and eax, 4
add eax, 1
cmp dword [esp + 0x18], eax
jb 0x40d6ea
mov edi, dword [esp + 0x2c]
mov edi, dword [edi]
mov edx, edi
mov dword [esp + 0x54], edi
and edx, 0xfffffff0
cmp edx, 0x184d2a50
je 0x40d3a7
mov edx, dword [esp + 0x34]
test edx, edx
je 0x40d415
mov eax, ebp
call fcn.00407130
mov eax, dword [ebp + 0x72ac]
cmp eax, ebx
je 0x40cf76
mov dword [ebp + 0x72b8], eax
mov edx, ebx
sub eax, dword [ebp + 0x72b0]
sub edx, eax
mov dword [ebp + 0x72b0], ebx
mov dword [ebp + 0x72b4], edx
mov dword [ebp + 0x72ac], ebx
mov eax, dword [esp + 0x50]
test eax, eax
je 0x40d3e1
cmp dword [esp + 0x18], 4
jbe 0x40d32a
mov ecx, 1
mov eax, dword [esp + 0x2c]
movzx edi, byte [eax + ecx - 1]
mov edx, edi
mov eax, edi
and edi, 3
shr dl, 6
shr al, 5
movzx esi, dl
mov esi, dword [esi*4 + 0x417f00]
add esi, dword [edi*4 + 0x417f10]
add esi, ecx
mov ecx, eax
not ecx
and ecx, 1
add esi, ecx
test dl, dl
sete dl
movzx edx, dl
and eax, edx
add esi, eax
cmp esi, 0xffffff88
ja 0x40d3f6
lea eax, [esi + 3]
cmp dword [esp + 0x18], eax
jb 0x40d51b
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov eax, ebp
mov edx, edi
call fcn.00406920
cmp eax, 0xffffff88
ja 0x40d5dd
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], ebx
sub dword [esp + 0x18], esi
mov ecx, dword [esp + 0x18]
add eax, ebx
mov dword [esp + 0x2c], eax
mov eax, edi
mov edi, ebx
add eax, esi
cmp ecx, 2
jbe 0x40d5b5
movzx ebx, byte [eax + 2]
movzx esi, word [eax]
shl ebx, 0x10
lea edx, [ebx + esi]
mov ebx, edx
mov dword [esp + 0x54], edx
shr edx, 1
mov esi, edx
shr ebx, 3
and esi, 3
cmp esi, 1
je 0x40d572
cmp esi, 3
je 0x40d5fe
add eax, 3
lea edx, [ecx - 3]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], edx
cmp edx, ebx
jb 0x40d5f1
mov ecx, dword [esp + 0x2c]
sub ecx, edi
cmp esi, 2
jne 0x40d547
mov dword [esp], eax
mov edx, edi
mov eax, ebp
mov dword [esp + 4], ebx
call fcn.00408a20
cmp eax, 0xffffff88
ja 0x40d5dd
mov esi, ebx
mov ebx, eax
cmp dword [ebp + 0x7364], 0
jne 0x40d533
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
add edi, ebx
add eax, esi
sub ecx, esi
and dword [esp + 0x54], 1
je 0x40d01a
mov esi, dword [ebp + 0x72c4]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x72c0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], eax
cmp esi, 0xffffffff
je 0x40d6a7
mov ecx, edi
sub ecx, ebx
mov eax, ecx
cdq
cmp esi, edx
je 0x40d627
mov eax, 0xffffffec
jmp 0x40d3d8
cmp eax, 0x7f
jbe 0x40cb73
jmp 0x40cb3e
lea esi, [edi - 0x10]
mov ebp, 0xfffffff0
jmp 0x40cb00
test edi, edi
jne 0x40c9c1
jmp 0x40cd11
mov edx, dword [esp + 0x64]
mov ecx, dword [0x43e0b4]
mov edi, dword [esp + 0x18]
mov eax, edx
sub eax, dword [0x43e0b4]
mov dword [ebx + 0x73dc], ecx
mov ecx, dword [0x43e0b8]
mov esi, edi
sub esi, dword [0x43e0a8]
mov dword [0x43e0bc], eax
mov dword [0x43e0b0], esi
mov dword [ebx + 0x73e0], ecx
mov dword [ebx + 0x73e4], eax
cmp dword [esp + 0x48], edi
jne 0x40d181
cmp dword [esp + 0x38], edx
je 0x40d2fe
mov dword [ebx + 0x73d4], 0
mov eax, dword [ebx + 0x72bc]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x40d200
mov eax, dword [ebx + 0x73d0]
mov edi, dword [ebx + 0x73b8]
cmp dword [ebx + 0x73bc], edi
jne 0x40d25b
test eax, eax
je 0x40c902
cmp esi, dword [0x43e0ac]
jb 0x40d349
mov dword [ebx + 0x739c], 2
mov dword [esp + 0x20], 1
jmp 0x40c902
mov dword [esp], esi
call sub.msvcrt.dll_malloc
jmp 0x40ccc0
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov ecx, 0xffffffb8
jmp 0x40ce50
mov eax, dword [ebx + 0x72f4]
xor edx, edx
sub eax, 2
cmp eax, 5
ja 0x40d221
cmp dword [eax*4 + 0x417a8c], 2
mov edx, 3
je 0x40d221
xor edx, edx
mov eax, dword [esp + 0x20]
sub eax, dword [ebx + 0x73a8]
add eax, edx
mov dword [esp + 0x20], eax
jmp 0x40c902
mov dword [esp + 0x20], eax
jmp 0x40c902
mov dword [esp + 0x20], eax
jmp 0x40c902
mov dword [ebx + 0x739c], 0
mov edx, dword [esp + 0x64]
jmp 0x40d134
test eax, eax
jne 0x40d1cf
mov dword [ebx + 0x73d0], 1
lea edx, [esi - 1]
mov dword [0x43e0b0], edx
jmp 0x40d1cf
mov dword [esp + 0x20], 0xffffffec
jmp 0x40c902
mov edi, 4
jmp 0x40ce06
mov dword [esp + 0x20], ebp
test edx, edx
jne 0x40d360
mov eax, dword [0x43e0ac]
cmp edi, 1
mov edi, dword [esp + 0x20]
mov dword [0x43e0b0], eax
sbb eax, eax
and eax, 4
add eax, 2
cmp edi, eax
cmovae eax, edi
sub eax, esi
add eax, 3
mov dword [esp + 0x20], eax
jmp 0x40c902
mov edx, edi
jmp 0x40d134
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
cmp ecx, 0xfffffff7
ja 0x40d39d
add ecx, 8
cmp edi, ecx
jae 0x40ce58
jmp 0x40d1f5
mov dword [esp + 0x20], 0xfffffff0
jmp 0x40c902
mov eax, dword [ebx + 0x73d4]
add eax, 1
mov dword [ebx + 0x73d4], eax
cmp eax, 0xf
jle 0x40d18b
cmp dword [esp + 0x28], edx
je 0x40c95b
cmp dword [esp + 0x1c], edi
jne 0x40d18b
mov dword [esp + 0x20], 0xffffffb8
jmp 0x40c902
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov ecx, 0xffffffec
jmp 0x40ce50
lea edx, [esi + 1]
mov dword [0x43e0b0], edx
jmp 0x40c902
mov dword [esp + 0x20], eax
jmp 0x40c902
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov dword [esp + 0x1c], edx
add eax, esi
mov esi, eax
mov eax, dword [esp + 0x18]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
add edx, dword [ebx + 0x73c0]
mov dword [ebx + 0x73c0], edx
mov edi, dword [ebx + 0x735c]
mov esi, edx
jmp 0x40d29e
mov ecx, 0xfffffff2
jmp 0x40ce50
mov edi, dword [esp + 0x18]
cmp edi, 7
jbe 0x40d32a
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
cmp eax, 0xfffffff7
ja 0x40d5d3
add eax, 8
cmp edi, eax
jb 0x40d32a
cmp eax, 0xffffff88
jbe 0x40d5c2
mov dword [esp + 0x20], eax
jmp 0x40c902
cmp dword [esp + 0x18], 8
jbe 0x40d32a
mov ecx, 5
jmp 0x40cf92
mov dword [esp + 0x20], esi
cmp dword [esp + 0x20], 0xfffffff6
jne 0x40c902
cmp dword [esp + 0x4c], 1
jne 0x40c902
jmp 0x40d32a
xor edx, edx
xor ecx, ecx
mov dword [ebp + 0x72bc], eax
lea eax, [ebp + 0x682c]
mov dword [ebp + 0x72f4], edx
mov edi, eax
mov esi, 0x417a80
lea eax, [ebp + 0x10]
mov dword [ebp + 0x72e8], edx
cmp dword [esp + 0x30], 0
mov dword [ebp + 0x72ec], edx
mov dword [ebp + 0x72ac], edx
mov dword [ebp + 0x72b0], edx
mov dword [ebp + 0x72b4], edx
mov dword [ebp + 0x72b8], edx
lea edx, [ebp + 0x1820]
mov dword [ebp + 0x72fc], ecx
mov dword [ebp + 0x72f8], ecx
mov dword [ebp + 0x7390], ecx
mov ecx, 3
mov dword [ebp + 0x2828], 0xc00000c
mov dword [ebp + 0x72f0], 3
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 4], edx
lea edx, [ebp + 0x1018]
mov dword [ebp + 8], edx
lea edx, [ebp + 0x2828]
mov dword [ebp], eax
mov dword [ebp + 0xc], edx
je 0x40d528
cmp dword [esp + 0x20], 0
je 0x40d528
cmp dword [esp + 0x20], 7
jbe 0x40d7a4
mov edi, dword [esp + 0x30]
cmp dword [edi], 0xec30a437
je 0x40d72f
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x72b4], edi
mov dword [ebp + 0x72b0], edi
add eax, edi
mov dword [ebp + 0x72ac], eax
jmp 0x40cf50
xor esi, esi
mov dword [ebx + 0x7398], esi
mov eax, dword [ebx + 0x738c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40d5e6
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], eax
jmp 0x40cedf
mov dword [esp + 0x20], 0xffffffb8
jmp 0x40c902
mov eax, dword [ebp + 0x72ac]
jmp 0x40cf50
lea eax, [ebp + 0x7300]
mov ecx, ebx
mov edx, edi
call fcn.004072c0
jmp 0x40d0a1
cmp ecx, ebx
jb 0x40d61a
test edi, edi
je 0x40d60b
mov eax, dword [esp + 0x18]
mov dword [esp + 8], ebx
mov esi, ebx
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
jmp 0x40d094
lea edx, [eax + 3]
sub ecx, 3
mov dword [esp + 0x18], edx
mov dword [esp + 0x50], ecx
je 0x40d7d2
mov ecx, dword [esp + 0x2c]
sub ecx, edi
cmp ecx, ebx
jb 0x40d7c5
test edi, edi
je 0x40d7df
mov dword [esp + 8], ebx
movzx eax, byte [eax + 3]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_memset
jmp 0x40d094
mov dword [esp + 0x20], 0xffffffb8
jmp 0x40c902
add edx, eax
sub edi, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], edi
jmp 0x40cf03
mov eax, 0xfffffff2
jmp 0x40d3d8
mov dword [esp + 0x20], eax
jmp 0x40d3fa
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x40cedf
mov dword [esp + 0x20], 0xffffffb8
jmp 0x40c902
mov dword [esp + 0x20], 0xffffffec
jmp 0x40c902
test ebx, ebx
jne 0x40d69a
xor esi, esi
jmp 0x40d094
mov dword [esp + 0x20], 0xffffffba
jmp 0x40c902
cmp dword [esp + 0x50], ecx
jne 0x40d0ee
cmp dword [ebp + 0x72e0], 0
je 0x40d667
cmp dword [esp + 0x18], 3
jbe 0x40d68d
cmp dword [ebp + 0x7360], 0
jne 0x40d65d
lea eax, [ebp + 0x7300]
call fcn.004015c0
mov edx, dword [esp + 0x2c]
cmp dword [edx], eax
jne 0x40d6b5
add dword [esp + 0x2c], 4
sub dword [esp + 0x18], 4
mov eax, edi
sub eax, ebx
cmp eax, 0xffffff88
ja 0x40d5dd
sub dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov ebx, edi
mov esi, dword [ebp + 0x735c]
mov dword [esp + 0x4c], eax
jmp 0x40cf03
mov dword [esp + 0x20], 0xffffffea
jmp 0x40c902
mov dword [esp + 0x20], 0xffffffb6
jmp 0x40c902
add eax, 1
jne 0x40d0df
jmp 0x40d631
mov eax, 0xffffffea
jmp 0x40d3d8
mov dword [esp], eax
call sub.msvcrt.dll_free
mov ecx, dword [esp + 0x18]
mov dword [esp], ebp
mov dword [esp + 0x18], ecx
call sub.msvcrt.dll_free
mov ecx, dword [esp + 0x18]
jmp 0x40cec3
test esi, esi
jne 0x40ceb2
jmp 0x40d6cb
cmp dword [esp + 0x18], 0
mov edx, ebx
mov ecx, dword [esp + 0x58]
mov ebx, ebp
jne 0x40d32a
mov edi, dword [esp + 0x3c]
mov eax, edx
sub eax, edi
mov dword [esp + 0x20], eax
cmp eax, 0xffffff88
ja 0x40c902
mov eax, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [ebp + 0x72bc], eax
mov dword [ebp + 0x739c], eax
jmp 0x40d134
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov ecx, esi
mov dword [ebp + 0x7390], edx
mov edx, edi
call fcn.00407a20
mov edx, eax
cmp eax, 0xffffff88
ja 0x40d7f4
mov eax, dword [ebp + 0x72ac]
add edx, edi
mov dword [ebp + 0x72fc], 1
mov dword [ebp + 0x72f8], 1
mov ecx, edx
mov dword [ebp + 0x72b8], eax
sub eax, dword [ebp + 0x72b0]
sub ecx, eax
lea eax, [edi + esi]
mov edi, dword [ebp + 0x735c]
mov dword [ebp + 0x72b0], edx
mov dword [ebp + 0x72b4], ecx
mov dword [ebp + 0x72ac], eax
mov dword [esp + 0x50], edi
jmp 0x40cf50
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
mov dword [ebp + 0x72b4], eax
mov dword [ebp + 0x72b0], eax
add eax, edi
mov dword [ebp + 0x72ac], eax
jmp 0x40cf50
mov dword [esp + 0x20], 0xffffffba
jmp 0x40c902
mov dword [esp + 0x20], 0xffffffb8
jmp 0x40c902
test ebx, ebx
je 0x40d094
mov dword [esp + 0x20], 0xffffffb6
jmp 0x40c902
mov eax, 0xffffffe2
jmp 0x40d3d8
mov dword [esp + 0x20], 0xffffffff
jmp 0x40c902