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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4443a8
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x451094]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov byte [eax], 0
mov eax, dword [edi + 0x30]
lea ebx, [esi*4]
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebx + eax]
mov eax, dword [edi + 8]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
lea eax, [eax + ecx*8]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x24], 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, edi
call fcn.004135b0
cmp dword [ebp - 0x64], 0x20
mov eax, dword [edi + 0x34]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x50], eax
jbe 0x40f4aa
mov ebx, 0x80004001
jmp 0x410155
xorps xmm0, xmm0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040f1e0
lea ecx, [ebp - 0xbc]
call fcn.00416a20
test al, al
jne 0x40f561
mov ebx, 0x80004001
jmp 0x410113
mov eax, dword [edi + 0x34]
mov byte [ebp + 0x1b], 1
movzx ecx, byte [eax + esi]
mov eax, dword [edi + 0x2c]
add ecx, dword [eax + ebx]
mov eax, dword [edi + 0x28]
mov edx, dword [eax + ecx*8]
mov esi, dword [eax + ecx*8 + 4]
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x40f5af
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp ecx, esi
jb 0x40f59c
ja 0x40f592
cmp eax, edx
jbe 0x40f59e
mov ebx, 0x80004005
jmp 0x410113
cmp eax, edx
jne 0x40f5aa
cmp ecx, esi
jne 0x40f5aa
mov byte [ebp + 0x1b], 1
jmp 0x40f5af
xor al, al
mov byte [ebp + 0x1b], al
mov ebx, dword [ebp - 0x14]
cmp byte [ebx], 0
je 0x40f800
mov esi, dword [ebp - 0xb8]
cmp esi, dword [ebx + 8]
jne 0x40f800
xor edx, edx
test esi, esi
je 0x40f5f3
mov edi, dword [ebp - 0xbc]
mov ecx, dword [ebx + 4]
sub edi, ecx
nop dword [eax + eax]
mov eax, dword [edi + ecx]
cmp eax, dword [ecx]
jne 0x40f800
inc edx
add ecx, 4
cmp edx, esi
jb 0x40f5e0
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0xac]
cmp ebx, dword [eax + 0x14]
jne 0x40f7f9
xor esi, esi
test ebx, ebx
je 0x40f641
mov edi, dword [eax + 0x10]
mov ecx, dword [ebp - 0xb0]
lea edx, [edi + 4]
sub edi, ecx
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edi + ecx]
jne 0x40f7fd
mov eax, dword [ecx + 4]
cmp eax, dword [edx]
jne 0x40f7fd
inc esi
add edx, 8
add ecx, 8
cmp esi, ebx
jb 0x40f620
mov edi, dword [ebp - 0x78]
xor edx, edx
mov ebx, dword [ebp - 0x14]
test edi, edi
je 0x40f675
mov esi, dword [ebx + 0x44]
mov ecx, dword [ebp - 0x7c]
sub esi, ecx
mov eax, dword [ecx]
cmp eax, dword [esi + ecx]
jne 0x40f800
mov eax, dword [ecx + 4]
cmp eax, dword [esi + ecx + 4]
jne 0x40f800
inc edx
add ecx, 8
cmp edx, edi
jb 0x40f655
mov esi, dword [ebp - 0xa0]
cmp esi, dword [ebx + 0x20]
jne 0x40f800
xor edx, edx
test esi, esi
je 0x40f6a8
mov edi, dword [ebp - 0xa4]
mov ecx, dword [ebx + 0x1c]
sub edi, ecx
mov eax, dword [edi + ecx]
cmp eax, dword [ecx]
jne 0x40f800
inc edx
add ecx, 4
cmp edx, esi
jb 0x40f695
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ebx, eax
test ebx, ebx
jne 0x410113
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x44], ebx
mov eax, dword [eax + 0x2c]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x64], ebx
jbe 0x40fc92
xor ecx, ecx
shl eax, 3
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
nop dword [eax]
mov edi, dword [ebp - 0x68]
add edi, ecx
mov ecx, dword [esi + 0x54]
push ebx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [eax]
test esi, esi
jne 0x40f707
mov esi, dword [eax + 4]
cmp byte [ebp - 0x15], 0
jne 0x40f7aa
cmp byte [ebp + 0x30], 0
je 0x40f75f
mov dword [ebp - 0x10], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x447224
push esi
mov byte [ebp - 4], 0x13
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40f751
push dword [ebp + 0x34]
mov ecx, dword [eax]
push eax
mov byte [ebp - 0x15], 1
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40fd03
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x40f75f
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 0x447254
push esi
mov byte [ebp - 4], 0x17
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40f79c
push dword [ebp + 0x3c]
mov ecx, dword [eax]
push dword [ebp + 0x38]
mov byte [ebp - 0x15], 1
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40fd09
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x40f7aa
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 0x4471f4
push esi
mov byte [ebp - 4], 0x1b
call dword [eax]
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0xc]
test eax, eax
je 0x40fab3
mov ecx, dword [eax]
push edx
push dword [edi + 8]
push eax
call dword [ecx + 0xc]
mov ebx, eax
cmp ebx, 0x80070057
je 0x40fd0f
test ebx, ebx
jne 0x40fd14
mov eax, dword [ebp - 0x10]
jmp 0x40fabb
mov ebx, eax
jmp 0x40f800
mov ebx, dword [ebp - 0x14]
mov byte [ebx], 0
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x40f817
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x58], 0
push 0x84
call fcn.00436f35
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x40f922
mov dword [esi + 4], 0x446650
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], 0x446674
mov dword [esi + 4], 0x446680
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
mov dword [ebx + 0x50], esi
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x40f927
xor esi, esi
mov dword [ebx + 0x50], esi
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x40f934
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 0x410113
xor edi, edi
cmp dword [ebp - 0x64], edi
jbe 0x40fa2d
xor ecx, ecx
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov esi, dword [ebp - 0x68]
add esi, ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
push eax
push 0
push dword [esi + 4]
push dword [esi]
call fcn.00417dc0
mov ecx, dword [ebp - 0x3c]
mov ebx, eax
mov edx, dword [ebp - 0x38]
test ebx, ebx
jne 0x40f9b4
mov eax, dword [esi + 0x10]
cmp eax, 1
jne 0x40f9dc
test ecx, ecx
jne 0x40f9e5
mov ebx, 0x80004001
mov byte [ebp - 4], 0xd
test edx, edx
je 0x40f9c5
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x410113
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x410113
test edx, edx
je 0x40f9af
cmp dword [ebp - 0x30], eax
jne 0x40f9af
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [eax + 0x54]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x40fa05
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x11
test ecx, ecx
je 0x40fa16
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x20]
inc edi
add ecx, 0x18
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], ecx
cmp edi, dword [ebp - 0x64]
jb 0x40f970
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0xbc]
push eax
lea ecx, [esi + 4]
call fcn.0040ef80
add esi, 0x44
lea eax, [ebp - 0x7c]
cmp eax, esi
je 0x40faa8
mov edi, dword [ebp - 0x78]
cmp edi, dword [esi + 8]
jbe 0x40fa8c
push dword [esi]
call fcn.00436f7c
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.00436f73
add esp, 8
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 4], edi
test edi, edi
je 0x40faa8
lea eax, [edi*8]
push eax
push dword [ebp - 0x7c]
push dword [esi]
call fcn.00437e00
add esp, 0xc
mov esi, dword [ebp - 0x14]
mov byte [esi], 1
jmp 0x40f6ab
test edx, edx
jne 0x40fd33
mov byte [ebp - 4], 0x22
test eax, eax
je 0x40fac9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x10], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x447234
push esi
mov byte [ebp - 4], 0x23
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40fb0a
mov cl, byte [ebp + 0x1b]
mov edx, dword [eax]
mov byte [ebp - 0x70], cl
movzx ecx, cl
push ecx
push eax
call dword [edx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40fd19
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x26
test eax, eax
je 0x40fb18
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [edi + 0x10]
xor edi, edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x48], edi
test ebx, ebx
je 0x40fb51
xor ecx, ecx
mov eax, ebx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436f73
mov edi, eax
add esp, 4
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x48], edi
xor esi, esi
mov byte [ebp - 4], 0x27
mov dword [ebp - 0x4c], esi
test ebx, ebx
je 0x40fb7e
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436f73
mov esi, eax
add esp, 4
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 0x28
mov dword [ebp - 0x10], 0
test ebx, ebx
je 0x40fc32
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x5c]
xor eax, eax
test ecx, ecx
je 0x40fbaa
mov edx, dword [ebp - 0x60]
cmp dword [edx + eax*8], ebx
je 0x40fbd9
inc eax
cmp eax, ecx
jb 0x40fba0
mov eax, dword [ebp - 0x54]
xor edx, edx
test eax, eax
je 0x40fbc0
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + edx*4], ebx
je 0x40fbef
inc edx
cmp edx, eax
jb 0x40fbb6
push esi
call fcn.00436f7c
push edi
call fcn.00436f7c
add esp, 8
mov ebx, 0x80004001
jmp 0x410113
test eax, eax
js 0x40fbaa
mov ecx, dword [edx + eax*8 + 4]
mov eax, dword [ebp + 0x14]
add ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x28]
lea ebx, [eax + ecx*8]
jmp 0x40fc16
test edx, edx
js 0x40fbc0
mov eax, dword [ebp - 0x10]
lea ebx, [edi + eax*8]
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x24]
mov ecx, dword [eax + edx*8 + 8]
sub ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 0xc]
sbb eax, dword [edi + edx*8 + 4]
mov edi, dword [ebp - 0x6c]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov edx, dword [ebp - 0x10]
mov eax, esi
mov dword [eax + edx*4], ebx
inc edx
mov ebx, dword [ebp - 0x40]
inc ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x40], ebx
cmp edx, dword [ebp - 0x2c]
jb 0x40fb94
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp - 0x44]
test eax, eax
je 0x40fc48
cmp ebx, dword [ebp - 0x98]
jne 0x40fc48
mov edx, eax
jmp 0x40fc51
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x28]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x70]
push esi
mov ecx, dword [eax + 0x54]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x18]
push esi
call fcn.00436f7c
push edi
mov byte [ebp - 4], 2
call fcn.00436f7c
mov ecx, dword [ebp - 0x28]
inc ebx
add dword [ebp - 0x20], 8
add ecx, 0x18
mov esi, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x28], ecx
cmp ebx, dword [ebp - 0x64]
jb 0x40f6f0
cmp dword [ebp + 0x20], 0
je 0x40fca9
mov ecx, dword [esi + 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 - 0x38], eax
mov dword [ebp + 0x34], esi
mov dword [ebp - 0x34], esi
mov dword [ebp + 0x1c], eax
mov dword [ebp - 0x30], eax
push 0x30
mov byte [ebp - 4], 0x2a
call fcn.00436f35
mov edi, eax
add esp, 4
mov dword [ebp + 0x14], edi
test edi, edi
je 0x40fd54
mov dword [edi + 4], esi
lea eax, [edi + 0x18]
mov dword [edi], 0x4466b4
push eax
mov dword [edi + 8], esi
call fcn.004089b0
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x40fd5c
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, 0x40f1a0
jne 0x40fd4f
inc dword [edi + 4]
jmp 0x40fd59
mov byte [ebp - 4], 0x14
jmp 0x40fd1d
mov byte [ebp - 4], 0x18
jmp 0x40fd1d
mov ebx, 0x80004001
mov eax, dword [ebp - 0x10]
jmp 0x40fd38
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x410113
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x410113
mov ebx, 0x80004001
mov byte [ebp - 4], 0x20
test eax, eax
je 0x410113
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x410113
push edi
call eax
jmp 0x40fd59
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp + 0x14], edi
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0x2b
cmp eax, 1
jbe 0x40fdad
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x10]
mov ebx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x24]
push 0
mov edx, dword [ebx]
add ecx, dword [eax]
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 0x4100fa
mov ebx, dword [ebp + 8]
push ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40fda7
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 0x410003
nop word [eax + eax]
mov dword [ebp + 0x18], 0
mov esi, dword [ebp - 0x24]
lea edx, [ecx*8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0x2f
add ebx, dword [edx + esi]
mov dword [ebp - 0x4c], edx
adc ecx, dword [edx + esi + 4]
mov dword [ebp - 0x1c], ecx
cmp eax, 1
jne 0x40fe14
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 0x40fffb
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp + 0x18], esi
jmp 0x40fe8e
push 0x20
call fcn.00436f35
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
je 0x40fe55
mov dword [esi + 4], 0
mov dword [esi], 0x4466c0
mov dword [esi + 0x18], 0
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp eax, 0x40f1a0
jne 0x40fe50
mov dword [esi + 4], 1
jmp 0x40fe57
push esi
call eax
jmp 0x40fe57
xor esi, esi
mov dword [ebp + 0x18], esi
test edi, edi
je 0x40fe72
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, 0x40f1a0
jne 0x40fe6f
inc dword [edi + 4]
jmp 0x40fe72
push edi
call eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x40fe7f
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.00436f35
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x40feb7
mov dword [edi + 4], 0
mov dword [edi], 0x446640
mov dword [edi + 8], 0
jmp 0x40feb9
xor edi, edi
mov ebx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x1c]
cmp ebx, edx
jne 0x40ff37
cmp edx, 0x7fffffff
jae 0x4101bc
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.00436f73
add esp, 4
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ebx, ebx
je 0x40ff1d
lea eax, [ebx*4]
push eax
push dword [ebp + 0x30]
push ecx
call fcn.00437e00
add esp, 0xc
push dword [ebp + 0x30]
call fcn.00436f7c
mov eax, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp + 0x30], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
push 4
call fcn.00436f35
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x40ff52
mov dword [ebx], 0
jmp 0x40ff54
xor ebx, ebx
mov ecx, dword [ebp + 0x34]
mov eax, ecx
inc ecx
mov dword [ebp + 0x34], ecx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x30]
mov dword [ecx + eax*4], ebx
test edi, edi
je 0x40ff7e
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, 0x40f1a0
jne 0x40ff7b
inc dword [edi + 4]
jmp 0x40ff7e
push edi
call eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x40ff8a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx], edi
test esi, esi
je 0x40ff96
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40ffa3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x24]
mov dword [edi + 8], esi
mov ecx, dword [edx + ebx + 8]
sub ecx, dword [edx + ebx]
mov eax, dword [edx + ebx + 0xc]
sbb eax, dword [edx + ebx + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
mov byte [ebp - 4], 0x34
test esi, esi
je 0x40ffe1
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], 0x2b
mov dword [ebp + 0x3c], ecx
cmp ecx, eax
jae 0x410000
mov edi, dword [ebp + 0x14]
jmp 0x40fdc0
jmp 0x4100fa
mov esi, dword [ebp + 0x34]
xor edi, edi
mov dword [ebp + 8], edi
test esi, esi
je 0x41002c
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436f73
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
test esi, esi
je 0x41004b
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 0x410038
mov edi, dword [ebp + 8]
cmp dword [ebp + 0x20], 0
je 0x4100ec
xor esi, esi
mov dword [ebp + 0x30], esi
mov ebx, dword [ebp + 0x24]
mov byte [ebp - 4], 0x36
test ebx, ebx
je 0x4100bb
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x54]
push dword [ecx + 0x60]
call fcn.00417810
test al, al
jne 0x4100bb
push 0xc
call fcn.00436f35
mov esi, eax
add esp, 4
mov dword [ebp + 0x1c], esi
test esi, esi
je 0x4100b6
mov dword [esi + 4], 0
mov dword [esi], 0x4466a4
mov dword [esi + 8], ebx
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp eax, 0x40f1a0
jne 0x4100b1
inc dword [esi + 4]
jmp 0x4100b8
push esi
call eax
jmp 0x4100b8
xor esi, esi
mov dword [ebp + 0x30], esi
mov eax, dword [ebp + 0x20]
lea edx, [ebp + 0x34]
push dword [ebp + 0x2c]
mov dword [ebp + 0x34], eax
test esi, esi
mov eax, dword [ebp - 0x14]
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], 0x37
test esi, esi
je 0x4100f1
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x4100f1
mov ebx, 0x80004005
push edi
call fcn.00436f7c
add esp, 4
mov ecx, dword [ebp + 0x14]
mov byte [ebp - 4], 0x3a
test ecx, ecx
je 0x41010b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x38]
call fcn.0040ecd0
push dword [ebp - 0x7c]
call fcn.00436f7c
push dword [ebp - 0x88]
call fcn.00436f7c
push dword [ebp - 0x94]
call fcn.00436f7c
push dword [ebp - 0xa4]
call fcn.00436f7c
push dword [ebp - 0xb0]
call fcn.00436f7c
push dword [ebp - 0xbc]
call fcn.00436f7c
add esp, 0x18
push dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.00436f7c
push dword [ebp - 0x60]
call fcn.00436f7c
mov eax, dword [ebp - 0x68]
add esp, 8
test eax, eax
je 0x4101a6
push 0x40edf0
push dword [eax - 4]
lea esi, [eax - 4]
mov dword [ebp - 4], 0x3b
push 0x18
push eax
call fcn.00436e20
mov ecx, dword [esi]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx*8 + 4]
push ecx
push esi
call fcn.00436f81
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 0x44d320
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x7e5
push eax
call fcn.0043883c
int3