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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8bc
mov eax, dword [0x41c170]
push ebx
push esi
xor eax, ebp
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x8c4], eax
mov eax, dword [ebp + 0xc]
push 0x4173f4
push edi
mov dword [esp + 0x6b8], eax
call fcn.0040d5df
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
jne 0x4044cc
push edi
push 0x4173cc
push 0x41c1c0
call fcn.0040d4c9
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8b8]
xor ecx, ebp
call fcn.0040ce17
mov esp, ebp
pop ebp
ret
push 2
push ebx
push esi
call fcn.0040d43b
push esi
call fcn.0040d2e2
mov edi, eax
push edi
call fcn.0040c446
push ebx
push ebx
push esi
mov dword [esp + 0x68], eax
call fcn.0040d43b
push esi
push edi
mov edi, dword [esp + 0x70]
push 1
push edi
call fcn.0040d1f9
push esi
call fcn.0040d1a3
push 0x4173c8
push edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x60], ebx
call fcn.0040d0ec
mov esi, eax
add esp, 0x3c
cmp esi, ebx
je 0x404b9d
jmp 0x404562
cmp byte [esi], 0x76
jne 0x40468c
cmp byte [esi + 1], 0x20
jne 0x4045ca
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
cmp edi, eax
jl 0x4045a4
test eax, eax
jne 0x404586
mov eax, 0x40
mov edx, dword [esp + 0x2c]
add eax, eax
lea ecx, [eax + eax*2]
shl ecx, 2
push ecx
push edx
mov dword [esp + 0x4c], eax
call fcn.0040cf84
add esp, 8
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*4]
lea edx, [eax + 8]
push edx
lea ecx, [eax + 4]
push ecx
push eax
push 0x4173bc
push esi
call fcn.0040cf50
add esp, 0x14
inc edi
mov dword [esp + 0x20], edi
cmp byte [esi], 0x76
jne 0x40468c
cmp byte [esi + 1], 0x6e
jne 0x404632
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
cmp edi, eax
jl 0x40460c
test eax, eax
jne 0x4045ee
mov eax, 0x40
add eax, eax
lea edx, [eax + eax*2]
shl edx, 2
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.0040cf84
add esp, 8
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x34]
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*4]
lea ecx, [eax + 8]
push ecx
lea edx, [eax + 4]
push edx
push eax
push 0x4173b0
push esi
call fcn.0040cf50
add esp, 0x14
inc edi
mov dword [esp + 0x28], edi
cmp byte [esi], 0x76
jne 0x40468c
cmp byte [esi + 1], 0x74
jne 0x40468c
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
cmp edi, eax
jl 0x40466d
test eax, eax
jne 0x404652
mov eax, 0x40
mov ecx, dword [esp + 0x1c]
add eax, eax
mov dword [esp + 0x4c], eax
shl eax, 3
push eax
push ecx
call fcn.0040cf84
add esp, 8
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
lea eax, [edx + edi*8]
lea ecx, [eax + 4]
push ecx
push eax
push 0x4173a4
push esi
call fcn.0040cf50
add esp, 0x10
inc edi
mov dword [esp + 0x38], edi
cmp byte [esi], 0x66
jne 0x404b84
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
jne 0x404695
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x4b0]
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esp + 0x2b0]
rep stosd dword es:[edi], eax
inc esi
push 0x20
mov ecx, 0x80
lea edi, [esp + 0xb4]
push esi
xor ebx, ebx
rep stosd dword es:[edi], eax
call fcn.0040ce92
add esp, 8
test eax, eax
je 0x404732
lea esp, [esp]
mov cl, byte [eax + 1]
test cl, cl
lea edi, [eax + 1]
je 0x404732
mov cl, byte [eax + 2]
test cl, cl
je 0x404732
mov cl, byte [eax + 3]
test cl, cl
je 0x404732
lea edx, [esp + ebx*4 + 0x2b0]
push edx
mov byte [eax], 0
lea eax, [esp + ebx*4 + 0xb4]
push eax
lea ecx, [esp + ebx*4 + 0x4b8]
push ecx
push 0x417398
push esi
call fcn.0040cf50
mov esi, edi
push 0x20
push esi
inc ebx
call fcn.0040ce92
add esp, 0x1c
test eax, eax
jne 0x4046e2
lea edx, [esp + ebx*4 + 0x2b0]
push edx
lea eax, [esp + ebx*4 + 0xb4]
push eax
lea ecx, [esp + ebx*4 + 0x4b8]
push ecx
push 0x417398
push esi
call fcn.0040cf50
add esp, 0x14
inc ebx
cmp ebx, 3
jne 0x40489c
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
lea ecx, [ebx + 3]
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jl 0x404799
test eax, eax
jne 0x40477e
mov eax, 0x80
mov edx, dword [esp + 0x14]
add eax, eax
mov dword [esp + 0x30], eax
shl eax, 5
push eax
push edx
call fcn.0040cf84
add esp, 8
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
lea ecx, [esi + 3]
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x4047d0
test eax, eax
jne 0x4047b5
mov eax, 0x80
mov ecx, dword [esp + 0x18]
add eax, eax
mov dword [esp + 0x24], eax
shl eax, 2
push eax
push ecx
call fcn.0040cf84
add esp, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
lea edi, [eax + esi*4]
mov eax, dword [esp + 0x14]
mov ecx, ebx
xor edx, edx
shl ecx, 5
lea eax, [ecx + eax + 8]
mov esi, dword [esp + edx*4 + 0x4b0]
test esi, esi
je 0x404816
jge 0x4047f9
mov ecx, ebx
sub ecx, esi
jmp 0x4047fc
lea ecx, [esi - 1]
mov esi, dword [esp + 0x2c]
lea ecx, [ecx + ecx*2]
lea ecx, [esi + ecx*4]
mov esi, dword [ecx]
mov dword [eax - 8], esi
mov esi, dword [ecx + 4]
mov dword [eax - 4], esi
mov ecx, dword [ecx + 8]
mov dword [eax], ecx
mov esi, dword [esp + edx*4 + 0x2b0]
test esi, esi
je 0x404849
jge 0x40482b
mov ecx, dword [esp + 0x28]
sub ecx, esi
jmp 0x40482e
lea ecx, [esi - 1]
mov esi, dword [esp + 0x34]
lea ecx, [ecx + ecx*2]
lea ecx, [esi + ecx*4]
mov esi, dword [ecx]
mov dword [eax + 4], esi
mov esi, dword [ecx + 4]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 8]
mov dword [eax + 0xc], ecx
mov esi, dword [esp + edx*4 + 0xb0]
test esi, esi
je 0x404876
jge 0x40485e
mov ecx, dword [esp + 0x38]
sub ecx, esi
jmp 0x404861
lea ecx, [esi - 1]
mov esi, dword [esp + 0x1c]
mov esi, dword [esi + ecx*8]
mov dword [eax + 0x10], esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + ecx*8 + 4]
mov dword [eax + 0x14], ecx
lea ecx, [edx + ebx]
mov dword [edi], ecx
inc edx
add eax, 0x20
add edi, 4
cmp edx, 3
jl 0x4047e6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
jmp 0x404b80
cmp ebx, 4
jne 0x404a0a
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
lea ecx, [esi + 4]
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jl 0x4048dc
test eax, eax
jne 0x4048c1
mov eax, 0x80
mov ecx, dword [esp + 0x14]
add eax, eax
mov dword [esp + 0x30], eax
shl eax, 5
push eax
push ecx
call fcn.0040cf84
add esp, 8
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
lea ecx, [ebx + 6]
cmp ecx, eax
mov dword [esp + 0xc], ecx
jl 0x404919
test eax, eax
jne 0x4048f8
mov eax, 0x80
add eax, eax
lea edx, [eax*4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.0040cf84
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x40491d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
shl esi, 5
lea ecx, [esi + ecx + 8]
xor edi, edi
jmp 0x404932
mov esi, dword [esp + edi + 0x4b0]
test esi, esi
je 0x404964
jge 0x404947
mov edx, dword [esp + 0x20]
sub edx, esi
jmp 0x40494a
lea edx, [esi - 1]
mov esi, dword [esp + 0x2c]
lea edx, [edx + edx*2]
lea edx, [esi + edx*4]
mov esi, dword [edx]
mov dword [ecx - 8], esi
mov esi, dword [edx + 4]
mov dword [ecx - 4], esi
mov edx, dword [edx + 8]
mov dword [ecx], edx
mov esi, dword [esp + edi + 0x2b0]
test esi, esi
je 0x404997
jge 0x404979
mov edx, dword [esp + 0x28]
sub edx, esi
jmp 0x40497c
lea edx, [esi - 1]
mov esi, dword [esp + 0x34]
lea edx, [edx + edx*2]
lea edx, [esi + edx*4]
mov esi, dword [edx]
mov dword [ecx + 4], esi
mov esi, dword [edx + 4]
mov dword [ecx + 8], esi
mov edx, dword [edx + 8]
mov dword [ecx + 0xc], edx
mov esi, dword [esp + edi + 0xb0]
test esi, esi
je 0x4049ca
jge 0x4049ac
mov edx, dword [esp + 0x38]
sub edx, esi
jmp 0x4049af
lea edx, [esi - 1]
mov esi, dword [esp + 0x1c]
fld dword [0x417394]
mov esi, dword [esi + edx*8]
mov dword [ecx + 0x10], esi
mov esi, dword [esp + 0x1c]
fsub dword [esi + edx*8 + 4]
fstp dword [ecx + 0x14]
add edi, 4
add ecx, 0x20
cmp edi, 0x10
jl 0x404932
mov edx, dword [esp + 0x10]
lea ecx, [edx + 2]
mov dword [eax + ebx*4], edx
lea esi, [edx + 1]
mov dword [eax + ebx*4 + 0x10], edx
add edx, 3
mov dword [eax + ebx*4 + 8], ecx
mov dword [eax + ebx*4 + 0x14], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + ebx*4 + 4], esi
mov dword [eax + ebx*4 + 0xc], edx
mov eax, dword [esp + 0x3c]
jmp 0x404b7c
jle 0x404b84
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
lea ecx, [ebx + edx]
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jl 0x404a47
test eax, eax
jne 0x404a2c
mov eax, 0x80
add eax, eax
mov dword [esp + 0x30], eax
shl eax, 5
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.0040cf84
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
lea edi, [ebx - 2]
lea edx, [ecx + edi*2]
lea ecx, [edi + edx]
cmp ecx, eax
mov dword [esp + 0x6c], ecx
jl 0x404a84
test eax, eax
jne 0x404a69
mov eax, 0x80
mov ecx, dword [esp + 0x18]
add eax, eax
mov dword [esp + 0x24], eax
shl eax, 2
push eax
push ecx
call fcn.0040cf84
add esp, 8
mov dword [esp + 0x18], eax
xor esi, esi
test ebx, ebx
jle 0x404b46
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
shl edx, 5
lea eax, [edx + eax + 8]
jmp 0x404aa2
mov edx, dword [esp + esi*4 + 0x4b0]
test edx, edx
je 0x404ad4
jge 0x404ab7
mov ecx, dword [esp + 0x20]
sub ecx, edx
jmp 0x404aba
lea ecx, [edx - 1]
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*4]
mov edx, dword [ecx]
mov dword [eax - 8], edx
mov edx, dword [ecx + 4]
mov dword [eax - 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax], ecx
mov edx, dword [esp + esi*4 + 0x2b0]
test edx, edx
je 0x404b07
jge 0x404ae9
mov ecx, dword [esp + 0x28]
sub ecx, edx
jmp 0x404aec
lea ecx, [edx - 1]
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + 0x34]
lea ecx, [ecx + edx*4]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + esi*4 + 0xb0]
test edx, edx
je 0x404b3a
jge 0x404b1c
mov ecx, dword [esp + 0x38]
sub ecx, edx
jmp 0x404b1f
lea ecx, [edx - 1]
mov edx, dword [esp + 0x1c]
fld dword [0x417394]
mov edx, dword [edx + ecx*8]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x1c]
fsub dword [edx + ecx*8 + 4]
fstp dword [eax + 0x14]
inc esi
add eax, 0x20
cmp esi, ebx
jl 0x404aa2
test edi, edi
jle 0x404b74
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
lea eax, [eax + edx*4]
lea ecx, [esi + 2]
mov edx, edi
lea esp, [esp]
lea edi, [ecx - 1]
mov dword [eax + 8], ecx
mov dword [eax], esi
mov dword [eax + 4], edi
add eax, 0xc
inc ecx
dec edx
jne 0x404b62
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
push 0x4173c8
push 0
call fcn.0040d0ec
mov esi, eax
add esp, 8
test esi, esi
jne 0x404562
mov edx, dword [esp + 0x48]
push edx
call fcn.0040ce7d
mov eax, dword [esp + 0x6b4]
push 0x417390
push eax
call fcn.0040d5df
mov ebx, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
xor edi, edi
mov dword [esp + 0x70], ecx
add esp, 0xc
cmp ebx, edi
setne dl
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x10]
mov esi, eax
cmp ecx, 0xffff
setg al
mov byte [esp + 0x60], al
mov eax, 0x55555556
mov byte [esp + 0x61], dl
imul dword [esp + 0xc]
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp ecx, edi
mov byte [esp + 0x63], 0
mov byte [esp + 0x62], 0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x68], 0x20
mov byte [esp + 0x64], 1
mov dword [esp + 0x54], 1
mov dword [esp + 0x5c], edi
mov dword [esp + 0x20], edi
jle 0x404c98
mov edi, dword [esp + 0x14]
add edi, 4
fld dword [edi + 4]
mov ecx, dword [esp + 0x20]
sub esp, 0x18
fstp qword [esp + 0x10]
lea edx, [esp + 0x870]
fld dword [edi]
fstp qword [esp + 8]
fld dword [edi - 4]
fstp qword [esp]
push ecx
push 0x417380
push edx
call fcn.0040ce25
add esp, 0x24
lea eax, [esp + 0x858]
push eax
call dword [fcn.00416020]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
inc eax
add edi, 0x20
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x404c46
mov dx, word [0x41737c]
push esi
xor eax, eax
mov ecx, 0x68
lea edi, [esp + 0x6bc]
rep stosd dword es:[edi], eax
mov ecx, dword [0x417378]
xor edi, edi
push 0x10
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x78]
push 1
push eax
mov dword [esp + 0x6c8], ecx
mov word [esp + 0x6cc], dx
mov dword [esp + 0x81c], edi
mov dword [esp + 0x820], edi
mov dword [esp + 0x834], 0x3f800000
mov dword [esp + 0x838], 0x3f800000
mov dword [esp + 0x83c], 0x3f800000
mov dword [esp + 0x840], 0x3f800000
mov dword [esp + 0x844], edi
mov dword [esp + 0x848], edi
mov dword [esp + 0x84c], edi
mov dword [esp + 0x850], 0x3f800000
mov dword [esp + 0x824], 0x3f800000
mov dword [esp + 0x828], 0x3f800000
mov dword [esp + 0x82c], 0x3f800000
mov dword [esp + 0x830], 0x3f800000
mov dword [esp + 0x854], edi
mov dword [esp + 0x858], edi
mov dword [esp + 0x85c], edi
mov dword [esp + 0x860], 0x3f800000
mov dword [esp + 0x864], 0x41800000
mov dword [esp + 0x9c], edi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edi
mov dword [esp + 0x80], 0x18644421
mov dword [esp + 0x84], edi
mov dword [esp + 0x8c], 0x10
mov dword [esp + 0x88], edi
call fcn.0040cbb5
push 4
lea ecx, [esp + 0x6c4]
push 0x417370
push ecx
mov dword [esp + 0x6d0], 0x1c
call fcn.0040ccc2
push esi
push 1
lea edx, [esp + 0x6d4]
push 8
push edx
call fcn.0040cbb5
push esi
push 0x1c
lea eax, [esp + 0x84]
push 1
push eax
call fcn.0040cbb5
mov word [esp + 0x6ec], di
mov word [esp + 0x6ee], di
mov ecx, dword [esp + 0x6ec]
mov byte [esp + 0x6f0], 2
mov byte [esp + 0x6f2], 0
mov byte [esp + 0x6f3], 0
mov byte [esp + 0x6f1], 0
mov edx, dword [esp + 0x6f0]
mov dword [esp + 0xcc], ecx
mov word [esp + 0x6ec], di
mov byte [esp + 0x6f0], 2
mov byte [esp + 0x6f2], 3
mov byte [esp + 0x6f3], 0
mov byte [esp + 0x6f1], 0
mov ecx, dword [esp + 0x6f0]
mov word [esp + 0x6ee], 0xc
mov eax, dword [esp + 0x6ec]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov byte [esp + 0x6f0], 1
mov byte [esp + 0x6f2], 5
mov byte [esp + 0x6f3], 0
mov byte [esp + 0x6f1], 0
mov eax, dword [esp + 0x6f0]
mov word [esp + 0x6ec], di
mov word [esp + 0x6ee], 0x18
mov edx, dword [esp + 0x6ec]
push 4
mov dword [esp + 0xe4], eax
mov byte [esp + 0x6f4], 0x11
mov byte [esp + 0x6f6], 0
mov byte [esp + 0x6f7], 0
mov byte [esp + 0x6f5], 0
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x6f4]
mov word [esp + 0x6f0], 0xff
mov word [esp + 0x6f2], di
mov ecx, dword [esp + 0x6f0]
lea eax, [esp + 0x6f0]
push 0x417368
push eax
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], edx
mov dword [esp + 0x6fc], 0x20
call fcn.0040ccc2
add esp, 0x48
push esi
push 1
lea ecx, [esp + 0x6b8]
push 8
push ecx
call fcn.0040cbb5
push esi
push 4
lea edx, [esp + 0xa8]
push 8
push edx
call fcn.0040cbb5
push 4
mov eax, ebx
lea ecx, [esp + 0x6d4]
shl eax, 5
push 0x417360
push ecx
mov dword [esp + 0x6e0], eax
call fcn.0040ccc2
push esi
push 1
lea edx, [esp + 0x6e4]
push 8
push edx
call fcn.0040cbb5
mov eax, dword [esp + 0x50]
push esi
push ebx
push 0x20
push eax
call fcn.0040cbb5
mov al, byte [esp + 0xac]
add esp, 0x4c
test al, al
push 4
je 0x405022
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0x6b4]
lea ecx, [ebx*4]
push 0x417358
push edx
mov dword [esp + 0x6c0], ecx
call fcn.0040ccc2
push esi
push 1
lea eax, [esp + 0x6c4]
push 8
push eax
call fcn.0040cbb5
mov ecx, dword [esp + 0x34]
push esi
push 4
push ebx
push ecx
call fcn.0040cbb5
add esp, 0x2c
jmp 0x405091
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x6b4]
lea eax, [edx + edx]
push 0x417350
push ecx
mov dword [esp + 0x6c0], eax
call fcn.0040ccc2
push esi
push 1
lea edx, [esp + 0x6c4]
push 8
push edx
call fcn.0040cbb5
mov eax, dword [esp + 0x28]
add esp, 0x1c
xor ebx, ebx
cmp eax, edi
jle 0x405091
nop
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov cx, word [eax + ebx*4]
push esi
push 1
lea edx, [esp + 0x6b8]
push 2
push edx
mov dword [esp + 0x6c0], ecx
call fcn.0040cbb5
mov eax, dword [esp + 0x1c]
add esp, 0x10
inc ebx
cmp ebx, eax
jl 0x405062
push 4
lea eax, [esp + 0x6b4]
push 0x417348
push eax
mov dword [esp + 0x6c0], 0x10
call fcn.0040ccc2
push esi
push 1
lea ecx, [esp + 0x6c4]
push 8
push ecx
call fcn.0040cbb5
push esi
push 0x10
lea edx, [esp + 0xa4]
push 1
push edx
call fcn.0040cbb5
push 4
lea eax, [esp + 0x6e0]
push 0x417340
push eax
mov dword [esp + 0x6ec], edi
call fcn.0040ccc2
push esi
push 1
lea ecx, [esp + 0x6f0]
push 8
push ecx
call fcn.0040cbb5
add esp, 0x48
push esi
push 0x1a0
lea edx, [esp + 0x6c0]
push 1
push edx
call fcn.0040cbb5
push esi
call fcn.0040d2e2
push edi
push edi
push esi
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 6
call fcn.0040d43b
push esi
push 0x10
lea eax, [esp + 0x98]
push 1
push eax
call fcn.0040cbb5
push esi
call fcn.0040d1a3
mov ecx, dword [esp + 0x8f8]
add esp, 0x34
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0040ce17
mov esp, ebp
pop ebp
ret