Function at 0x40c6e0
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 0x40d46a
cmp edi, eax
jb 0x40ca9b
cmp dword [ebx + 0x73d8], 1
mov esi, dword [ebx + 0x739c]
je 0x40ca10
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.0x40c785
jmp dword [esi*4 + 0x4171d4]
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 0x40c9f5
mov edx, dword [ebx + 0x73a4]
sub edx, eax
cmp edx, ebp
jb 0x40d3bb
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
sub esi, ecx
cmp esi, ebp
cmova esi, ebp
test esi, esi
jne 0x40cd60
add eax, esi
add dword [esp + 0x18], esi
mov dword [ebx + 0x73a8], eax
cmp esi, ebp
jb 0x40d270
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.0040c5f0
cmp eax, 0xffffff88
ja 0x40d376
mov esi, dword [ebx + 0x739c]
jmp 0x40c77c
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 0x40d37f
test eax, eax
je 0x40ca58
mov ecx, eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, esi
sub edx, eax
cmp edx, ecx
jb 0x40d3d2
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 0x40c77c
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 0x40c82e
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 0x40ce20
add edi, ecx
add eax, ecx
mov dword [esp + 0x64], edi
mov dword [ebx + 0x73b8], eax
cmp ebp, esi
jb 0x40d40a
xor edi, edi
mov edx, dword [ebx + 0x73b4]
cmp edx, dword [ebx + 0x72c0]
mov dword [ebx + 0x739c], 2
sbb edi, dword [ebx + 0x72c4]
jb 0x40cd00
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 0x40c9ba
mov ecx, dword [ebx + 0x72f0]
test ecx, ecx
jne 0x40c9ba
test eax, eax
mov esi, 1
cmovne esi, eax
cmp esi, edi
cmova esi, edi
test esi, esi
je 0x40d388
cmp eax, esi
jae 0x40ccc8
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x1c], ecx
je 0x40d270
mov eax, dword [ebx + 0x73a8]
mov ebp, edi
mov dword [ebx + 0x739c], 3
sub ebp, eax
cmp edx, 7
jne 0x40c7af
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub esi, edx
cmp esi, ebp
cmova esi, ebp
jmp 0x40c7d6
test esi, esi
je 0x40c74c
cmp dword [ebx + 0x73dc], edx
sete cl
cmp dword [ebx + 0x73e4], eax
sete al
test cl, al
je 0x40ca3a
cmp dword [ebx + 0x73e0], edi
je 0x40c74c
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 0x40cab8
cmp dword [ebx + 0x72d4], 1
je 0x40cab8
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 0x40ce80
cmp dword [ebx + 0x73d8], 1
jne 0x40cab8
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 0x40cb3a
cmp eax, 1
je 0x40cb30
mov esi, dword [ebx + 0x7388]
test esi, esi
je 0x40cb0a
mov eax, dword [esi]
mov edi, dword [esi + 0x6ab4]
mov edx, dword [esi + 0x6ab8]
test eax, eax
je 0x40d260
test edi, edi
je 0x40ce49
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 0x40cb40
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 0x40cd30
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 0x40d431
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 0x40cc40
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 0x40d250
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 0x40cd88
mov eax, dword [ebx + 0x2741c]
add eax, 1
mov dword [ebx + 0x2741c], eax
test dl, dl
je 0x40d240
mov eax, dword [ebx + 0x7380]
test eax, eax
je 0x40cda8
sub eax, 0x27420
cmp eax, esi
jb 0x40ce0e
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.0x40c785.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.0040c5f0
cmp eax, 0xffffff88
ja 0x40ce71
add edi, esi
mov esi, dword [ebx + 0x739c]
mov dword [esp + 0x18], edi
jmp 0x40c77c
add eax, dword [ebx + 0x72d0]
cmp edx, eax
jae case.0x40c785.2
mov dword [ebx + 0x73bc], 0
mov dword [ebx + 0x73b8], 0
jmp case.0x40c785.2
mov ecx, dword [ebx + 0x73c0]
mov edx, dword [esp + 0x2c]
mov eax, ebx
call fcn.00406920
cmp eax, 0xffffff88
ja 0x40d497
mov edx, 3
mov eax, 2
jmp 0x40cb66
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 0x40c7d6
mov dword [ebx + 0x2741c], 0
test dl, dl
je 0x40ccb3
mov eax, dword [ebx + 0x7380]
test eax, eax
jne 0x40cc8c
mov edx, dword [ebx + 0x73a0]
mov eax, dword [ebx + 0x7374]
test edx, edx
je 0x40cdd5
mov ecx, dword [ebx + 0x7370]
test ecx, ecx
je 0x40ce5e
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 0x40d320
mov dword [esp + 4], esi
mov dword [esp], eax
call edx
mov dword [ebx + 0x73a0], eax
test eax, eax
jne 0x40cc9f
mov dword [esp + 0x20], 0xffffffc0
jmp 0x40ca42
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 0x40c947
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp], esi
call sub.msvcrt.dll_free
jmp 0x40cb0a
mov dword [esp], edx
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x7374]
jmp 0x40cdd5
mov dword [esp + 0x20], eax
jmp 0x40ca42
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 0x40cec7
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
and eax, 0xfffffff0
cmp eax, 0x184d2a50
je 0x40d411
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 0x40cf90
test eax, eax
jne 0x40d335
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 0x40d32d
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 0x40d3c8
cmp eax, 3
je 0x40d477
mov eax, edi
shr eax, 3
lea edi, [eax + 3]
cmp edx, edi
jb 0x40d32d
sub edx, 3
add esi, edi
sub edx, eax
test ecx, ecx
je 0x40cf0c
cmp dword [esp + 0x98], 0
mov eax, esi
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
je 0x40cf7a
mov ecx, 0xffffffb8
cmp edx, 3
jbe 0x40cf90
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 0x40cab8
mov eax, dword [ebx + 0x7398]
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], ebp
cmp eax, 0xffffffff
je 0x40d632
sub eax, 1
je 0x40d62a
mov ebp, dword [ebx + 0x7388]
test ebp, ebp
je 0x40d003
mov eax, dword [ebp]
mov esi, dword [ebp + 0x6ab4]
mov edi, dword [ebp + 0x6ab8]
test eax, eax
je 0x40d820
mov dword [esp + 0x18], ecx
test esi, esi
je 0x40d7ff
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 0x40d82a
mov edi, dword [esp + 0x2c]
mov edi, dword [edi]
mov edx, edi
mov dword [esp + 0x54], edi
and edx, 0xfffffff0
cmp edx, 0x184d2a50
je 0x40d4e7
mov edx, dword [esp + 0x34]
test edx, edx
je 0x40d555
mov eax, ebp
call fcn.00407130
mov eax, dword [ebp + 0x72ac]
cmp eax, ebx
je 0x40d0b6
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 0x40d521
cmp dword [esp + 0x18], 4
jbe 0x40d46a
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 + 0x417f80]
add esi, dword [edi*4 + 0x417f90]
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 0x40d536
lea eax, [esi + 3]
cmp dword [esp + 0x18], eax
jb 0x40d65b
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov eax, ebp
mov edx, edi
call fcn.00406920
cmp eax, 0xffffff88
ja 0x40d71d
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 0x40d6f5
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 0x40d6b2
cmp esi, 3
je 0x40d73e
add eax, 3
lea edx, [ecx - 3]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], edx
cmp edx, ebx
jb 0x40d731
mov ecx, dword [esp + 0x2c]
sub ecx, edi
cmp esi, 2
jne 0x40d687
mov dword [esp], eax
mov edx, edi
mov eax, ebp
mov dword [esp + 4], ebx
call fcn.00408b40
cmp eax, 0xffffff88
ja 0x40d71d
mov esi, ebx
mov ebx, eax
cmp dword [ebp + 0x7364], 0
jne 0x40d673
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 0x40d15a
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 0x40d7e7
mov ecx, edi
sub ecx, ebx
mov eax, ecx
cdq
cmp esi, edx
je 0x40d767
mov eax, 0xffffffec
jmp 0x40d518
cmp eax, 0x7f
jbe 0x40ccb3
jmp 0x40cc7e
lea esi, [edi - 0x10]
mov ebp, 0xfffffff0
jmp 0x40cc40
test edi, edi
jne 0x40cb01
jmp 0x40ce51
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 0x40d2c1
cmp dword [esp + 0x38], edx
je 0x40d43e
mov dword [ebx + 0x73d4], 0
mov eax, dword [ebx + 0x72bc]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x40d340
mov eax, dword [ebx + 0x73d0]
mov edi, dword [ebx + 0x73b8]
cmp dword [ebx + 0x73bc], edi
jne 0x40d39b
test eax, eax
je 0x40ca42
cmp esi, dword [0x43e0ac]
jb 0x40d489
mov dword [ebx + 0x739c], 2
mov dword [esp + 0x20], 1
jmp 0x40ca42
mov dword [esp], esi
call sub.msvcrt.dll_malloc
jmp 0x40ce00
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov ecx, 0xffffffb8
jmp 0x40cf90
mov eax, dword [ebx + 0x72f4]
xor edx, edx
sub eax, 2
cmp eax, 5
ja 0x40d361
cmp dword [eax*4 + 0x417b0c], 2
mov edx, 3
je 0x40d361
xor edx, edx
mov eax, dword [esp + 0x20]
sub eax, dword [ebx + 0x73a8]
add eax, edx
mov dword [esp + 0x20], eax
jmp 0x40ca42
mov dword [esp + 0x20], eax
jmp 0x40ca42
mov dword [esp + 0x20], eax
jmp 0x40ca42
mov dword [ebx + 0x739c], 0
mov edx, dword [esp + 0x64]
jmp 0x40d274
test eax, eax
jne 0x40d30f
mov dword [ebx + 0x73d0], 1
lea edx, [esi - 1]
mov dword [0x43e0b0], edx
jmp 0x40d30f
mov dword [esp + 0x20], 0xffffffec
jmp 0x40ca42
mov edi, 4
jmp 0x40cf46
mov dword [esp + 0x20], ebp
test edx, edx
jne 0x40d4a0
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 0x40ca42
mov edx, edi
jmp 0x40d274
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
cmp ecx, 0xfffffff7
ja 0x40d4dd
add ecx, 8
cmp edi, ecx
jae 0x40cf98
jmp 0x40d335
mov dword [esp + 0x20], 0xfffffff0
jmp 0x40ca42
mov eax, dword [ebx + 0x73d4]
add eax, 1
mov dword [ebx + 0x73d4], eax
cmp eax, 0xf
jle 0x40d2cb
cmp dword [esp + 0x28], edx
je 0x40ca9b
cmp dword [esp + 0x1c], edi
jne 0x40d2cb
mov dword [esp + 0x20], 0xffffffb8
jmp 0x40ca42
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov ecx, 0xffffffec
jmp 0x40cf90
lea edx, [esi + 1]
mov dword [0x43e0b0], edx
jmp 0x40ca42
mov dword [esp + 0x20], eax
jmp 0x40ca42
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 0x40d3de
mov ecx, 0xfffffff2
jmp 0x40cf90
mov edi, dword [esp + 0x18]
cmp edi, 7
jbe 0x40d46a
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
cmp eax, 0xfffffff7
ja 0x40d713
add eax, 8
cmp edi, eax
jb 0x40d46a
cmp eax, 0xffffff88
jbe 0x40d702
mov dword [esp + 0x20], eax
jmp 0x40ca42
cmp dword [esp + 0x18], 8
jbe 0x40d46a
mov ecx, 5
jmp 0x40d0d2
mov dword [esp + 0x20], esi
cmp dword [esp + 0x20], 0xfffffff6
jne 0x40ca42
cmp dword [esp + 0x4c], 1
jne 0x40ca42
jmp 0x40d46a
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, 0x417b00
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 0x40d668
cmp dword [esp + 0x20], 0
je 0x40d668
cmp dword [esp + 0x20], 7
jbe 0x40d8e4
mov edi, dword [esp + 0x30]
cmp dword [edi], 0xec30a437
je 0x40d86f
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x72b4], edi
mov dword [ebp + 0x72b0], edi
add eax, edi
mov dword [ebp + 0x72ac], eax
jmp 0x40d090
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 0x40d726
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], eax
jmp 0x40d01f
mov dword [esp + 0x20], 0xffffffb8
jmp 0x40ca42
mov eax, dword [ebp + 0x72ac]
jmp 0x40d090
lea eax, [ebp + 0x7300]
mov ecx, ebx
mov edx, edi
call fcn.004072c0
jmp 0x40d1e1
cmp ecx, ebx
jb 0x40d75a
test edi, edi
je 0x40d74b
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 0x40d1d4
lea edx, [eax + 3]
sub ecx, 3
mov dword [esp + 0x18], edx
mov dword [esp + 0x50], ecx
je 0x40d912
mov ecx, dword [esp + 0x2c]
sub ecx, edi
cmp ecx, ebx
jb 0x40d905
test edi, edi
je 0x40d91f
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 0x40d1d4
mov dword [esp + 0x20], 0xffffffb8
jmp 0x40ca42
add edx, eax
sub edi, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], edi
jmp 0x40d043
mov eax, 0xfffffff2
jmp 0x40d518
mov dword [esp + 0x20], eax
jmp 0x40d53a
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x40d01f
mov dword [esp + 0x20], 0xffffffb8
jmp 0x40ca42
mov dword [esp + 0x20], 0xffffffec
jmp 0x40ca42
test ebx, ebx
jne 0x40d7da
xor esi, esi
jmp 0x40d1d4
mov dword [esp + 0x20], 0xffffffba
jmp 0x40ca42
cmp dword [esp + 0x50], ecx
jne 0x40d22e
cmp dword [ebp + 0x72e0], 0
je 0x40d7a7
cmp dword [esp + 0x18], 3
jbe 0x40d7cd
cmp dword [ebp + 0x7360], 0
jne 0x40d79d
lea eax, [ebp + 0x7300]
call fcn.004015c0
mov edx, dword [esp + 0x2c]
cmp dword [edx], eax
jne 0x40d7f5
add dword [esp + 0x2c], 4
sub dword [esp + 0x18], 4
mov eax, edi
sub eax, ebx
cmp eax, 0xffffff88
ja 0x40d71d
sub dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov ebx, edi
mov esi, dword [ebp + 0x735c]
mov dword [esp + 0x4c], eax
jmp 0x40d043
mov dword [esp + 0x20], 0xffffffea
jmp 0x40ca42
mov dword [esp + 0x20], 0xffffffb6
jmp 0x40ca42
add eax, 1
jne 0x40d21f
jmp 0x40d771
mov eax, 0xffffffea
jmp 0x40d518
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 0x40d003
test esi, esi
jne 0x40cff2
jmp 0x40d80b
cmp dword [esp + 0x18], 0
mov edx, ebx
mov ecx, dword [esp + 0x58]
mov ebx, ebp
jne 0x40d46a
mov edi, dword [esp + 0x3c]
mov eax, edx
sub eax, edi
mov dword [esp + 0x20], eax
cmp eax, 0xffffff88
ja 0x40ca42
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 0x40d274
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 0x40d934
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 0x40d090
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 0x40d090
mov dword [esp + 0x20], 0xffffffba
jmp 0x40ca42
mov dword [esp + 0x20], 0xffffffb8
jmp 0x40ca42
test ebx, ebx
je 0x40d1d4
mov dword [esp + 0x20], 0xffffffb6
jmp 0x40ca42
mov eax, 0xffffffe2
jmp 0x40d518
mov dword [esp + 0x20], 0xffffffff
jmp 0x40ca42