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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4f4
fild dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
fstp qword [esp + 0x44]
mov eax, dword [ebx + 0xebd50]
push edi
test edx, edx
mov dword [esp + 0x50], eax
jle 0x46f687
mov esi, dword [ebp + 0xc]
mov ecx, edx
lea edi, [esp + 0x230]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x48]
fcomp qword [0x4dbda0]
fnstsw ax
test ah, 1
je 0x46f6a2
fld qword [esp + 0x48]
fchs
fstp qword [esp + 0x48]
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp ecx, eax
je 0x46f6b5
fld qword [esp + 0x48]
fchs
fstp qword [esp + 0x48]
cmp edx, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], eax
jle 0x46fd09
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0x170]
lea edx, [esp + 0x230]
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x74]
lea edx, [esp + 0x34]
mov eax, dword [eax]
push ecx
and eax, 0xff
lea ecx, [esp + 0x40]
add eax, edi
push edx
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.00470140
test eax, eax
je 0x470128
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + esi*4 + 0xf7258]
mov eax, dword [ebx + esi*4 + 0xf7078]
mov dword [esp + 0x40], edx
mov edx, dword [edx + ecx*4]
mov dword [esp + 0x58], eax
mov edi, dword [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x40]
shl ecx, 2
sub eax, edi
mov dword [esp + 0xc], eax
mov eax, dword [ecx + edx]
mov edx, dword [esp + 0x20]
fild dword [esp + 0xc]
sub eax, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + edx]
mov edx, dword [esp + 0x40]
fild dword [esp + 0xc]
sub eax, edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
mov edx, dword [edx + eax*4]
mov eax, dword [esp + 0x20]
fmulp st(1)
fild dword [esp + 0xc]
sub edx, eax
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fmulp st(1)
fsubp st(1)
fcomp qword [0x4dbda0]
fnstsw ax
test ah, 1
jne 0x46f7bb
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x46f7bb
mov eax, dword [esp + 0x3c]
dec eax
jmp 0x46f7c0
mov eax, dword [esp + 0x3c]
inc eax
xor edx, edx
cmp dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edi
setle dl
dec edx
mov dword [esp + 0x3c], eax
and edx, 0xfffffffe
mov eax, dword [ebx + esi*4 + 0xf7078]
inc edx
push 0xffffffffffffffff
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
mov eax, dword [eax + ecx]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + esi*4 + 0xf7258]
push 0xffffffffffffffff
push 0
mov edx, dword [edx + ecx]
mov dword [esp + 0x2c], edx
mov edx, eax
sub edx, edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x2c]
fild dword [esp + 0x18]
sub edx, edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
fild dword [esp + 0x18]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fld st(0)
fsqrt
fld qword [esp + 0x54]
fmul qword [esp + 0x54]
fmul qword [0x4e12f8]
fsubp st(2)
fxch st(1)
fsqrt
fmul qword [esp + 0x54]
fld st(1)
fmul st(2)
fdivp st(1)
fst qword [esp + 0x6c]
fxch st(1)
fstp st(0)
fld st(0)
fmul st(1)
fsubr qword [0x4de5e8]
fsqrt
fstp qword [esp + 0x74]
fstp qword [edx]
mov edx, dword [esp + 0x60]
mov dword [esp + edx*4 + 0x8c], edi
mov edi, dword [esp + 0x28]
mov dword [esp + edx*4 + 0x104], edi
inc edx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x30]
add edx, 8
mov dword [esp + 0x30], edx
mov edx, dword [ebx + esi*4 + 0xf7438]
add edx, ecx
mov edi, dword [edx]
and edi, 0xe
or edi, 1
mov dword [edx], edi
mov edx, dword [ebx + esi*4 + 0xf7438]
mov ecx, dword [ecx + edx]
mov edx, dword [esp + 0x2c]
push ecx
mov edi, dword [esp + 0x28]
push edx
push eax
push edi
mov ecx, ebx
call fcn.00455610
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc edx
test eax, eax
mov dword [esp + 0x38], edx
jle 0x46f8e4
inc ecx
mov dword [esp + 0x34], ecx
test eax, eax
mov dword [esp + 0x2c], ecx
jle 0x46f909
cmp ecx, dword [esp + 0x3c]
jge 0x46f907
lea edx, [esi + esi*4]
lea edx, [esi + edx*2]
shl edx, 4
movsx edx, word [edx + ebx + 0xf1d56]
mov dword [esp + 0x2c], edx
test eax, eax
jge 0x46f91b
cmp ecx, dword [esp + 0x3c]
jle 0x46f919
mov dword [esp + 0x2c], 0xffffffff
test eax, eax
jle 0x46f923
mov eax, dword [esp + 0x10]
add edi, eax
cmp edi, dword [esp + 0x2c]
je 0x46f9fd
fild dword [esp + 0x14]
fstp qword [esp + 0x58]
fild dword [esp + 0x1c]
fstp qword [esp + 0x40]
fld qword [esp + 0x68]
fld qword [esp + 0x60]
mov ecx, dword [ebx + esi*4 + 0xf7078]
mov edx, dword [ebx + esi*4 + 0xf7258]
lea eax, [ecx + edi*4]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
fild dword [esp + 0xc]
sub ecx, eax
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fld st(1)
fmul st(4)
fld st(1)
fmul st(4)
fsubp st(1)
fadd qword [esp + 0x58]
fcom qword [0x4dbda0]
fnstsw ax
test ah, 1
jne 0x46f99e
fadd qword [0x4dbd98]
jmp 0x46f9a4
fsub qword [0x4dbd98]
call fcn.0049b2ac
fmul st(3)
fxch st(1)
fmul st(2)
mov ecx, dword [esp + 0x18]
faddp st(1)
mov dword [ecx], eax
fadd qword [esp + 0x40]
fcom qword [0x4dbda0]
fnstsw ax
test ah, 1
jne 0x46f9d0
fadd qword [0x4dbd98]
jmp 0x46f9d6
fsub qword [0x4dbd98]
call fcn.0049b2ac
mov edx, dword [ebx + esi*4 + 0xf7258]
mov ecx, dword [esp + 0x10]
mov dword [edx + edi*4], eax
mov eax, dword [esp + 0x2c]
add edi, ecx
cmp edi, eax
jne 0x46f945
mov ecx, dword [esp + 0x34]
jmp 0x46fa05
fld qword [esp + 0x68]
fld qword [esp + 0x60]
cmp edi, ecx
je 0x46faed
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x46fa19
xor edi, edi
jmp 0x46fa2b
lea eax, [esi + esi*4]
lea edx, [esi + eax*2]
shl edx, 4
movsx edi, word [edx + ebx + 0xf1d56]
dec edi
cmp edi, ecx
je 0x46faed
fild dword [esp + 0x14]
fild dword [esp + 0x1c]
mov eax, dword [ebx + esi*4 + 0xf7078]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + esi*4 + 0xf7258]
lea eax, [eax + edi*4]
mov ecx, dword [ecx + edi*4]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
fild dword [esp + 0xc]
sub ecx, eax
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fld st(1)
fmul st(6)
fld st(1)
fmul st(6)
fsubp st(1)
fadd st(4)
fcom qword [0x4dbda0]
fnstsw ax
test ah, 1
jne 0x46fa92
fadd qword [0x4dbd98]
jmp 0x46fa98
fsub qword [0x4dbd98]
call fcn.0049b2ac
fmul st(5)
fxch st(1)
fmul st(4)
mov edx, dword [esp + 0x18]
faddp st(1)
mov dword [edx], eax
fadd st(1)
fcom qword [0x4dbda0]
fnstsw ax
test ah, 1
jne 0x46fac2
fadd qword [0x4dbd98]
jmp 0x46fac8
fsub qword [0x4dbd98]
call fcn.0049b2ac
mov ecx, dword [ebx + esi*4 + 0xf7258]
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
add edi, ecx
cmp edi, eax
jne 0x46fa3b
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
cmp ecx, eax
jge 0x46fce5
mov edx, dword [esp + 0x30]
fild dword [esp + 0x14]
fild dword [esp + 0x1c]
add edx, 4
sub eax, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + esi*4 + 0xf7078]
mov edx, dword [ebx + esi*4 + 0xf7258]
mov edi, dword [eax]
mov eax, dword [esp + 0x38]
and edi, 0xff
add edi, eax
lea eax, [ecx + edi*4]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
fild dword [esp + 0xc]
sub ecx, eax
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fld st(1)
fmul st(6)
fld st(1)
fmul st(6)
fsubp st(1)
fadd st(4)
fcom qword [0x4dbda0]
fnstsw ax
test ah, 1
jne 0x46fb7e
fadd qword [0x4dbd98]
jmp 0x46fb84
fsub qword [0x4dbd98]
call fcn.0049b2ac
fmul st(5)
fxch st(1)
fmul st(4)
mov ecx, dword [esp + 0x18]
faddp st(1)
mov dword [ecx], eax
fadd st(1)
fcom qword [0x4dbda0]
fnstsw ax
test ah, 1
jne 0x46fbae
fadd qword [0x4dbd98]
jmp 0x46fbb4
fsub qword [0x4dbd98]
call fcn.0049b2ac
mov edx, dword [ebx + esi*4 + 0xf7258]
mov dword [edx + edi*4], eax
mov eax, dword [ebx + esi*4 + 0xf7438]
mov eax, dword [eax + edi*4]
and al, 0xf
neg al
sbb eax, eax
and al, 0xfe
inc eax
mov dword [esp + 0x10], eax
add edi, eax
mov ecx, dword [ebx + esi*4 + 0xf7078]
mov edx, dword [ebx + esi*4 + 0xf7258]
lea eax, [ecx + edi*4]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
sub eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
fild dword [esp + 0xc]
sub ecx, eax
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fld st(1)
fmul st(6)
fld st(1)
fmul st(6)
fsubp st(1)
fadd st(4)
fcom qword [0x4dbda0]
fnstsw ax
test ah, 1
jne 0x46fc33
fadd qword [0x4dbd98]
jmp 0x46fc39
fsub qword [0x4dbd98]
call fcn.0049b2ac
fmul st(5)
fxch st(1)
fmul st(4)
mov ecx, dword [esp + 0x18]
faddp st(1)
mov dword [ecx], eax
fadd st(1)
fcom qword [0x4dbda0]
fnstsw ax
test ah, 1
jne 0x46fc63
fadd qword [0x4dbd98]
jmp 0x46fc69
fsub qword [0x4dbd98]
call fcn.0049b2ac
mov edx, dword [ebx + esi*4 + 0xf7258]
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov dword [edx + edi*4], eax
jge 0x46fc8f
mov eax, dword [ebx + esi*4 + 0xf7438]
test byte [eax + edi*4], 0xf
je 0x46fcc7
test ecx, ecx
jle 0x46fcc0
lea edx, [esi + esi*4]
lea eax, [esi + edx*2]
shl eax, 4
add eax, ebx
movsx edx, word [eax + 0xf1d56]
movsx eax, word [eax + 0xf1d5a]
lea edx, [edx + eax - 1]
cmp edi, edx
je 0x46fcc7
mov eax, dword [ebx + esi*4 + 0xf7438]
test byte [eax + edi*4 + 4], 0xf
je 0x46fcc7
add edi, ecx
jmp 0x46fbdc
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
add ecx, 4
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], eax
jne 0x46fb15
fstp st(0)
fstp st(0)
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
add edi, 4
inc eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], eax
dec eax
fstp st(0)
cmp eax, ecx
fstp st(0)
jl 0x46f6e7
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x470128
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x170]
xor eax, eax
mov dword [esp + 0x40], 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
jmp 0x46fd38
mov eax, dword [esp + 0x30]
mov esi, dword [esp + eax + 0x230]
mov ecx, dword [esp + 0x38]
and esi, 0xff
add esi, ecx
mov ecx, dword [esp + eax + 0x80]
mov eax, dword [esp + eax + 0xf8]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + edi*4 + 0xf7438]
mov dword [esp + 0xc], eax
mov edx, esi
mov dword [esp + 0x10], esi
mov al, byte [ecx + esi*4]
mov dword [esp + 0x14], edx
test al, 0xf
je 0x46fefe
push 0x6f
mov ecx, ebx
call fcn.0044a9c0
mov edx, dword [ebx + edi*4 + 0xf7078]
mov eax, dword [ebx + 0xf7234]
mov ecx, dword [edx + esi*4]
mov dword [eax], ecx
mov edx, dword [ebx + edi*4 + 0xf7258]
mov eax, dword [ebx + 0xf7414]
mov ecx, dword [edx + esi*4]
mov dword [eax], ecx
mov edx, dword [ebx + edi*4 + 0xf7438]
mov eax, dword [ebx + 0xf75f4]
mov ecx, dword [edx + esi*4]
mov dword [eax], ecx
mov edx, dword [ebx + edi*4 + 0xf7438]
mov eax, 1
test byte [edx + esi*4], 0xf
je 0x46fe1d
mov ecx, dword [ebx + edi*4 + 0xf7078]
mov edx, dword [ebx + 0xf7234]
dec esi
inc eax
mov ecx, dword [ecx + esi*4]
mov dword [edx + eax*4 - 4], ecx
mov edx, dword [ebx + edi*4 + 0xf7258]
mov ecx, dword [ebx + 0xf7414]
mov edx, dword [edx + esi*4]
mov dword [ecx + eax*4 - 4], edx
mov ecx, dword [ebx + edi*4 + 0xf7438]
mov edx, dword [ebx + 0xf75f4]
mov ecx, dword [ecx + esi*4]
mov dword [edx + eax*4 - 4], ecx
mov edx, dword [ebx + edi*4 + 0xf7438]
test byte [edx + esi*4], 0xf
jne 0x46fdce
mov dword [esp + 0x10], esi
mov ecx, dword [ebx + 0xf75f4]
mov dword [esp + 0x18], esi
mov dword [ecx + eax*4 - 4], 1
mov edx, dword [ebx + 0xf75f4]
mov eax, dword [esp + 0x14]
cmp esi, eax
mov dword [edx], 0
jg 0x46fef0
lea esi, [esi + esi*2]
mov dword [esp + 0x24], 0
lea eax, [esi + esi*4]
lea eax, [eax + eax*8]
shl eax, 2
mov dword [esp + 0x28], eax
xor eax, eax
mov edx, dword [ebx + 0xf7234]
mov ecx, dword [esp + 0x50]
mov edi, dword [edx + eax]
mov esi, dword [ebx + ecx*4 + 0xf7078]
mov edx, dword [esp + 0x10]
add eax, 4
mov dword [esi + edx*4], edi
mov esi, dword [ebx + 0xf7414]
mov edi, dword [ebx + ecx*4 + 0xf7258]
mov esi, dword [esi + eax - 4]
mov dword [edi + edx*4], esi
mov esi, dword [ebx + 0xf75f4]
mov edi, dword [ebx + ecx*4 + 0xf7438]
mov esi, dword [esi + eax - 4]
mov dword [edi + edx*4], esi
mov esi, dword [esp + 0x24]
mov edi, dword [ebx + 0xf77d4]
add esi, edi
mov edi, dword [esp + 0x28]
add edi, dword [ebx + ecx*4 + 0xf7618]
mov ecx, dword [esp + 0x28]
add ecx, 0x21c
inc edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
add ecx, 0x21c
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ecx
mov ecx, 0x87
rep movsd dword es:[edi], dword [esi]
cmp edx, dword [esp + 0x14]
jle 0x46fe61
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov edx, eax
lea ecx, [edi + edi*4]
lea eax, [edx + 1]
lea ecx, [edi + ecx*2]
shl ecx, 4
add ecx, ebx
movsx esi, word [ecx + 0xf1d56]
movsx ecx, word [ecx + 0xf1d5a]
add esi, ecx
cmp eax, esi
jge 0x46ff37
mov ecx, dword [ebx + edi*4 + 0xf7438]
lea ecx, [ecx + eax*4]
test byte [ecx], 0xf
je 0x46ff37
inc eax
add ecx, 4
cmp eax, esi
jl 0x46ff2a
lea esi, [eax - 1]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
dec esi
fld qword [eax]
cmp esi, edx
mov dword [esp + 0x2c], 1
fst qword [esp + 0x60]
fld st(0)
fmul st(1)
fsubr qword [0x4de5e8]
fsqrt
fstp qword [esp + 0x68]
fstp st(0)
jl 0x47009a
mov ecx, dword [esp + 0x18]
fild dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
fstp qword [esp + 0x48]
fild dword [esp + 0xc]
lea edx, [eax*4]
mov eax, esi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
fstp qword [esp + 0x78]
sub eax, edx
add eax, 2
mov dword [esp + 0x2c], eax
mov edx, dword [ebx + edi*4 + 0xf7438]
mov ecx, dword [ebx + edi*4 + 0xf7258]
mov eax, dword [ebx + edi*4 + 0xf7078]
push 0xffffffffffffffff
mov edx, dword [edx + esi*4]
mov ecx, dword [ecx + esi*4]
mov eax, dword [eax + esi*4]
push 0xffffffffffffffff
push 0
push edx
push ecx
mov dword [esp + 0x24], eax
push eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
push eax
mov ecx, ebx
call fcn.00455610
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0xc]
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
fild dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld st(1)
fmul qword [esp + 0x68]
fld st(1)
fmul qword [esp + 0x60]
fsubp st(1)
fadd qword [esp + 0x48]
fcom qword [0x4dbda0]
fnstsw ax
test ah, 1
jne 0x470026
fadd qword [0x4dbd98]
jmp 0x47002c
fsub qword [0x4dbd98]
call fcn.0049b2ac
fmul qword [esp + 0x68]
fxch st(1)
fmul qword [esp + 0x60]
mov ecx, dword [ebx + edi*4 + 0xf7078]
mov edx, dword [esp + 0x28]
faddp st(1)
mov dword [ecx + edx], eax
fadd qword [esp + 0x78]
fcom qword [0x4dbda0]
fnstsw ax
test ah, 1
jne 0x470064
fadd qword [0x4dbd98]
jmp 0x47006a
fsub qword [0x4dbd98]
call fcn.0049b2ac
mov edx, dword [ebx + edi*4 + 0xf7258]
mov ecx, dword [esp + 0x28]
dec esi
mov dword [edx + ecx], eax
mov eax, dword [esp + 0x14]
add ecx, 4
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
inc ecx
cmp esi, eax
mov dword [esp + 0x24], ecx
jge 0x46ffa0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + edi*4 + 0xf7438]
dec eax
mov dword [esp + 0x2c], eax
add eax, ecx
mov dword [edx + eax*4], 1
mov edx, dword [esp + 0x40]
cmp edx, dword [ebp + 8]
jge 0x470100
mov eax, dword [esp + 0x30]
lea ecx, [esp + eax + 0x234]
cmp edx, 1
jl 0x4700f1
mov eax, dword [ecx]
mov esi, dword [esp + 0x38]
and eax, 0xff
add esi, eax
cmp esi, dword [esp + 0x14]
jle 0x4700f1
mov esi, dword [esp + 0x2c]
add esi, eax
and esi, 0xff
mov dword [ecx], esi
mov eax, dword [ebp + 8]
inc edx
add ecx, 4
cmp edx, eax
jl 0x4700cb
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
add eax, 4
add esi, 8
inc edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], edx
dec edx
mov dword [esp + 0x1c], esi
cmp edx, eax
jl 0x46fd34
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10