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

Disassembly:
sub esp, 0xd8
mov eax, dword [esp + 0xe8]
push ebx
mov edx, dword [esp + 0xe8]
push ebp
push esi
mov esi, dword [esp + 0xec]
mov ebx, ecx
mov ecx, dword [eax*4 + 0x520f58]
mov ebp, dword [esp + 0xf8]
add ecx, esi
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax*4 + 0x520f48]
add ecx, edx
push edi
lea eax, [eax + eax*2]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + ebp*4 + 0x1c8]
xor edi, edi
lea edx, [esp + 0x78]
inc ecx
dec esp
and al, 0x34
shl eax, 2
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], eax
jmp 0x48211f
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xec]
mov eax, dword [eax + edi + 0x520f18]
mov ecx, dword [ebx + ecx*4 + 0x34c]
imul eax, ecx
cdq
sub eax, edx
mov edx, ecx
imul edx, dword [esp + 0xf0]
sar eax, 1
lea esi, [eax + edx]
mov eax, dword [esp + 0x18]
mov dword [esp + edi + 0x54], esi
mov dword [esp + 0x28], esi
mov eax, dword [eax + edi + 0x520ee8]
imul eax, ecx
imul ecx, dword [esp + 0xf4]
cdq
sub eax, edx
mov edx, dword [ebx + 0x134]
sar eax, 1
add ecx, eax
mov eax, esi
sub eax, edx
mov dword [esp + edi + 0x60], ecx
cdq
mov esi, eax
mov edi, ecx
xor esi, edx
mov eax, edi
sub esi, edx
mov edx, dword [ebx + 0x138]
mov ecx, dword [ebx + 0xed0]
sub eax, edx
cdq
xor eax, edx
mov dword [esp + 0x30], edi
sub eax, edx
cmp esi, ecx
jl 0x4821a5
lea esi, [ecx - 1]
mov edx, dword [ebx + 0xed4]
cmp eax, edx
jl 0x4821b2
lea eax, [edx - 1]
imul ecx, eax
mov edx, dword [ebx + 0x374]
add ecx, esi
fld dword [edx + ecx*4]
mov ecx, ebx
fstp dword [esp + 0x1c]
fild dword [ebx + 0xed8]
fild dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
push eax
fdiv st(1)
fstp dword [esp + 0x28]
fild dword [edi + edx*2 + 0x2c]
fdiv st(1)
fstp dword [esp + 0x34]
fstp st(0)
call fcn.00485260
mov ecx, dword [esp + 0x28]
and eax, 0xff
push edi
push ecx
shl eax, 0x18
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.00484d70
mov edx, dword [esp + 0x28]
mov esi, eax
push edi
lea eax, [esp + 0x70]
push edx
push eax
mov ecx, ebx
or esi, 0xff000000
call fcn.00483820
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ecx
add eax, 4
mov ecx, 7
lea esi, [esp + 0x38]
add edx, 0x1c
cmp eax, 0xc
mov dword [esp + 0x2c], eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], edx
jl 0x482117
mov al, byte [esp + 0x100]
test al, al
je 0x482298
mov ecx, dword [esp + 0x104]
mov dword [esp + 0xb4], ecx
jmp 0x4822a6
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x104], edx
mov esi, dword [esp + 0x20]
test esi, esi
jle 0x482587
mov ecx, dword [esp + 0xec]
mov edi, dword [ebx - 0x75]
or al, 3
add byte [eax], al
cmp esi, eax
jge 0x482587
mov edx, dword [esp + 0x10]
test edx, edx
jle 0x482587
cmp edx, dword [ebx + ecx*4 + 0x32c]
jge 0x482587
mov edi, dword [ebx + 0x36c]
imul eax, edx
add eax, dword [edi + ecx*4]
cmp byte [eax + esi], 0
jg 0x482587
test ecx, ecx
jne 0x4824ef
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
mov esi, eax
mov eax, dword [esp + 0x64]
add eax, edx
cdq
sub eax, edx
mov edx, dword [ebx + 0x134]
sar esi, 1
mov ecx, eax
mov eax, esi
sub eax, edx
mov dword [esp + 0x10], esi
cdq
mov edi, eax
xor edi, edx
sar ecx, 1
sub edi, edx
mov edx, dword [ebx + 0x138]
mov eax, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0xed0]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp edi, ecx
jl 0x482356
lea edi, [ecx - 1]
mov edx, dword [ebx + 0xed4]
cmp eax, edx
jl 0x482363
mov edx, dword [esp + 0xf4]
mov esi, dword [esp + 0xf8]
mov eax, dword [esp + 0xf0]
lea edi, [edx + edx]
mov edx, dword [esp + 0x104]
push edx
mov edx, dword [esi*8 + 0x520ec8]
push 1
push ebp
push edx
mov edx, dword [esi*8 + 0x520ea8]
add edx, edi
add eax, eax
push edx
mov edx, dword [esi*8 + 0x520e88]
add edx, eax
dec ecx
push edx
mov dword [esp + 0x38], ecx
push ecx
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.004815a0
mov eax, dword [esp + 0x104]
mov edx, dword [esi*8 + 0x520eac]
mov ecx, dword [esi*8 + 0x520ecc]
push eax
mov eax, dword [esi*8 + 0x520e8c]
push 1
push ebp
add edx, edi
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x24]
add eax, edx
push eax
push ecx
mov ecx, ebx
call fcn.004815a0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xd8
ret 0x1c
lea edx, [esp + 0x78]
mov dword [esp + 0x18], 3
mov eax, dword [ebx + ebp*4 + 0x1c8]
mov esi, edx
add edx, 0x1c
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebx + ebp*4 + 0x188]
lea edi, [eax + ecx*4]
mov eax, dword [esp - 0x69]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + ebp*4 + 0x1c8]
inc esi
dec eax
mov dword [ebx + ebp*4 + 0x1c8], esi
mov dword [esp + 0x18], eax
jne 0x482593
mov eax, dword [ebx + ebp*4 + 0x1e8]
mov ecx, dword [esp + 0x34]
lea edx, [eax + eax*2]
mov eax, dword [ebx + ebp*4 + 0x1a8]
mov word [eax + edx*2], cx
mov eax, dword [ebx + ebp*4 + 0x1e8]
mov esi, dword [ebx + ebp*4 + 0x1a8]
lea edx, [ecx + 1]
lea eax, [eax + eax*2]
add ecx, 2
mov word [esi + eax*2 + 2], dx
mov eax, dword [ebx + ebp*4 + 0x1e8]
lea edx, [eax + eax*2]
mov eax, dword [ebx + ebp*4 + 0x1a8]
mov word [eax + edx*2 + 4], cx