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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]
sub esp, 0x10
mov dword [esp + 0x2c], ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x28], 3
mov edx, dword [edi]
mov eax, dword [eax + edx*4]
mov edx, esp
movsx ecx, word [eax + 0xa]
mov dword [esp + 0x54], 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]
lea ecx, [ebx + 0x134]
mov dword [edx + 0xc], eax
inc dword [eax]
call fcn.00407e50
mov dword [esp + 0x3c], eax
test eax, eax
je 0x443b6f
mov eax, dword [ebx + 0x148]
xor ecx, ecx
mov dword [esp + 0x84], eax
xor eax, eax
mov dword [esp + 0x64], ecx
mov ecx, dword [edi]
mov dword [esp + 0x70], eax
inc ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x7c], 1
mov dword [esp + 0x4c], 0x48eb74
mov dword [esp + 0x50], 0
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], 0x490c88
mov dword [edi], ecx
cmp word [eax + 8], 0x47
jne 0x443b87
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ecx
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x18], ecx
push eax
push edi
push esi
mov ecx, ebx
call fcn.0040ee18
test eax, eax
js 0x443f5f
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x10]
cmp eax, dword [0x4c42c0]
jg 0x4101fc
test eax, eax
jle 0x4101fc
shl eax, 4
add eax, dword [0x4c42fc]
mov edi, dword [eax + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
cmp word [eax + 8], 0
jne 0x40f938
cmp dword [eax], 0x2b
je 0x443b99
mov edx, 3
xor eax, eax
mov esi, edx
cmp dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
jg 0x40feb0
mov al, byte [ebp + 8]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x28]
cmp esi, dword [edi + 0x18]
jl 0x443f46
cmp esi, dword [edi + 0x14]
jg 0x443f46
cmp edx, ecx
jne 0x443f46
mov eax, dword [edi + 0x10]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], eax
test eax, eax
js 0x443cc0
lea eax, [esp + 0x2c]
mov ecx, 0x4c42a0
push eax
call fcn.0040804c
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x443ccd
cmp dword [edi + 0x14], 1
jge 0x40fc8a
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0
mov dword [ebx + 0x148], eax
mov eax, dword [ebx]
mov dword [esp + 0x94], 1
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov edi, dword [eax + 4]
add edi, ebx
mov byte [esp + 0xa0], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 1
cmp byte [edi + 0xd], 0
mov byte [esp + 0xb8], 0
jne 0x443e9d
push 0x40
call fcn.0041fd2e
mov esi, eax
add esp, 4
test esi, esi
je 0x41023b
lea eax, [esp + 0x88]
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.00409480
lea eax, [esp + 0xa8]
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.00409480
mov byte [esi + 0x30], 0
mov eax, dword [edi + 8]
mov dword [esi + 0x38], eax
mov dword [edi + 8], esi
mov eax, dword [esp + 0x3c]
lea esi, [ebx + 0x15c]
inc dword [edi + 4]
mov edi, dword [ebx + 0xf4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov ebx, dword [esi]
inc eax
push eax
call fcn.00410320
cmp ebx, dword [esi]
jb 0x443eb6
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx]
mov dword [ebx + 0xf4], edi
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 8]
add ecx, ebx
cmp byte [ecx + 0xd], 0
jne 0x410242
cmp byte [eax + 0x10], 0
mov eax, dword [ebp + 0x18]
je 0x410144
cmp byte [ecx + 0xd], 0
mov byte [eax], 1
jne 0x443ec6
mov edi, dword [ecx + 8]
mov esi, dword [ebp + 0x14]
cmp esi, edi
je 0x40fb27
cmp dword [esi + 0xc], 4
je 0x443ed1
mov ecx, esi
call fcn.004093c0
push edi
mov ecx, esi
call fcn.00409480
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov eax, dword [esi + ebx + 8]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x41024a
cmp byte [eax + 0x18], 0
jne 0x443eeb
cmp byte [esi + 0xd], 0
mov eax, dword [esi + 8]
jne 0x410252
cmp byte [eax + 0x30], 0
jne 0x443f02
mov eax, dword [ebx]
mov esi, dword [eax + 4]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x443f1f
cmp byte [esi + 0xc], 0
jne 0x41025a
mov edi, dword [esi + 8]
mov ebx, dword [edi + 0x38]
test edi, edi
je 0x40fb9a
lea ecx, [edi + 0x20]
call fcn.004093c0
mov ecx, edi
call fcn.004093c0
push edi
call fcn.0041fda4
add esp, 4
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x1c]
mov byte [esi + 0xd], 0
dec dword [esi + 4]
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 8]
add ecx, ebx
cmp byte [ecx + 0xd], 0
jne 0x410263
mov edx, dword [esp + 0x9c]
mov dword [eax + 0x14], edx
cmp byte [ecx + 0xd], 0
mov eax, dword [ecx + 8]
jne 0x41026b
mov byte [eax + 0x18], 0
mov eax, dword [ebx]
mov esi, dword [eax + 4]
add esi, ebx
cmp byte [esi + 0xd], 0
jne 0x443f3b
mov ecx, dword [esi + 8]
lea eax, [esp + 0xa8]
add ecx, 0x20
push eax
call fcn.0040978c
cmp byte [esi + 0xd], 0
mov eax, dword [esi + 8]
jne 0x410273
mov ecx, 0x4c42a0
mov byte [eax + 0x30], 0
call fcn.00407faf
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0xa8]
mov dword [ebx + 0x148], eax
xor ebx, ebx
mov dword [esp + 0x2c], ebx
call fcn.004093c0
lea ecx, [esp + 0x88]
call fcn.004093c0
lea ecx, [esp + 0x70]
call fcn.004093c0
mov edi, dword [esp + 0x64]
xor esi, esi
test edi, edi
jne 0x4100bf
push dword [esp + 0x60]
call fcn.0041fda4
mov eax, dword [esp + 0x58]
add esp, 4
xor esi, esi
test eax, eax
jne 0x4100e3
push dword [esp + 0x50]
call fcn.0041fda4
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
sub eax, ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
jmp 0x40fcb0
lea edx, [eax*4]
xor esi, esi
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx]
cmp word [eax + 8], si
je 0x410217
mov edx, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x14], 1
mov ebx, dword [esp + 0x14]
lea edx, [edx*4 + 4]
jmp 0x40fcf0
mov eax, dword [edx + ecx]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x410220
cmp ax, 0x48
je 0x410134
cmp ax, 0x40
jne 0x41013b
test edi, edi
jne 0x41013b
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esp + 0x28]
jg 0x443e24
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov eax, dword [edx + eax]
cmp byte [eax], 0
jne 0x443d46
mov eax, dword [esp + 0x18]
or esi, 0x200
cmp dword [0x4c42a0], 0
mov edx, dword [edx]
mov dword [esp + 0x40], edx
mov eax, dword [ecx + eax*4]
mov edi, dword [eax]
je 0x443d7d
cmp byte [0x4c42a9], 0
jne 0x443d93
mov ebx, dword [0x4c42a4]
push ebx
push edi
mov dword [esp + 0x34], ebx
call fcn.004084c0
test al, al
jne 0x443da0
and esi, 0xff00
push 0x20
mov dword [esp + 0x4c], esi
call fcn.0041fd2e
mov esi, eax
add esp, 4
test esi, esi
je 0x41022d
xor ecx, ecx
mov dword [esi + 4], 0
mov eax, 8
mov dword [esi + 8], 8
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fd2e
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax], cx
push 4
call fcn.0041fd2e
add esp, 4
test eax, eax
je 0x410226
mov dword [eax], 1
mov dword [esi + 0xc], eax
cmp esi, edi
je 0x40fe36
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
cmp eax, 1
jg 0x443dc3
mov ebx, dword [edi + 4]
mov dword [esi + 4], ebx
lea eax, [ebx + 1]
cmp dword [esi + 8], eax
jb 0x443de3
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push dword [edi]
push dword [esi]
call fcn.0041fdb0
mov ebx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x48]
push 0x10
mov dword [esi + 0x10], eax
call fcn.0041fd2e
mov edi, eax
add esp, 4
test edi, edi
je 0x410234
push dword [esp + 0x40]
mov ecx, edi
mov dword [edi + 8], 0
call fcn.00409480
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
push dword [ebx]
push esi
call fcn.004083e0
mov edi, dword [esp + 0x14]
mov dword [ebx], eax
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc ebx
add dword [esp + 0x38], 4
inc eax
add eax, edi
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
cmp ebx, dword [edi + 0x14]
jle 0x40fcb0
jmp 0x40f9bf
cmp edx, ecx
jae 0x41011b
shl esi, 2
inc eax
mov dword [esp + 0x28], eax
xor bl, bl
mov dword [esp + 0x40], 0
mov eax, dword [edi + esi]
cmp word [eax + 8], 0
je 0x443ba7
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov eax, dword [eax + edx*4]
cmp word [eax + 8], 0x33
je 0x40feea
xor bl, bl
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x64]
cmp esi, eax
je 0x41002b
push 1
call fcn.0041fd2e
add esp, 4
test eax, eax
je 0x410203
mov byte [eax], bl
mov ecx, dword [esp + 0x60]
mov dword [ecx + esi*4], eax
inc esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], esi
call fcn.004093c0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x7c], 1
mov dword [esp + 0x70], 0
cmp dword [esp + 0x54], eax
je 0x410077
push 0x10
call fcn.0041fd2e
mov esi, eax
add esp, 4
test esi, esi
je 0x41020a
lea eax, [esp + 0x70]
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.00409480
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x28]
mov dword [edx + ecx*4], esi
inc ecx
test bl, bl
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0x20]
jne 0x443c14
push dword [edx + ecx*4 - 4]
mov ecx, ebx
push eax
push edi
call fcn.00409990
test eax, eax
js 0x443f5f
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
inc esi
mov dword [esp + 0x10], esi
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi*4]
cmp word [eax + 8], 0x41
je 0x410163
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmp edx, ecx
je 0x410117
mov eax, dword [edi + 4]
mov eax, dword [eax + edx*4]
cmp word [eax + 8], 0x40
jne 0x443c5e
lea eax, [edx + 1]
cmp eax, ecx
je 0x443c5e
mov edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], edx
mov edi, dword [eax + 4]
mov eax, dword [edi + esi*4]
cmp word [eax + 8], 0x40
jne 0x410008
inc esi
mov dword [esp + 0x10], esi
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [ebx + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
jl 0x40feb0
jmp 0x41011b
add eax, eax
mov dword [esp + 0x48], eax
cmp eax, 8
jae 0x41003f
mov eax, 8
mov dword [esp + 0x48], eax
xor ecx, ecx
mov dword [esp + 0x68], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fd2e
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x41019d
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x64]
jmp 0x40fefa
add eax, eax
mov dword [esp + 0x38], eax
cmp eax, 8
jae 0x41008b
mov eax, 8
mov dword [esp + 0x38], eax
xor ecx, ecx
mov dword [esp + 0x58], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fd2e
mov edx, dword [esp + 0x54]
add esp, 4
mov esi, eax
test edx, edx
jne 0x4101c8
mov dword [esp + 0x50], esi
jmp 0x40ff41
mov ebx, dword [esp + 0x60]
push dword [ebx + esi*4]
call fcn.0041fda4
mov dword [ebx + esi*4], 0
add esp, 4
inc esi
cmp esi, edi
jb 0x4100c3
mov ebx, dword [esp + 0x2c]
jmp 0x40fc59
mov ecx, dword [esp + 0x50]
mov edi, dword [ecx + esi*4]
test edi, edi
je 0x410106
mov ecx, edi
call fcn.004096e0
push edi
call fcn.0041fda4
mov eax, dword [esp + 0x58]
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword [ecx + esi*4], 0
inc esi
cmp esi, eax
jb 0x4100e7
jmp 0x40fc73
mov eax, dword [esp + 0x28]
cmp eax, 1
mov al, byte [ebp + 8]
jne 0x40f961
test al, al
je 0x40f961
jmp 0x443c77
dec edi
js 0x40fd1d
inc ebx
add edx, 4
jmp 0x40fcf0
mov esi, dword [ebp + 0x14]
mov ecx, esi
mov byte [eax], 0
call fcn.004093c0
mov dword [esi + 0xc], 1
mov dword [esi], 0
jmp 0x40fb27
inc esi
xor edx, edx
jmp 0x410170
mov eax, dword [ecx + esi*4]
movzx eax, word [eax + 8]
cmp ax, 0x47
je 0x410211
cmp ax, 0x48
je 0x4101f7
cmp ax, 0x40
je 0x410190
inc esi
jmp 0x410170
test edx, edx
jne 0x41018d
mov dword [esp + 0x10], esi
jmp 0x40ffc0
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x41006a
shl ecx, 2
push ecx
push eax
push esi
call fcn.0041fdb0
add esp, 0xc
push dword [esp + 0x60]
call fcn.0041fda4
add esp, 4
jmp 0x41006a
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4100b6
lea ecx, [eax*4]
push ecx
push edx
push esi
call fcn.0041fdb0
add esp, 0xc
push dword [esp + 0x50]
call fcn.0041fda4
add esp, 4
jmp 0x4100b6
dec edx
js 0x410194
jmp 0x41018d
xor eax, eax
jmp 0x40f91f
xor eax, eax
jmp 0x40ff0e
xor esi, esi
jmp 0x40ff68
inc edx
jmp 0x41018d
mov edi, dword [esp + 0x18]
jmp 0x443d17
inc edi
jmp 0x41013b
xor eax, eax
jmp 0x40fdf4
xor esi, esi
jmp 0x40fdf7
xor edi, edi
jmp 0x40fe63
xor esi, esi
jmp 0x40fa97
mov eax, dword [eax + 0x38]
jmp 0x40faea
mov eax, dword [eax + 0x38]
jmp 0x40fb3c
mov eax, dword [eax + 0x38]
jmp 0x40fb53
mov byte [esi + 0xd], 1
jmp 0x40fba5
mov eax, dword [eax + 0x38]
jmp 0x40fbbd
mov eax, dword [eax + 0x38]
jmp 0x40fbd4
mov eax, dword [eax + 0x38]
jmp 0x40fc09
push dword [esp + 0x44]
mov ecx, ebx
push 0x85
call fcn.00468bc2
or eax, 0xffffffff
jmp 0x40fc81
push dword [esp + 0x44]
mov ecx, ebx
push 0x6f
call fcn.00468bc2
jmp 0x443f5f
mov edx, 4
mov dword [esp + 0x18], edx
jmp 0x40f93d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + eax + 4]
cmp word [eax + 8], 0x33
je 0x443bd6
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + esi + 4]
mov eax, dword [eax + esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
mov ecx, dword [esp + 0x10]
je 0x443c3b
mov eax, dword [esp + 0x6c]
mov eax, dword [esi + eax]
mov eax, dword [eax]
cmp eax, 0x24
jne 0x443be8
mov bl, 1
jmp 0x443bf5
cmp eax, 0x1e
jne 0x443c3b
mov dword [esp + 0x40], 0x100
inc ecx
mov eax, dword [edi + ecx*4]
lea esi, [ecx*4]
mov dword [esp + 0x10], ecx
cmp word [eax + 8], 0
mov eax, dword [esp + 0x6c]
je 0x443bb6
jmp 0x40fed8
push 0
push 1
push dword [esp + 0x4c]
push dword [edx + ecx*4 - 4]
mov ecx, ebx
push eax
push edi
call fcn.004792ae
test eax, eax
js 0x443f5f
mov esi, dword [esp + 0x10]
inc esi
jmp 0x410194
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4 + 4]
mov ecx, dword [esp + 0x1c]
movsx eax, word [eax + 0xa]
push eax
push 0x91
call fcn.00468bc2
jmp 0x443f5f
mov eax, dword [edi + 4]
mov ecx, ebx
mov eax, dword [eax + edx*4]
movsx eax, word [eax + 0xa]
push eax
push 0x6f
call fcn.00468bc2
jmp 0x443f5f
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004791a1
test eax, eax
jne 0x443cb3
lea ecx, [esp + 0x5c]
call fcn.0041f64b
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x443cb3
mov byte [esp + 0x37], 0
mov esi, eax
lea eax, [esp + 0x37]
push eax
lea ecx, [esp + 0x60]
call fcn.0045573e
dec esi
jne 0x443ca2
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
jmp 0x40f95e
mov dword [esp + 0x30], 0
jmp 0x40f99a
mov eax, dword [esi + 0x18]
test eax, eax
je 0x443cde
push eax
lea ecx, [esp + 0x30]
call fcn.0040827b
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x443cef
push eax
lea ecx, [esp + 0x30]
call fcn.0040827b
cmp byte [esi + 0x10], 0
jne 0x443d02
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x443d02
push ecx
call fcn.0045509d
mov ecx, esi
call fcn.00405832
push esi
call fcn.0041fda4
add esp, 4
jmp 0x40f9b5
mov eax, dword [ecx + edx]
mov eax, dword [eax]
cmp eax, 0x24
je 0x443d2b
cmp eax, 0x1e
jne 0x443d2c
mov esi, 0x100
inc edi
mov eax, dword [ecx + edi*4]
lea edx, [edi*4]
cmp word [eax + 8], 0
je 0x443d17
mov dword [esp + 0x18], edi
jmp 0x40fccd
mov eax, dword [edx]
cmp dword [eax + 0xc], 6
jne 0x443d52
mov edx, dword [eax]
jmp 0x443d54
xor edx, edx
mov edi, dword [esp + 0x18]
or esi, 0x200
push 1
push esi
push edx
mov eax, dword [ecx + edi*4]
push dword [eax]
call fcn.00464661
test al, al
je 0x443e7e
mov edi, dword [esp + 0x14]
jmp 0x40fe86
push esi
push edx
push edi
mov ecx, 0x4c4290
call fcn.004082ef
mov edi, dword [esp + 0x14]
jmp 0x40fe86
mov eax, dword [0x4c42a4]
mov ebx, dword [eax + 8]
jmp 0x40fd78
mov ecx, dword [ebx]
test ecx, ecx
je 0x40fd8b
push dword [esp + 0x40]
mov ecx, dword [ecx + 0x14]
call fcn.0040978c
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x40fe86
dec eax
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
inc dword [eax]
jmp 0x40fe36
push eax
call fcn.00407d12
mov dword [esi + 8], eax
mov eax, dword [esi]
test eax, eax
je 0x443dfb
push eax
call fcn.0041fda4
add esp, 4
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fd2e
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov word [eax + ebx*2], cx
jmp 0x40fe1b
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea eax, [ecx + 2]
mov dword [esp + 0x2c], eax
lea eax, [edi + ecx]
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x2c]
call fcn.00409990
test eax, eax
js 0x443f5f
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x70]
push 1
or esi, 0x200
push esi
push eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
push dword [eax]
call fcn.004081f9
jmp 0x40fe86
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov eax, dword [eax + edi*4]
movsx eax, word [eax + 0xa]
push eax
push 0x79
call fcn.00468bc2
jmp 0x443f5f
mov ecx, dword [edi + 8]
lea eax, [esp + 0x88]
push eax
call fcn.0046885f
mov byte [edi + 0xd], 0
jmp 0x40faa0
mov ecx, esi
call fcn.0041eb32
cmp ebx, dword [esi]
jb 0x443eb6
jmp 0x40facb
mov eax, dword [ecx + 8]
mov edi, dword [eax + 0x38]
jmp 0x40fb07
cmp dword [edi + 0xc], 4
jne 0x40fb18
push dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.00407d2b
jmp 0x40fb27
lea ecx, [esi + 4]
call fcn.0041ed83
mov eax, dword [eax + 0x14]
mov dword [esp + 0x9c], eax
jmp 0x40fb46
lea ecx, [esi + 4]
call fcn.0041ed83
add eax, 0x20
lea ecx, [esp + 0xa8]
push eax
call fcn.0040978c
jmp 0x40fb5d
mov ecx, dword [esi + 8]
mov edi, dword [ecx + 0x38]
test ecx, ecx
je 0x443f2f
push ecx
call fcn.0041ee05
mov dword [esi + 8], edi
mov byte [esi + 0xd], 0
jmp 0x40fb6e
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x38]
jmp 0x40fbec
test al, al
jne 0x443f59
push dword [esp + 0x44]
mov ecx, ebx
push 0x70
call fcn.00468bc2
jmp 0x443f5f
mov eax, dword [ebp + 0x10]
add dword [eax], 0xfffffffe
or ebx, 0xffffffff
mov dword [esp + 0x2c], ebx
jmp 0x40fc42