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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0xf8
mov dword [esp + 0x88], eax
mov edx, dword [0x800f90]
mov dword [esp + 0xb8], edx
mov ebp, dword [0x800f94]
mov ebx, dword [0x800f80]
mov ecx, dword [0x800f84]
mov dword [esp + 0x7c], ecx
mov edx, dword [0x800f74]
mov dword [esp + 0xbc], edx
mov edx, dword [0x800f78]
mov dword [esp + 0x44], edx
test eax, eax
jne 0x40afb2
mov eax, ebp
call fcn.0040a844
mov edx, 0x58a5e4
mov ecx, dword [edx]
mov dword [esp + 0x54], ecx
mov esi, dword [edx + 4]
mov dword [esp + 0x58], esi
mov edi, dword [edx + 8]
mov dword [esp + 0x5c], edi
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x60], ecx
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x64], ecx
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x68], ecx
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x70], ecx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x74], ecx
mov edx, dword [edx + 0x24]
mov dword [esp + 0x78], edx
mov esi, dword [esp + 0xbc]
xor edx, edx
mov byte [ebp + 0xa6], 0
test esi, esi
jle 0x40b082
xor ecx, ecx
mov edi, 1
lea edx, [edi + edi]
add edx, edx
cmp esi, dword [esp + edx + 0x54]
jg 0x40b02d
inc edi
cmp edi, 0xa
jl 0x40b017
add edi, edi
lea edx, [edi + edi]
mov edi, dword [esp + edx + 0x50]
mov edx, dword [0x5b27cc]
cmp edi, edx
jle 0x40b041
test edx, edx
jle 0x40b041
mov edi, edx
mov edx, dword [0x800f64]
cmp edi, edx
jle 0x40b051
test edx, edx
jle 0x40b051
mov edi, edx
cmp edi, ebx
jle 0x40b05b
test ebx, ebx
jle 0x40b05b
mov edi, ebx
sub esi, edi
mov dword [ebp + ecx*4 + 0xb0], edi
movzx edx, byte [ebp + 0xa6]
inc edx
mov byte [ebp + 0xa6], dl
movzx ecx, dl
cmp ecx, 0x20
je 0x40c4ae
test esi, esi
jg 0x40b012
mov esi, dword [esp + 0x44]
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov dword [esp + 0x9c], ecx
test esi, esi
jle 0x40b130
mov byte [ebp + 0xa7], 0
xor edi, edi
mov eax, dword [esp + 0x7c]
jmp 0x40b0b2
mov byte [ebp + 0xa7], dl
mov ecx, 1
lea edx, [ecx + ecx]
add edx, edx
cmp esi, dword [esp + edx + 0x54]
jg 0x40b0cd
inc ecx
cmp ecx, 0xa
jl 0x40b0b7
add ecx, ecx
lea edx, [ecx + ecx]
mov edx, dword [esp + edx + 0x50]
mov ecx, dword [0x5b27d0]
cmp edx, ecx
jle 0x40b0e1
test ecx, ecx
jle 0x40b0e1
mov edx, ecx
mov ecx, dword [0x800f68]
cmp edx, ecx
jle 0x40b0f1
test ecx, ecx
jle 0x40b0f1
mov edx, ecx
cmp edx, eax
jle 0x40b0fb
test eax, eax
jle 0x40b0fb
mov edx, eax
sub esi, edx
mov dword [ebp + edi*4 + 0x130], edx
movzx edx, byte [ebp + 0xa7]
inc edx
mov ecx, edx
movzx edi, dl
cmp edi, 0x20
je 0x40c477
test esi, esi
jg 0x40b0ac
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x38], edx
movzx edx, byte [ebp + 0xa6]
movsx ecx, byte [0x80086c]
test ecx, ecx
je 0x40b157
cmp byte [ebp + 0xa4], 2
je 0x40be57
mov ecx, dword [esp + 0x9c]
mov byte [ebp + 0xa7], cl
jmp 0x40b164
mov ecx, dword [esp + 0x9c]
mov byte [ebp + 0xa7], cl
movzx edx, dl
mov dword [esp + 0x9c], edx
mov ecx, dword [esp + 0x38]
movzx ecx, cl
mov dword [esp + 0x38], ecx
mov eax, dword [0x5cfc60]
test eax, eax
je 0x40c461
test eax, eax
je 0x40c44a
mov eax, dword [0x5cfc64]
test eax, eax
je 0x40c435
test eax, eax
je 0x40c41e
mov eax, dword [0x5cfc68]
test eax, eax
je 0x40c409
test eax, eax
je 0x40c3f2
mov eax, dword [0x5cfc6c]
test eax, eax
je 0x40c3dd
test eax, eax
je 0x40c3c6
mov eax, dword [0x5cfc70]
test eax, eax
je 0x40c3b1
test eax, eax
je 0x40c39a
mov eax, dword [0x5cfc74]
test eax, eax
je 0x40c385
test eax, eax
je 0x40c36e
mov eax, dword [0x5cfc78]
test eax, eax
je 0x40c359
test eax, eax
je 0x40c342
mov eax, dword [0x5cfc7c]
test eax, eax
je 0x40c32d
test eax, eax
je 0x40c316
mov eax, dword [0x5cfc80]
test eax, eax
je 0x40c301
test eax, eax
je 0x40c2ea
xor edx, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0xd8], edx
mov esi, dword [0x800f00]
mov edi, dword [esi]
lea ecx, [esp + 0x34]
push edx
push ecx
push 2
push dword [0x5b27c8]
push 0x100
push 0x200
push esi
call dword [edi + 0x90]
test eax, eax
je 0x40b280
push 0x80aaf0
push 0x806270
call fcn.00464d5c
add esp, 8
mov edx, dword [esp + 0x38]
test edx, edx
jle 0x40bdae
mov edi, 1
mov dword [esp + 0xd4], edi
mov edi, 1
xor ecx, ecx
mov dword [esp + 0x50], ecx
xor esi, esi
mov dword [esp + 0x8c], esi
lea esi, [edx - 1]
mov edx, dword [esp + 0x9c]
lea ecx, [edx - 1]
lea eax, [edx + edx]
add eax, eax
xor edx, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0xec], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xa4], ebp
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x8c]
mov eax, dword [eax + ecx*4 + 0x130]
mov ebx, dword [esp + 0x9c]
test ebx, ebx
jle 0x40c2de
xor esi, esi
xor ebp, ebp
mov ebx, dword [esp + 0x50]
lea ecx, [ebx + eax]
mov edi, dword [esp + 0x44]
sub edi, ebx
add edi, ebx
mov dword [esp + 0xb4], edi
mov edi, dword [esp + 0xa4]
lea ebx, [edi + edx]
mov dword [esp + 0xf4], ebx
lea ebx, [eax - 1]
mov dword [esp + 0x80], ebx
xor ebx, ebx
lea edi, [edi + edx + 0x21c]
mov dword [esp + 0xa0], edi
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xe0], eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0xec]
mov edi, dword [esp + 0xa4]
mov eax, dword [edi + ebp*4 + 0xb0]
mov dword [esp + 0xdc], eax
lea edi, [eax + eax]
add edi, edi
mov ecx, dword [esp + 0xe0]
imul ecx, edi
cmp ecx, dword [0x5b2080]
jle 0x40b3c2
mov dword [0x5b2080], ecx
push ecx
push dword [0x5cfc60]
mov dword [esp + 0xf4], edx
call fcn.00467278
mov edx, dword [esp + 0xf4]
add esp, 8
mov dword [0x5cfc60], eax
test eax, eax
je 0x40becc
movsx eax, byte [0x80086c]
test eax, eax
je 0x40b3e1
mov eax, dword [esp + 0xa4]
cmp byte [eax + 0xa4], 2
je 0x40b8e8
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
cmp eax, ecx
je 0x40b5da
mov eax, dword [esp + 0x84]
cmp ebp, eax
je 0x40b4c4
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0xc0]
cmp ecx, eax
jge 0x40b8e8
xor eax, eax
mov dword [esp + 0xcc], eax
lea eax, [esi + esi]
add eax, eax
mov dword [esp + 0xd0], eax
mov eax, ecx
imul eax, dword [esp + 0xbc]
mov dword [esp + 0xac], ebx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0xec], edx
mov ebx, eax
mov ebp, ecx
mov esi, dword [esp + 0xcc]
mov edx, dword [esp + 0xb8]
mov eax, dword [edx + 0x90]
add eax, dword [esp + 0xd0]
lea edx, [ebx + ebx]
add edx, edx
add eax, edx
mov edx, esi
add edx, dword [0x5cfc60]
push edi
push eax
push edx
call dword [0x5cf48c]
add esp, 0xc
add esi, edi
add ebx, dword [esp + 0xbc]
inc ebp
mov edx, dword [esp + 0xc0]
cmp ebp, edx
jl 0x40b45f
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov edx, dword [esp + 0xec]
jmp 0x40b8e8
mov ecx, dword [esp + 0xbc]
sub ecx, esi
add ecx, ecx
add ecx, ecx
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0xc0]
cmp ecx, eax
jge 0x40b8e8
xor eax, eax
mov dword [esp + 0x4c], eax
mov eax, edi
sub eax, dword [esp + 0xb0]
mov dword [esp + 0xcc], eax
lea eax, [esi + esi]
add eax, eax
mov dword [esp + 0xc8], eax
mov eax, ecx
imul eax, dword [esp + 0xbc]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xc4], edi
mov dword [esp + 0xac], ebx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0xec], edx
mov ebx, ecx
mov ebp, eax
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
mov eax, dword [eax + 0x90]
add eax, dword [esp + 0xc8]
lea edx, [ebp + ebp]
add edx, edx
add eax, edx
mov edx, esi
add edx, dword [0x5cfc60]
push edi
push eax
push edx
call dword [0x5cf48c]
mov edx, dword [0x5cfc60]
add edx, edi
add edx, esi
push dword [0x800430]
mov eax, dword [esp + 0xdc]
push eax
push edx
call dword [0x5cf488]
add esp, 0x18
add esi, dword [esp + 0xc4]
add ebp, dword [esp + 0xbc]
inc ebx
mov eax, dword [esp + 0xc0]
cmp ebx, eax
jl 0x40b550
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov edx, dword [esp + 0xec]
jmp 0x40b8e8
mov eax, dword [esp + 0x84]
cmp ebp, eax
je 0x40b740
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0xb4]
cmp eax, ecx
jge 0x40bef1
xor eax, eax
mov dword [esp + 0xa8], eax
lea ecx, [esi + esi]
add ecx, ecx
mov dword [esp + 0xcc], ecx
mov eax, dword [esp + 0xb0]
imul eax, dword [esp + 0xbc]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xac], ebx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0xec], edx
mov ebx, dword [esp + 0xa8]
mov ebp, eax
mov esi, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x90]
add ecx, dword [esp + 0xcc]
lea edx, [ebp + ebp]
add edx, edx
add ecx, edx
mov eax, ebx
add eax, dword [0x5cfc60]
push edi
push ecx
push eax
call dword [0x5cf48c]
add esp, 0xc
add ebx, edi
add ebp, dword [esp + 0xbc]
inc esi
mov eax, dword [esp + 0xb4]
cmp esi, eax
jl 0x40b65a
mov dword [esp + 0xa8], ebx
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xc0]
cmp ecx, eax
jge 0x40b8e8
mov dword [esp + 0xac], ebx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0xec], edx
mov ebx, ecx
mov ebp, eax
mov esi, dword [esp + 0xa8]
mov eax, esi
add eax, dword [0x5cfc60]
push dword [0x800430]
push edi
push eax
call dword [0x5cf488]
add esp, 0xc
add esi, edi
inc ebx
cmp ebx, ebp
jl 0x40b6ff
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov edx, dword [esp + 0xec]
jmp 0x40b8e8
mov eax, dword [esp + 0xbc]
sub eax, esi
add eax, eax
add eax, eax
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xd0], ecx
mov eax, dword [esp + 0xb4]
cmp ecx, eax
jge 0x40c2d0
xor eax, eax
mov dword [esp + 0xa8], eax
mov ecx, edi
sub ecx, dword [esp + 0xb0]
mov dword [esp + 0xc8], ecx
lea eax, [esi + esi]
add eax, eax
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xd0]
imul eax, dword [esp + 0xbc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0xc4], edi
mov dword [esp + 0xac], ebx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0xec], edx
mov ebx, dword [esp + 0xa8]
mov ebp, eax
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x90]
add ecx, dword [esp + 0xcc]
lea edx, [ebp + ebp]
add edx, edx
add ecx, edx
mov eax, ebx
add eax, dword [0x5cfc60]
push edi
push ecx
push eax
call dword [0x5cf48c]
mov edx, dword [0x5cfc60]
add edx, edi
add edx, ebx
push dword [0x800430]
mov eax, dword [esp + 0xd8]
push eax
push edx
call dword [0x5cf488]
add esp, 0x18
add ebx, dword [esp + 0xc4]
add ebp, dword [esp + 0xbc]
inc esi
mov eax, dword [esp + 0xb4]
cmp esi, eax
jl 0x40b7e0
mov dword [esp + 0xa8], ebx
mov edi, dword [esp + 0xc4]
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov edx, dword [esp + 0xec]
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xc0]
cmp ecx, eax
jge 0x40b8e8
mov dword [esp + 0xac], ebx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0xec], edx
mov ebx, ecx
mov ebp, eax
mov esi, dword [esp + 0xa8]
mov eax, esi
add eax, dword [0x5cfc60]
push dword [0x800430]
push edi
push eax
call dword [0x5cf488]
add esp, 0xc
add esi, edi
inc ebx
cmp ebx, ebp
jl 0x40b8ac
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov edx, dword [esp + 0xec]
movsx eax, byte [0x800404]
test eax, eax
je 0x40b90c
movsx eax, byte [0x5b26e0]
test eax, eax
je 0x40b905
mov ecx, 0x100005
jmp 0x40b911
mov ecx, 5
jmp 0x40b911
mov ecx, 5
movsx eax, byte [0x800410]
test eax, eax
jne 0x40b993
mov eax, dword [esp + 0x88]
test eax, eax
je 0x40b931
mov edx, 1
jmp 0x40ba75
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x800f00]
mov eax, dword [ecx]
xor edi, edi
push edi
mov edx, dword [esp + 0xa4]
push edx
push edi
push dword [0x800ef8]
mov edx, 1
push edx
push edx
mov edx, dword [esp + 0xf8]
push edx
mov edx, dword [esp + 0xf8]
push edx
push ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xcc], ecx
call dword [eax + 0x5c]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xd4], eax
mov edx, 1
jmp 0x40ba75
cmp edx, 1
jne 0x40ba09
mov eax, dword [esp + 0x88]
test eax, eax
je 0x40b9ad
mov edx, 2
jmp 0x40ba75
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x800f00]
mov eax, dword [ecx]
xor edi, edi
push edi
mov edx, dword [esp + 0xa4]
push edx
push edi
push dword [0x800ef8]
push 1
push 2
mov edx, dword [esp + 0xf8]
push edx
mov edx, dword [esp + 0xf8]
push edx
push ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xcc], ecx
call dword [eax + 0x5c]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xd4], eax
mov edx, 2
jmp 0x40ba75
mov eax, dword [esp + 0x88]
test eax, eax
je 0x40ba1b
mov edx, 4
jmp 0x40ba75
mov dword [esp + 0xa8], ecx
mov ecx, dword [0x800f00]
mov eax, dword [ecx]
xor edi, edi
push edi
mov edx, dword [esp + 0xa4]
push edx
push edi
push dword [0x800ef8]
push 1
push 4
mov edx, dword [esp + 0xf8]
push edx
mov edx, dword [esp + 0xf8]
push edx
push ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0xcc], ecx
call dword [eax + 0x5c]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xd4], eax
mov edx, 4
mov eax, dword [esp + 0xd4]
test eax, eax
jl 0x40c2a2
mov dword [esp + 0xf0], 0
mov eax, dword [0x5cfc60]
mov dword [esp + 0xc4], eax
movsx edi, byte [0x80086c]
test edi, edi
je 0x40bab8
mov eax, dword [esp + 0xa4]
cmp byte [eax + 0xa4], 2
jne 0x40bab8
xor edx, edx
test edx, edx
jbe 0x40bd49
xor edi, edi
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0xec], edx
mov eax, dword [esp + 0xf4]
mov ebp, dword [eax + ebx + 0x21c]
mov esi, dword [ebp]
lea edx, [esp + 0xf0]
push edx
push edi
push ebp
call dword [esi + 0x48]
test eax, eax
jne 0x40bcf8
mov eax, dword [0x800f00]
mov ecx, edi
mov ebp, dword [esp + 0xdc]
sar ebp, cl
mov ecx, edi
mov esi, dword [esp + 0xe0]
sar esi, cl
mov ecx, dword [eax]
lea edx, [esp + 0xd8]
push 0
push edx
push 2
push dword [0x5b27c8]
push esi
push ebp
push eax
call dword [ecx + 0x90]
test eax, eax
je 0x40bb52
push 0x80aaf0
push 0x806270
call fcn.00464d5c
add esp, 8
cmp edi, 1
je 0x40c23c
cmp edi, 2
je 0x40c1c8
cmp edi, 3
je 0x40c154
cmp edi, 4
je 0x40c0e0
cmp edi, 5
je 0x40c06c
cmp edi, 6
je 0x40bff8
cmp edi, 7
je 0x40bf8d
cmp edi, 8
je 0x40bf37
mov edx, dword [esp + 0xd8]
mov dword [esp + 0xb0], edx
mov ecx, dword [edx]
lea eax, [esp + 0xe4]
push 0x2000
push 0
push eax
push edx
call dword [ecx + 0x34]
test eax, eax
jl 0x40bf1b
test esi, esi
jle 0x40bc1c
xor edx, edx
add ebp, ebp
add ebp, ebp
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xac], ebx
mov ebx, eax
mov edi, esi
mov esi, edx
mov ecx, esi
imul ecx, dword [esp + 0xe4]
add ecx, dword [esp + 0xe8]
push ebp
push ebx
push ecx
call dword [0x5cf48c]
add esp, 0xc
add ebx, ebp
inc esi
cmp esi, edi
jl 0x40bbea
mov edi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xac]
mov eax, dword [esp + 0xb0]
mov edx, dword [eax]
push eax
call dword [edx + 0x38]
test eax, eax
jl 0x40beff
xor eax, eax
test eax, eax
jne 0x40bcc8
movsx eax, byte [0x800404]
test eax, eax
jne 0x40bc83
mov edx, dword [0x800f00]
mov ebp, dword [edx]
xor eax, eax
push eax
push dword [esp + 0xf4]
push eax
push dword [esp + 0xe4]
push edx
call dword [ebp + 0x78]
mov dword [esp + 0xd4], eax
test eax, eax
je 0x40bcaa
push 0x80a774
push 0x806270
call fcn.00464d5c
add esp, 8
jmp 0x40bcaa
xor edx, edx
push dword [0x800430]
mov eax, dword [esp + 0xac]
push eax
push edx
push edx
push dword [esp + 0xe8]
push edx
push edx
push dword [esp + 0x10c]
call fcn.004c5187
mov eax, dword [esp + 0xf0]
test eax, eax
je 0x40bcbb
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0xf0], 0
jmp 0x40bcda
push 0x80ac48
push 0x80a2dc
call fcn.0040c5f0
add esp, 8
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x40bceb
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0xd8], 0
jmp 0x40bd0d
push edi
push 2
push 0x80a7c0
push 0x806270
call fcn.00464d5c
add esp, 0x10
mov eax, dword [esp + 0xf0]
test eax, eax
je 0x40bd1e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0xf0], 0
inc edi
mov eax, dword [esp + 0xec]
cmp edi, eax
jb 0x40bade
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov edx, eax
mov eax, dword [esp + 0xdc]
lea esi, [esi + eax]
add ebx, 4
add dword [esp + 0xa0], 4
inc ebp
mov ecx, dword [esp + 0x9c]
cmp ebp, ecx
jl 0x40b366
mov dword [esp + 0xec], edx
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x50], ecx
add edx, dword [esp + 0x40]
mov eax, dword [esp + 0x8c]
inc eax
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jl 0x40b2e4
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0xa4]
fld dword [0x800f6c]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp qword [ebp + 0x1d0]
fldcw word [esp + 0x28]
fld dword [0x800f70]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp qword [ebp + 0x1d8]
fldcw word [esp + 0x28]
mov esi, dword [0x800f74]
mov dword [ebp + 0x78], esi
mov edi, dword [0x800f78]
mov dword [ebp + 0x7c], edi
xor edx, edx
mov byte [ebp + 0xa5], dl
mov dword [ebp + 0xa8], ebx
mov ebx, dword [esp + 0x7c]
mov dword [ebp + 0xac], ebx
mov dword [0x800f74], edx
mov dword [0x800f78], edx
mov dword [0x800f6c], edx
mov dword [0x800f70], edx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40be4a
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
add esp, 0xf8
pop ebx
pop ebp
pop esi
pop edi
ret
fild dword [0x800a44]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp dword [ebp + 0xb0]
fldcw word [esp + 0x28]
fild dword [0x800a48]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp dword [ebp + 0x130]
fldcw word [esp + 0x28]
mov edx, 1
mov ecx, 1
mov byte [ebp + 0xa6], cl
mov ecx, 1
mov dword [esp + 0x38], ecx
mov ecx, 1
mov byte [ebp + 0xa7], cl
jmp 0x40b164
push 0x80aadc
push 0x806270
mov dword [esp + 0xf4], edx
call fcn.0040c5f0
mov edx, dword [esp + 0xf4]
add esp, 8
jmp 0x40b3c2
xor eax, eax
mov dword [esp + 0xa8], eax
jmp 0x40b6c2
push 0x80aec8
push 0x806270
call fcn.00464d5c
add esp, 8
mov eax, 2
jmp 0x40bc33
push 0x80aeb4
push 0x806270
call fcn.00464d5c
add esp, 8
mov eax, 1
jmp 0x40bc33
mov eax, dword [0x5cfc80]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xdc]
lea ecx, [edx - 1]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
mov edx, dword [0x5cfc60]
xor ecx, ecx
call fcn.0040c4dc
jmp 0x40bb9a
mov eax, dword [esp + 0xdc]
lea edx, [eax - 1]
mov dword [esp + 0xb0], edx
mov eax, dword [0x5cfc7c]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
mov edx, dword [0x5cfc60]
xor ecx, ecx
call fcn.0040c4dc
jmp 0x40bb9a
mov eax, dword [esp + 0xdc]
lea edx, [eax - 1]
mov dword [esp + 0xb0], edx
mov eax, dword [0x5cfc78]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
mov edx, dword [0x5cfc60]
xor ecx, ecx
call fcn.0040c4dc
cmp edi, 7
je 0x40bf9e
jmp 0x40bb9a
mov eax, dword [esp + 0xdc]
lea edx, [eax - 1]
mov dword [esp + 0xb0], edx
mov eax, dword [0x5cfc74]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
mov edx, dword [0x5cfc60]
xor ecx, ecx
call fcn.0040c4dc
cmp edi, 6
je 0x40c009
jmp 0x40bb9a
mov eax, dword [esp + 0xdc]
lea edx, [eax - 1]
mov dword [esp + 0xb0], edx
mov eax, dword [0x5cfc70]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
mov edx, dword [0x5cfc60]
xor ecx, ecx
call fcn.0040c4dc
cmp edi, 5
je 0x40c07d
jmp 0x40bb9a
mov eax, dword [esp + 0xdc]
lea edx, [eax - 1]
mov dword [esp + 0xb0], edx
mov eax, dword [0x5cfc6c]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
mov edx, dword [0x5cfc60]
xor ecx, ecx
call fcn.0040c4dc
cmp edi, 4
je 0x40c0f1
jmp 0x40bb9a
mov eax, dword [esp + 0xdc]
lea edx, [eax - 1]
mov dword [esp + 0xb0], edx
mov eax, dword [0x5cfc68]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
mov edx, dword [0x5cfc60]
xor ecx, ecx
call fcn.0040c4dc
cmp edi, 3
je 0x40c165
jmp 0x40bb9a
mov eax, dword [0x5cfc64]
mov dword [esp + 0xc4], eax
mov edx, dword [esp + 0xdc]
lea ecx, [edx - 1]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
mov edx, dword [0x5cfc60]
xor ecx, ecx
call fcn.0040c4dc
cmp edi, 2
je 0x40c1d9
jmp 0x40bb9a
push 0x80ab20
push 0x806270
call fcn.0040c5f0
push 0x80ac20
push 0x806270
call fcn.00464d5c
mov eax, 0xffffffff
add esp, 0x108
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
mov dword [esp + 0xa8], eax
jmp 0x40b873
mov ecx, dword [esp + 0x50]
lea ecx, [ecx + eax]
jmp 0x40bd80
push 0x80aadc
push 0x806270
call fcn.0040c5f0
add esp, 8
jmp 0x40b236
push 0x100
call fcn.00466ddc
pop ecx
mov dword [0x5cfc80], eax
jmp 0x40b22e
push 0x80aadc
push 0x806270
call fcn.0040c5f0
add esp, 8
jmp 0x40b221
push 0x400
call fcn.00466ddc
pop ecx
mov dword [0x5cfc7c], eax
jmp 0x40b219
push 0x80aadc
push 0x806270
call fcn.0040c5f0
add esp, 8
jmp 0x40b20c
push 0x1000
call fcn.00466ddc
pop ecx
mov dword [0x5cfc78], eax
jmp 0x40b204
push 0x80aadc
push 0x806270
call fcn.0040c5f0
add esp, 8
jmp 0x40b1f7
push 0x4000
call fcn.00466ddc
pop ecx
mov dword [0x5cfc74], eax
jmp 0x40b1ef
push 0x80aadc
push 0x806270
call fcn.0040c5f0
add esp, 8
jmp 0x40b1e2
push 0x10000
call fcn.00466ddc
pop ecx
mov dword [0x5cfc70], eax
jmp 0x40b1da
push 0x80aadc
push 0x806270
call fcn.0040c5f0
add esp, 8
jmp 0x40b1cd
push 0x40000
call fcn.00466ddc
pop ecx
mov dword [0x5cfc6c], eax
jmp 0x40b1c5
push 0x80aadc
push 0x806270
call fcn.0040c5f0
add esp, 8
jmp 0x40b1b8
push 0x100000
call fcn.00466ddc
pop ecx
mov dword [0x5cfc68], eax
jmp 0x40b1b0
push 0x80aadc
push 0x806270
call fcn.0040c5f0
add esp, 8
jmp 0x40b1a3
push 0x400000
call fcn.00466ddc
pop ecx
mov dword [0x5cfc64], eax
jmp 0x40b19b
push 0x80aadc
push 0x806270
call fcn.0040c5f0
add esp, 8
jmp 0x40b18e
push dword [0x5b2080]
call fcn.00466ddc
pop ecx
mov dword [0x5cfc60], eax
jmp 0x40b186
mov dword [esp + 0x38], edx
mov byte [ebp + 0xa7], dl
push esi
mov eax, dword [esp + 0x48]
push eax
mov ecx, dword [esp + 0xc4]
push ecx
push 0x80aaa8
push 0x806270
call fcn.0040c5f0
mov eax, 0xffffffff
add esp, 0x10c
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
push eax
push eax
push 0x80aa90
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0xffffffff
add esp, 0xf8
pop ebx
pop ebp
pop esi
pop edi
ret