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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
push edi
mov dword [esp + 0x4c], 1
mov ebp, dword [esi + 4]
mov dword [esp + 0x50], ebp
cmp dword [ebp + 0xf8], 0
mov eax, dword [ebp + 0x17e8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x17ec]
mov dword [esp + 0x30], eax
je 0x482d1d
mov eax, dword [ebp + 0x130]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x134]
mov dword [esp + 0x2c], eax
jmp 0x482d36
xorps xmm0, xmm0
movlpd qword [esp + 0x5c], xmm0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
cmp dword [ebp + 0xfc], 0
mov eax, dword [esi]
mov edx, dword [ebp + 0x110]
mov ebx, dword [ebp + 0x11c]
mov ecx, dword [eax + 8]
mov edi, dword [eax + 0x10]
je 0x482d5b
lea eax, [ebp + 0x1c0]
jmp 0x482d5d
xor eax, eax
mov dword [esp + 0x28], eax
test ecx, ecx
jne 0x482d6b
mov ecx, dword [ebp + 0x124]
test edi, edi
jne 0x482d75
mov edi, dword [ebp + 0x128]
test ebx, ebx
je 0x482d87
mov edi, dword [ebp + 0x118]
lea edi, [edi + ebx]
shr edi, 1
inc edi
jmp 0x482da7
cmp edx, dword [ebp + 0x114]
jne 0x482d9b
test edx, edx
je 0x482d9b
imul edi, ecx
imul edi, edx
jmp 0x482da1
imul edi, ecx
shl edi, 0xc
shr edi, 3
add edi, 0x40
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], edx
movlpd qword [esp + 0x64], xmm0
test ecx, ecx
jne 0x482deb
test eax, eax
jne 0x482deb
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x482fb8
mov dword [esp + 0x44], eax
mov eax, dword [ebx]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], edx
lea edx, [eax - 1]
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
test edx, edx
js 0x482e8c
mov ecx, dword [ebx + 4]
lea eax, [edx + edx*2]
lea eax, [ecx + eax*8]
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
cmp ebx, dword [0x509588]
jne 0x482e45
cmp ecx, dword [0x50958c]
je 0x482e80
cmp dword [eax + 0x10], 0
jbe 0x482e80
cmp dword [esp + 0x2c], 0
ja 0x482e59
cmp dword [esp + 0x24], 0
jbe 0x482e67
cmp ecx, dword [esp + 0x2c]
ja 0x482e80
jb 0x482e67
cmp ebx, dword [esp + 0x24]
jae 0x482e80
cmp ecx, dword [esp + 0x80]
jb 0x482f36
ja 0x482e80
cmp ebx, dword [esp + 0x7c]
jbe 0x482f36
sub eax, 0x18
sub edx, 1
jns 0x482e30
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
xor edx, edx
test eax, eax
jle 0x482f0b
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x7c]
mov eax, dword [esi + 4]
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
cmp ebx, dword [0x509588]
jne 0x482ec6
cmp ecx, dword [0x50958c]
je 0x482ef7
cmp dword [eax + 0x10], 0
jbe 0x482ef7
cmp dword [esp + 0x2c], 0
ja 0x482eda
cmp dword [esp + 0x24], 0
jbe 0x482ee8
cmp ecx, dword [esp + 0x2c]
ja 0x482ef7
jb 0x482ee8
cmp ebx, dword [esp + 0x24]
jae 0x482ef7
cmp ecx, dword [esp + 0x80]
ja 0x482eff
jb 0x482ef7
cmp ebx, ebp
ja 0x482eff
inc edx
add eax, 0x18
cmp edx, dword [esi]
jl 0x482eb1
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
cmp edx, eax
jge 0x482f74
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*2]
mov edx, dword [eax + ecx*8 + 8]
add edx, dword [esp + 0x34]
mov ebx, dword [eax + ecx*8 + 0xc]
mov esi, dword [eax + ecx*8]
mov eax, dword [eax + ecx*8 + 4]
adc ebx, dword [esp + 0x30]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], eax
jmp 0x482f7c
mov ebx, dword [esp + 0x28]
test edx, edx
js 0x482e8c
lea eax, [edx + edx*2]
mov edx, dword [ebx + 4]
mov ecx, dword [edx + eax*8 + 8]
add ecx, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + eax*8 + 0xc]
adc ecx, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx + eax*8]
mov eax, dword [edx + eax*8 + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
jmp 0x482e9c
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x40]
cmp ebx, ecx
jb 0x482fb8
mov eax, dword [esp + 0x38]
ja 0x482f8e
cmp edx, eax
jb 0x482fb8
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
jmp 0x482fd0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
cmp edx, eax
jne 0x482fe6
cmp ebx, ecx
jne 0x482fe6
add edx, 1
mov dword [esp + 0x18], edx
adc ebx, 0
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x7c]
mov dword [ebp + 0x17f0], esi
mov esi, dword [esp + 0x80]
mov dword [ebp + 0x17f4], esi
mov esi, dword [esp + 0x70]
cmp ecx, ebx
ja 0x48336b
jb 0x483013
cmp eax, edx
jae 0x48336b
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
nop dword [eax + eax]
cmp ebp, dword [esp + 0x60]
ja 0x48336b
jb 0x483036
cmp dword [esp + 0x54], ebx
ja 0x48336b
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
sub ecx, eax
sbb edx, dword [esp + 0x10]
call fcn.004bc5e0
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
sbb edx, dword [esp + 0x10]
movsd qword [esp + 0x74], xmm0
call fcn.004bc5e0
movsd xmm1, qword [esp + 0x74]
mov ecx, ebx
divsd xmm1, xmm0
sub ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
sbb edx, ebp
movsd qword [esp + 0x74], xmm1
call fcn.004bc5e0
mulsd xmm0, qword [esp + 0x74]
call fcn.004bc530
mov ecx, eax
mov eax, dword [esp + 0x54]
sub ecx, edi
sbb edx, 0
add ecx, eax
mov dword [esp + 0x74], ecx
adc edx, ebp
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x70], edx
jl 0x4830ce
jg 0x4830ba
cmp ecx, ebx
jb 0x4830ce
mov ecx, ebx
mov ebx, edx
sub ecx, 1
mov dword [esp + 0x74], ecx
sbb ebx, 0
mov dword [esp + 0x70], ebx
jmp 0x4830d2
mov ebx, dword [esp + 0x70]
cmp ebx, ebp
jg 0x4830e8
jl 0x4830dc
cmp ecx, eax
jae 0x4830e8
mov ecx, eax
mov ebx, ebp
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], ebx
mov eax, dword [esi + 4]
push dword [eax + 0x30]
mov eax, dword [eax + 8]
push ebx
push ecx
push esi
call eax
add esp, 0x10
test eax, eax
jne 0x48336b
mov eax, dword [esi + 4]
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov eax, dword [esi + 4]
mov dword [eax + 0xe1c], 0
mov eax, dword [esi + 4]
cmp dword [eax], 0
je 0x48313b
mov eax, dword [esi]
add eax, 0x20
push eax
call fcn.00489240
add esp, 4
mov eax, dword [esi + 4]
push dword [eax + 0x38]
call fcn.00489820
add esp, 4
test eax, eax
mov eax, dword [esi]
je 0x48338a
mov dword [eax], 2
mov eax, dword [esi + 4]
push esi
mov dword [eax + 0x17f8], 0
call fcn.0047fb90
add esp, 4
test eax, eax
je 0x48336b
mov eax, dword [esi + 4]
cmp dword [eax + 0xe24], 0
je 0x48337d
cmp dword [eax + 0xf0], 0
mov ebp, dword [eax + 0xeb4]
jne 0x48319f
cmp dword [eax + 0xf4], 0
je 0x4831c7
mov ecx, dword [eax + 0xe98]
mov edx, 0
add ecx, dword [eax + 0xeb0]
adc edx, ebp
cmp edx, dword [esp + 0x14]
jb 0x4831f6
ja 0x4831c0
cmp ecx, dword [esp + 0x18]
jb 0x4831f6
cmp dword [esp + 0x4c], 0
jne 0x4831f6
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x58]
cmp eax, dword [esp + 0x54]
jne 0x4831dd
cmp ebx, ebp
je 0x48336b
mov ebx, dword [esp + 0x5c]
test edi, edi
je 0x4831ec
add edi, edi
jmp 0x48334d
mov edi, 0x10
jmp 0x48334d
mov dword [esp + 0x4c], 0
cmp ebp, dword [esp + 0x10]
jb 0x48336b
mov edi, dword [eax + 0xeb0]
ja 0x48321a
cmp edi, dword [esp + 0x1c]
jb 0x48336b
cmp dword [esp + 0x80], ebp
ja 0x4832c7
jb 0x483233
cmp dword [esp + 0x7c], edi
jae 0x4832c7
cmp dword [eax], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
jne 0x48336b
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x48336b
push dword [eax + 0x30]
lea eax, [esp + 0x60]
push eax
push esi
call ecx
add esp, 0xc
test eax, eax
jne 0x48336b
mov eax, dword [esi + 4]
push dword [eax + 0x38]
call fcn.004899f0
add esp, 4
test eax, eax
je 0x48336b
mov eax, dword [esi + 4]
push dword [eax + 0x38]
call fcn.00489900
mov ebx, dword [esp + 0x60]
add esp, 4
mov edx, dword [esp + 0x60]
shr eax, 3
sub ebx, eax
mov ecx, ebx
mov dword [esp + 0x5c], ebx
sbb edx, 0
sub ecx, dword [esp + 0x74]
mov eax, edx
mov dword [esp + 0x60], edx
sbb eax, dword [esp + 0x70]
push 0
shld eax, ecx, 1
push 3
add ecx, ecx
push eax
push ecx
call fcn.004bc690
mov ebp, dword [esp + 0x58]
jmp 0x48334a
cmp dword [eax], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
jne 0x48336b
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x48336b
push dword [eax + 0x30]
lea eax, [esp + 0x58]
push eax
push esi
call ecx
add esp, 0xc
test eax, eax
jne 0x48336b
mov eax, dword [esi + 4]
push dword [eax + 0x38]
call fcn.004899f0
add esp, 4
test eax, eax
je 0x48336b
mov eax, dword [esi + 4]
push dword [eax + 0x38]
call fcn.00489900
mov ecx, dword [esp + 0x58]
add esp, 4
mov ebp, dword [esp + 0x58]
shr eax, 3
sub ecx, eax
mov dword [esp + 0x54], ecx
sbb ebp, 0
sub ecx, dword [esp + 0x74]
mov eax, ebp
mov dword [esp + 0x58], ebp
sbb eax, ebx
push 0
shld eax, ecx, 1
push 3
add ecx, ecx
push eax
push ecx
call fcn.004bc690
mov ebx, dword [esp + 0x5c]
lea edi, [eax + 0x10]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x14]
ja 0x48336b
mov eax, dword [esp + 0x1c]
jb 0x483020
cmp eax, dword [esp + 0x18]
jb 0x483020
mov eax, dword [esi]
pop edi
pop esi
pop ebp
mov dword [eax], 6
xor eax, eax
pop ebx
add esp, 0x5c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5c
ret
pop edi
pop esi
pop ebp
mov dword [eax], 8
xor eax, eax
pop ebx
add esp, 0x5c
ret