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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b44f3
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x4eb018]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push esi
push edi
mov eax, dword [0x4eb018]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 1
mov edi, esi
mov dword [esp + 0x1c], esi
call fcn.004400d0
xor ebx, ebx
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x48284e
mov ecx, dword [eax + 0x40]
mov edi, 0x41220
call fcn.004519f0
test eax, eax
je 0x48287d
mov eax, dword [0x4f887c]
push eax
mov dword [esp + 0x24], eax
call dword [0x4b7124]
mov edi, dword [esp + 0x14]
add edi, 0x20
push edi
call dword [0x4b70d4]
mov eax, dword [edi]
test eax, eax
jg 0x482843
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
push edx
call fcn.00442230
mov eax, dword [esp + 0x20]
push eax
call dword [0x4b7128]
push 0x20
call dword [0x4b736c]
add esp, 4
cmp eax, ebx
je 0x482ebb
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
jmp 0x482ebd
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x48], ebx
je 0x4828a2
mov eax, dword [ecx + 0x48]
mov edx, dword [eax + 0x2c]
sub edx, dword [eax + 0x28]
test edx, 0xfffffffc
jne 0x4828a2
mov ebx, ecx
call fcn.00443bc0
xor ebx, ebx
jmp 0x48284e
cmp byte [esi + 0x434], bl
je 0x4828ae
mov byte [ecx + 5], 1
mov eax, dword [esi + 0x430]
add eax, 0xb8
push eax
call dword [0x4b7124]
mov edi, dword [esi + 0x430]
add edi, 0xd8
lea eax, [esp + 0x14]
call fcn.0040d3f0
mov ecx, dword [esi + 0x430]
add ecx, 0xb8
push ecx
call dword [0x4b7128]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x48]
mov edi, dword [eax + 0x2c]
sub edi, dword [eax + 0x28]
mov eax, dword [esi + 0x418]
sar edi, 2
mov byte [esp + 0x1f], bl
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
cmp eax, edi
jge 0x482e28
mov eax, dword [esi + 0x430]
mov eax, dword [eax + 0x1c]
cmp eax, 5
je 0x482c6e
cmp eax, 6
je 0x482c6e
cmp eax, 3
je 0x482e21
cmp eax, 4
je 0x482e21
mov eax, dword [esp + 0x14]
call fcn.00443b50
push 0x20
call dword [0x4b736c]
add esp, 4
cmp eax, ebx
je 0x482970
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
jmp 0x482972
xor eax, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov dword [eax], 0xf
mov dword [eax + 4], ecx
mov dword [eax + 0x10], edx
mov ecx, dword [ecx + 0x48]
mov ebx, dword [ecx + 0x2c]
sub ebx, dword [ecx + 0x28]
sar ebx, 2
cmp edx, ebx
jge 0x48299e
mov ecx, dword [ecx + 0x28]
mov edx, dword [ecx + edx*4]
jmp 0x4829a0
xor edx, edx
mov dword [eax + 0xc], edx
mov ebx, dword [esi + 0x430]
mov edx, dword [ebx + 0x20]
push edx
call fcn.00457170
mov ebx, eax
test bl, 7
je 0x482ada
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov esi, dword [eax + 0x48]
call fcn.00449a10
test al, al
je 0x482c60
push 0x20
call dword [0x4b736c]
xor edx, edx
add esp, 4
cmp eax, edx
je 0x4829ff
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
jmp 0x482a01
xor eax, eax
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x430]
mov esi, dword [esp + 0x14]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x10
mov dword [eax + 4], esi
mov ecx, dword [esi + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x48]
mov ebx, dword [ecx + 0x2c]
sub ebx, dword [ecx + 0x28]
sar ebx, 2
cmp edi, ebx
jge 0x482a3c
mov edx, dword [ecx + 0x28]
mov ecx, dword [edx + edi*4]
jmp 0x482a3e
xor ecx, ecx
mov ebx, dword [eax + 0x1c]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov ecx, dword [ebx + 0x20]
push ecx
call fcn.00457170
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
sete al
cmp ecx, 1
setg cl
mov byte [esp + 0x1f], 1
test al, al
je 0x482a9d
test cl, cl
je 0x482a85
cmp dword [esi + 0x90], 8
lea eax, [esi + 0x7c]
jb 0x482a87
mov eax, dword [eax]
jmp 0x482a87
xor eax, eax
fld1
push ecx
mov edx, eax
fstp dword [esp]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x430]
push 1
jmp 0x482acd
cmp dword [esi + 0x90], 8
lea eax, [esi + 0x7c]
jb 0x482aab
mov eax, dword [eax]
fild dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x430]
fidiv dword [esp + 0x24]
mov edx, eax
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp]
push 0
call fcn.00481b00
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x24], 0
jne 0x482c16
cmp edi, 1
jle 0x482c16
lea edx, [esp + 0x94]
push edx
call fcn.00482690
lea eax, [esp + 0xcc]
push eax
mov eax, esi
mov dword [esp + 0x184], 5
call fcn.00402a60
push esi
lea ecx, [esp + 0x13c]
mov dword [esp + 0xec], 1
call fcn.0043aab0
add esp, 4
mov edi, eax
lea esi, [esp + 0x94]
mov byte [esp + 0x180], 6
call fcn.00402a90
lea esi, [esp + 0x138]
mov byte [esp + 0x180], 5
call fcn.0040d660
mov ebx, dword [esp + 0x18]
mov eax, ebx
lea ecx, [esp + 0x154]
call fcn.0043a260
mov edi, eax
lea esi, [esp + 0xb0]
mov byte [esp + 0x180], 7
call fcn.00402a90
lea esi, [esp + 0x154]
mov byte [esp + 0x180], 5
call fcn.0040d660
mov edx, dword [ebx + 0x420]
mov ecx, dword [ebx + 0x41c]
mov eax, dword [ebx + 0x428]
mov dword [esp + 0xf0], edx
mov edx, dword [ebx + 0x430]
mov dword [esp + 0xec], ecx
mov ecx, dword [ebx + 0x42c]
add edx, 0xb8
push edx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
call dword [0x4b7124]
mov eax, dword [ebx + 0x430]
cmp dword [eax + 0x88], 0
ja 0x482c2e
add eax, 0xb8
push eax
call dword [0x4b7128]
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0x184], 0xffffffff
call fcn.004826f0
mov edi, dword [esp + 0x20]
mov esi, ebx
mov eax, dword [esp + 0x24]
inc eax
xor ebx, ebx
mov dword [esp + 0x24], eax
cmp eax, edi
jl 0x482912
jmp 0x482e21
lea edi, [eax + 0x84]
lea eax, [esp + 0x94]
call fcn.004853a0
mov ecx, dword [ebx + 0x430]
add ecx, 0xb8
push ecx
call dword [0x4b7128]
lea edx, [esp + 0x94]
push edx
jmp 0x482e0b
mov ebx, dword [esp + 0x14]
call fcn.00443bc0
jmp 0x482e1b
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
xor edx, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], ax
mov eax, esi
mov dword [esp + 0x180], 2
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x482cb0
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x68]
call fcn.00402c00
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x80], ecx
push ebx
lea ecx, [esp + 0x120]
call fcn.0043aab0
add esp, 4
mov edi, eax
lea esi, [esp + 0x2c]
mov byte [esp + 0x180], 3
call fcn.00402a90
mov byte [esp + 0x180], 2
cmp dword [esp + 0x130], 8
jb 0x482d20
mov edx, dword [esp + 0x11c]
push edx
call dword [0x4b734c]
add esp, 4
mov eax, ebx
lea ecx, [esp + 0x100]
call fcn.0043a260
mov edi, eax
lea esi, [esp + 0x48]
mov byte [esp + 0x180], 4
call fcn.00402a90
mov byte [esp + 0x180], 2
cmp dword [esp + 0x114], 8
jb 0x482d64
mov eax, dword [esp + 0x100]
push eax
call dword [0x4b734c]
add esp, 4
mov edx, dword [ebx + 0x420]
mov ecx, dword [ebx + 0x41c]
mov eax, dword [ebx + 0x428]
mov dword [esp + 0x88], edx
mov edx, dword [ebx + 0x430]
mov dword [esp + 0x84], ecx
mov ecx, dword [ebx + 0x42c]
add edx, 0xb8
push edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
call dword [0x4b7124]
mov esi, dword [ebx + 0x430]
mov eax, dword [esi + 0x84]
mov edi, dword [eax]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x2c]
push eax
push ecx
push edi
call fcn.004858b0
mov ecx, dword [esi + 0x88]
mov edx, 0x2762761
sub edx, ecx
cmp edx, 1
jae 0x482de5
push 0x4dacb0
call dword [0x4b71e0]
inc ecx
mov dword [esi + 0x88], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [ebx + 0x430]
add eax, 0xb8
push eax
call dword [0x4b7128]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x184], 0xffffffff
call fcn.004826f0
mov esi, dword [esp + 0x18]
xor ebx, ebx
cmp byte [esp + 0x1f], 0
jne 0x482e83
push 0x20
call dword [0x4b736c]
add esp, 4
cmp eax, ebx
je 0x482e50
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
jmp 0x482e52
xor eax, eax
mov edx, dword [esp + 0x14]
mov dword [eax], 0xe
mov dword [eax + 4], edx
mov ebx, dword [esi + 0x430]
mov ecx, dword [ebx + 0x20]
push ecx
call fcn.00457170
fld1
push ecx
fstp dword [esp]
mov ecx, dword [esi + 0x430]
push 1
xor edx, edx
call fcn.00481b00
mov eax, dword [0x4f887c]
push eax
mov ebx, eax
call dword [0x4b7124]
mov edi, dword [esp + 0x14]
add edi, 0x20
push edi
call dword [0x4b70d4]
mov edx, dword [edi]
test edx, edx
jg 0x482eb2
mov eax, dword [ebx + 0x18]
push eax
mov eax, dword [esp + 0x18]
call fcn.00442230
push ebx
call dword [0x4b7128]
jmp 0x482eea
xor eax, eax
mov dword [eax], 0x11
mov dword [eax + 4], ebx
mov ebx, dword [esi + 0x430]
mov ecx, dword [ebx + 0x20]
push ecx
call fcn.00457170
fld1
push ecx
fstp dword [esp]
mov ecx, dword [esi + 0x430]
push 1
xor edx, edx
call fcn.00481b00
push esi
call fcn.0043dfc0
add esp, 4
test eax, eax
je 0x482f13
mov edx, dword [esi - 8]
lea eax, [esi - 8]
mov ecx, 0xacadface
mov dword [eax + 4], ecx
push eax
mov dword [eax + edx + 8], ecx
call dword [0x4b7308]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.004ab7a3
mov esp, ebp
pop ebp
ret 4