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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458e93
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x532094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
lea edi, [esi*4]
mov byte [eax], 0
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 8]
mov dword [ebp - 0x28], edi
mov eax, dword [eax + edi]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
lea eax, [edx + eax*8]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
push eax
push esi
mov ecx, ebx
call fcn.00412b50
cmp dword [ebp - 0x64], 0x20
mov eax, dword [ebx + 0x34]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x50], eax
jbe 0x40ebfa
mov ebx, 0x80004001
jmp 0x40f712
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0xac], xmm0
movups xmmword [ebp - 0x94], xmm0
movups xmmword [ebp - 0x84], xmm0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040e930
lea ecx, [ebp - 0xbc]
call fcn.00415910
test al, al
jne 0x40ec57
mov ebx, 0x80004001
jmp 0x40f6d0
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x28]
mov byte [ebp + 0x1b], 1
movzx eax, byte [eax + esi]
add eax, dword [ecx + edi]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [edx + eax*8]
mov edx, dword [edx + eax*8 + 4]
test ecx, ecx
je 0x40eca5
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp ecx, edx
jb 0x40ec92
ja 0x40ec88
cmp eax, esi
jbe 0x40ec94
mov ebx, 0x80004005
jmp 0x40f6d0
cmp eax, esi
jne 0x40eca0
cmp ecx, edx
jne 0x40eca0
mov byte [ebp + 0x1b], 1
jmp 0x40eca5
xor al, al
mov byte [ebp + 0x1b], al
mov ebx, dword [ebp - 0x18]
cmp byte [ebx], 0
je 0x40ecc5
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.0040e840
test al, al
jne 0x40ef74
mov byte [ebx], 0
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x40ecdc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x58], 0
push 0x84
call fcn.004475ae
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x40edde
mov dword [esi + 4], 0x45b650
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov byte [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi], 0x45b674
mov dword [esi + 4], 0x45b680
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
jmp 0x40ede0
xor esi, esi
mov dword [ebx + 0x50], esi
test esi, esi
je 0x40eded
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x40edfa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x58], esi
lea edx, [ebp - 0xbc]
mov ecx, dword [ebx + 0x50]
push edx
lea eax, [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebx + 0x54], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, eax
test ebx, ebx
jne 0x40f6d0
xor edi, edi
cmp dword [ebp - 0x64], edi
jbe 0x40eef1
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp - 0x68]
add esi, ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
push 0
push dword [esi + 4]
push dword [esi]
call fcn.00416c60
mov ecx, dword [ebp - 0x38]
mov ebx, eax
mov edx, dword [ebp - 0x34]
test ebx, ebx
jne 0x40ee76
mov eax, dword [esi + 0x10]
cmp eax, 1
jne 0x40ee9e
test ecx, ecx
jne 0x40eea7
mov ebx, 0x80004001
mov byte [ebp - 4], 3
test edx, edx
je 0x40ee87
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x40f6d0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x40f6d0
test edx, edx
je 0x40ee71
cmp dword [ebp - 0x2c], eax
jne 0x40ee71
mov ebx, dword [ebp - 0x18]
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x40eec7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x40eed8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x24]
inc edi
add ecx, 0x18
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], ecx
cmp edi, dword [ebp - 0x64]
jb 0x40ee32
jmp 0x40eef4
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0xbc]
lea esi, [ebx + 4]
push eax
mov ecx, esi
call fcn.0040e5e0
add esi, 0x40
lea eax, [ebp - 0x7c]
cmp eax, esi
je 0x40ef6e
mov edi, dword [ebp - 0x78]
cmp edi, dword [esi + 8]
jbe 0x40ef52
push dword [esi]
call fcn.004475f5
xor ecx, ecx
mov dword [esi + 8], 0
mov eax, edi
mov dword [esi + 4], 0
mov edx, 8
mov dword [esi], 0
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004475ec
add esp, 8
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 4], edi
test edi, edi
je 0x40ef6e
lea eax, [edi*8]
push eax
push dword [ebp - 0x7c]
push dword [esi]
call fcn.004488a0
add esp, 0xc
mov edi, dword [ebp - 0x28]
mov byte [ebx], 1
mov ecx, dword [ebx + 0x54]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ebx, eax
test ebx, ebx
jne 0x40f6d0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x44], ebx
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + edi]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x64], ebx
jbe 0x40f298
xor ecx, ecx
shl eax, 3
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
nop
mov edi, dword [ebp - 0x68]
add edi, ecx
mov ecx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ecx + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [eax]
test esi, esi
jne 0x40efca
mov esi, dword [eax + 4]
cmp byte [ebp - 0x11], 0
jne 0x40f06d
cmp byte [ebp + 0x30], 0
je 0x40f022
mov dword [ebp - 0x10], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x45c1f8
push esi
mov byte [ebp - 4], 7
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40f014
push dword [ebp + 0x34]
mov ecx, dword [eax]
push eax
mov byte [ebp - 0x11], 1
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40f2f6
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 9
test eax, eax
je 0x40f022
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x45c228
push esi
mov byte [ebp - 4], 0xa
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40f05f
push dword [ebp + 0x3c]
mov ecx, dword [eax]
push dword [ebp + 0x38]
mov byte [ebp - 0x11], 1
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40f2fc
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x40f06d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x45c1c8
push esi
mov byte [ebp - 4], 0xd
call dword [eax]
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0xc]
test eax, eax
je 0x40f0b5
mov ecx, dword [eax]
push edx
push dword [edi + 8]
push eax
call dword [ecx + 0xc]
mov ebx, eax
cmp ebx, 0x80070057
je 0x40f302
test ebx, ebx
jne 0x40f307
mov eax, dword [ebp - 0x10]
jmp 0x40f0bd
test edx, edx
jne 0x40f326
mov byte [ebp - 4], 0x11
test eax, eax
je 0x40f0cb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x10], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x45c208
push esi
mov byte [ebp - 4], 0x12
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40f10c
mov cl, byte [ebp + 0x1b]
mov edx, dword [eax]
mov byte [ebp - 0x6c], cl
movzx ecx, cl
push ecx
push eax
call dword [edx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40f30c
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x40f11a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [edi + 0x10]
xor edi, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x70], edi
test ebx, ebx
je 0x40f14d
xor ecx, ecx
mov eax, ebx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004475ec
mov edi, eax
add esp, 4
mov dword [ebp - 0x70], edi
xor esi, esi
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x48], esi
test ebx, ebx
je 0x40f17a
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004475ec
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x3c], 0
test ebx, ebx
je 0x40f23b
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 0x5c]
xor eax, eax
test ecx, ecx
je 0x40f1aa
mov edx, dword [ebp - 0x60]
nop
cmp dword [edx + eax*8], ebx
je 0x40f1d9
inc eax
cmp eax, ecx
jb 0x40f1a0
mov eax, dword [ebp - 0x54]
xor edx, edx
test eax, eax
je 0x40f1c0
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + edx*4], ebx
je 0x40f1f8
inc edx
cmp edx, eax
jb 0x40f1b6
push esi
call fcn.004475f5
push edi
call fcn.004475f5
add esp, 8
mov ebx, 0x80004001
jmp 0x40f6d0
test eax, eax
js 0x40f1aa
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx + eax*8 + 4]
add eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x28]
lea eax, [ecx + eax*8]
mov ecx, dword [ebp - 0x10]
mov dword [esi + edx*4], eax
jmp 0x40f224
test edx, edx
js 0x40f1c0
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [eax + edx*8 + 8]
sub ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 0xc]
sbb eax, dword [ebx + edx*8 + 4]
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x40]
mov dword [edx], ecx
mov ecx, edx
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 4], eax
mov dword [esi + edx*4], ecx
inc edx
add ecx, 8
inc ebx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x40], ebx
cmp edx, dword [ebp - 0x1c]
jb 0x40f193
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp - 0x44]
test eax, eax
je 0x40f251
cmp ebx, dword [ebp - 0x98]
jne 0x40f251
mov edx, eax
jmp 0x40f25a
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x28]
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x6c]
push esi
mov ecx, dword [eax + 0x54]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x18]
push esi
call fcn.004475f5
push edi
mov byte [ebp - 4], 1
call fcn.004475f5
mov ecx, dword [ebp - 0x28]
inc ebx
add dword [ebp - 0x24], 8
add ecx, 0x18
add esp, 8
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x28], ecx
cmp ebx, dword [ebp - 0x64]
jb 0x40efb0
cmp dword [ebp + 0x20], 0
je 0x40f2b2
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x54]
mov al, byte [ebp + 0x1b]
xor al, 1
movzx eax, al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
xor eax, eax
xor esi, esi
mov dword [ebp + 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp + 0x14], esi
mov dword [ebp - 0x30], esi
mov dword [ebp + 0x1c], eax
mov dword [ebp - 0x2c], eax
push 0x30
mov byte [ebp - 4], 0x17
call fcn.004475ae
mov edi, eax
mov dword [ebp + 0x18], eax
add esp, 4
test edi, edi
je 0x40f342
mov dword [edi + 4], esi
lea eax, [edi + 0x18]
mov dword [edi], 0x45b6b4
push eax
mov dword [edi + 8], esi
call fcn.004084a0
jmp 0x40f347
mov byte [ebp - 4], 8
jmp 0x40f310
mov byte [ebp - 4], 0xb
jmp 0x40f310
mov ebx, 0x80004001
mov eax, dword [ebp - 0x10]
jmp 0x40f32b
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40f6d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40f6d0
mov ebx, 0x80004001
mov byte [ebp - 4], 0x10
test eax, eax
je 0x40f6d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40f6d0
xor edi, edi
mov dword [ebp + 0x18], edi
mov dword [ebp - 0x70], edi
test edi, edi
je 0x40f354
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0x18
cmp eax, 1
jbe 0x40f3a5
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x10]
push eax
mov eax, dword [ebp - 0x20]
push 0
mov edx, dword [ebx]
mov ecx, dword [eax]
add ecx, dword [ebp + 0xc]
mov eax, dword [eax + 4]
adc eax, dword [ebp + 0x10]
push eax
push ecx
push ebx
call dword [edx + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x40f6ba
mov ebx, dword [ebp + 8]
push ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40f39f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 8], ebx
mov eax, dword [ebp - 0x54]
xor ecx, ecx
mov dword [ebp + 0x3c], ecx
test eax, eax
je 0x40f5ce
mov ebx, dword [ebp - 0x20]
nop word [eax + eax]
mov dword [ebp + 0x34], 0
mov edx, dword [ebp - 0x20]
shl ecx, 3
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 0x1a
mov ebx, dword [ecx + ebx]
add ebx, dword [ebp + 0xc]
mov ecx, dword [ecx + edx + 4]
adc ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], ecx
cmp eax, 1
jne 0x40f40d
mov esi, dword [ebp + 8]
push 0
push 0
push ecx
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x40f5c6
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp + 0x34], esi
jmp 0x40f467
push 0x20
call fcn.004475ae
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
je 0x40f43c
mov dword [esi + 4], 0
mov dword [esi], 0x45b6c0
mov dword [esi + 0x18], 0
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x40f43e
xor esi, esi
mov dword [ebp + 0x34], esi
test edi, edi
je 0x40f44b
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x40f458
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x18], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
push 0x28
call fcn.004475ae
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x40f490
mov dword [edi + 4], 0
mov dword [edi], 0x45b640
mov dword [edi + 8], 0
jmp 0x40f492
xor edi, edi
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
cmp ebx, edx
jne 0x40f510
cmp edx, 0x7fffffff
jae 0x40f779
mov eax, edx
mov ecx, 0x7fffffff
sub ecx, edx
shr eax, 2
inc eax
cmp eax, ecx
cmovbe ecx, eax
lea eax, [edx + ecx]
xor ecx, ecx
mov dword [ebp + 0x1c], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004475ec
add esp, 4
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ebx, ebx
je 0x40f4f6
lea eax, [ebx*4]
push eax
push dword [ebp + 0x30]
push ecx
call fcn.004488a0
add esp, 0xc
push dword [ebp + 0x30]
call fcn.004475f5
mov eax, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp + 0x30], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
push 4
call fcn.004475ae
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x40f52b
mov dword [ebx], 0
jmp 0x40f52d
xor ebx, ebx
mov eax, dword [ebp + 0x14]
lea ecx, [eax + 1]
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0x30]
mov dword [ecx + eax*4], ebx
test edi, edi
je 0x40f549
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [ebx]
test ecx, ecx
je 0x40f555
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx], edi
test esi, esi
je 0x40f561
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40f56e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x20]
mov dword [edi + 8], esi
mov eax, dword [edx + ebx + 8]
sub eax, dword [edx + ebx]
mov ecx, dword [edx + ebx + 0xc]
sbb ecx, dword [edx + ebx + 4]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
mov byte [ebp - 4], 0x1d
test esi, esi
je 0x40f5ac
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp - 0x54]
inc ecx
mov byte [ebp - 4], 0x18
mov dword [ebp + 0x3c], ecx
cmp ecx, eax
jae 0x40f5cb
mov edi, dword [ebp + 0x18]
jmp 0x40f3c0
jmp 0x40f6ba
mov esi, dword [ebp + 0x14]
xor edi, edi
mov dword [ebp + 0x14], edi
test esi, esi
je 0x40f5f7
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004475ec
mov edi, eax
add esp, 4
mov dword [ebp + 0x14], edi
test esi, esi
je 0x40f616
sub dword [ebp + 0x30], edi
mov ecx, edi
mov edi, dword [ebp + 0x30]
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
mov eax, dword [eax]
mov dword [ecx - 4], eax
sub esi, 1
jne 0x40f603
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0x20], 0
je 0x40f6a9
xor esi, esi
mov dword [ebp + 0x30], esi
mov ebx, dword [ebp + 0x24]
mov byte [ebp - 4], 0x1f
test ebx, ebx
je 0x40f678
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x54]
push dword [ecx + 0x60]
call fcn.00416670
test al, al
jne 0x40f678
push 0xc
call fcn.004475ae
mov esi, eax
add esp, 4
mov dword [ebp + 0x1c], esi
test esi, esi
je 0x40f673
mov dword [esi + 4], 0
mov dword [esi], 0x45b6a4
mov dword [esi + 8], ebx
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x40f675
xor esi, esi
mov dword [ebp + 0x30], esi
mov eax, dword [ebp + 0x20]
lea edx, [ebp + 8]
push dword [ebp + 0x2c]
mov dword [ebp + 8], eax
test esi, esi
mov eax, dword [ebp - 0x18]
cmovne ebx, esi
push ebx
push edx
mov ecx, dword [eax + 0x54]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ebx, eax
mov byte [ebp - 4], 0x20
test esi, esi
je 0x40f6ae
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x40f6ae
mov ebx, 0x80004005
push edi
call fcn.004475f5
mov edi, dword [ebp + 0x18]
add esp, 4
mov byte [ebp - 4], 0x22
test edi, edi
je 0x40f6c8
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x34]
call fcn.0040e360
push dword [ebp - 0x7c]
call fcn.004475f5
push dword [ebp - 0x88]
call fcn.004475f5
push dword [ebp - 0x94]
call fcn.004475f5
push dword [ebp - 0xa4]
call fcn.004475f5
push dword [ebp - 0xb0]
call fcn.004475f5
push dword [ebp - 0xbc]
call fcn.004475f5
add esp, 0x18
push dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.004475f5
push dword [ebp - 0x60]
call fcn.004475f5
mov eax, dword [ebp - 0x68]
add esp, 8
test eax, eax
je 0x40f763
push 0x40e470
push dword [eax - 4]
lea esi, [eax - 4]
mov dword [ebp - 4], 0x23
push 0x18
push eax
call fcn.004474b0
mov ecx, dword [esi]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx*8 + 4]
push ecx
push esi
call fcn.004475fa
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
push 0x52e048
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x7e5
push eax
call fcn.00449259
int3