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

Disassembly:
push 0xffffffffffffffff
push 0x56f73b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x12c]
mov dword [esp + 0x14], ebp
cmp eax, ebx
je 0x4829df
cmp eax, 1
je 0x4829df
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
mov esi, dword [ebp + 0x130]
mov edx, dword [esp + 0x80]
add eax, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
xor edi, edi
mov dword [esp + 0x40], eax
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
jle 0x48296b
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
je 0x482963
mov edx, dword [ecx]
push 1
call dword [edx + 8]
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x482952
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.004e95a0
mov eax, dword [ebp + 0x90]
lea ecx, [ebp + 0x90]
call dword [eax + 0x30]
mov ecx, dword [eax + 0xe0]
lea eax, [esp + 0x54]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
lea eax, [ecx + eax + 8]
lea ecx, [ebp + 0x3c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x18], eax
call fcn.00525750
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x482bf6
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 0x3c]
call fcn.004ef0c0
cmp eax, ebx
je 0x482a16
add eax, 0xffffffc4
mov dword [esp + 0x1c], eax
jmp 0x482a1a
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x10], 1
mov eax, dword [eax + 0x64]
cmp eax, ebx
je 0x48290f
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
call dword [edx + 0x14]
test eax, eax
jne 0x48290f
mov ecx, ebp
call fcn.00482890
mov dword [esp + 0x20], eax
jmp 0x482913
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x3c]
lea ecx, [edx + 0x3c]
call dword [eax + 0x14]
test eax, eax
jne 0x482bec
mov esi, dword [ebp + 0x130]
push 0xac
call fcn.00545379
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
cmp edi, ebx
mov dword [esp + 0x6c], ebx
je 0x482a7b
mov ecx, edi
call fcn.0042f2c0
push ebx
mov ecx, edi
mov byte [esp + 0x70], 1
mov dword [edi], 0x588024
call fcn.0042f6f0
push 1
mov ecx, edi
mov dword [eax + 8], ebx
call fcn.0042f6f0
mov dword [eax + 8], ebx
jmp 0x482a7d
xor edi, edi
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
mov dword [esp + 0x74], 0xffffffff
call fcn.004877b0
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x98], esi
add ecx, 0x3c
call fcn.00525750
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x482b50
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
lea ecx, [eax + 0x3c]
call fcn.004ef0c0
cmp eax, ebx
je 0x482ac9
lea esi, [eax - 0x1c]
jmp 0x482acb
xor esi, esi
mov eax, dword [edi + 0x5c]
push ebx
push eax
mov ecx, edi
call fcn.0042f8a0
mov ecx, dword [esp + 0x1c]
mov ebp, eax
mov dword [ebp + 0x3c], esi
mov eax, dword [ecx + 0x154]
cmp eax, esi
jne 0x482af2
mov edx, dword [edi]
push ebp
mov ecx, edi
call dword [edx + 0x20]
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x58]
mov eax, dword [eax]
mov ecx, ebp
push eax
mov dword [esp + 0x70], 2
call fcn.0042e210
lea ecx, [esp + 0x2c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0054942e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
push eax
mov ecx, ebp
call fcn.0042e2c0
mov ecx, esi
call fcn.0043cc90
and eax, 1
mov ecx, ebp
push eax
call fcn.0042e3e0
cmp dword [esp + 0x24], ebx
jne 0x482aaf
mov ebp, dword [esp + 0x14]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov esi, dword [esp + 0x78]
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], esi
mov esi, dword [esp + 0x8c]
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x90]
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x94]
mov dword [ecx + 0xc], esi
mov ecx, dword [esp + 0x84]
push ecx
push edi
mov ecx, eax
call dword [edx + 0x58]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
lea edx, [edi + 0x9c]
mov dword [edi + 0x9c], eax
mov eax, dword [esp + 0x80]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [edx + 0xc], esi
je 0x482bd5
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
add eax, edx
add ecx, eax
mov dword [esp + 0x7c], ecx
jmp 0x482bec
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
add eax, edx
add ecx, eax
mov dword [esp + 0x78], ecx
cmp dword [esp + 0x28], ebx
jne 0x4829c5
lea ecx, [ebp + 0x3c]
call fcn.004843d0
cmp dword [eax + 0x74], ebx
je 0x482e8c
cmp dword [esp + 0x10], ebx
jne 0x482c17
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x34]
jmp 0x482c1f
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
sub eax, ecx
sub eax, esi
push ebx
mov dword [ebp + 0x148], eax
add ebp, 0x90
mov ecx, ebp
call fcn.0042f6f0
push 1
mov ecx, ebp
mov esi, eax
call fcn.0042f6f0
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x482c68
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
xor ecx, ecx
cmp eax, edx
setg cl
mov dword [esp + 0x1c], ecx
jmp 0x482c7e
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
xor eax, eax
cmp edx, ecx
setg al
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], ebx
je 0x482cd0
mov eax, 2
mov ecx, dword [esp + 0x34]
mov dword [esi + 8], eax
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
neg eax
sbb eax, eax
sub esp, 0x10
mov edx, esp
and eax, ebp
push eax
mov eax, dword [ebp]
mov dword [edx], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x68]
push edx
mov ecx, ebp
call dword [eax + 0x30]
mov ecx, eax
call fcn.004340d0
jmp 0x482d1e
mov dword [esi + 8], ebx
sub esp, 0x10
mov dword [edi + 8], ebx
mov ebx, esp
xor eax, eax
xor ecx, ecx
mov dword [ebx], eax
xor edx, edx
xor ebp, ebp
mov dword [ebx + 4], ecx
mov ecx, esi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ebp
call fcn.0042e940
sub esp, 0x10
xor eax, eax
mov ebx, esp
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, edi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], esi
call fcn.0042e940
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xa4], esi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x78], edx
test eax, eax
mov dword [esp + 0x7c], ebx
je 0x482e8c
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0xa4]
test esi, esi
jge 0x482d9e
mov eax, dword [esp + 0x10]
test eax, eax
mov eax, ebp
jne 0x482d5c
mov eax, edi
mov ecx, dword [edx + 0x148]
mov edx, eax
sub edx, dword [esp + 0x18]
add esi, ecx
sub edx, dword [esp + 0x20]
sub edx, 0x18
cmp esi, edx
jge 0x482d9a
mov esi, dword [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub eax, ecx
xor ecx, ecx
sub eax, esi
add eax, 0xffffffe8
test eax, eax
setg cl
dec ecx
and eax, ecx
mov dword [edx + 0xa4], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x482db8
mov ebx, dword [edx + 0xa4]
mov eax, dword [esp + 0x38]
add ebx, eax
mov dword [esp + 0x7c], ebx
jmp 0x482dc8
mov eax, dword [edx + 0xa4]
mov ecx, dword [esp + 0x34]
add eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x130]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 8]
test edx, edx
jle 0x482e8c
mov eax, dword [eax + 4]
mov esi, dword [eax + ecx*4]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x482e00
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x18]
mov ebp, eax
add ebp, ecx
add ebp, ebx
jmp 0x482e15
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x78]
mov edi, eax
mov eax, dword [esp + 0x18]
add edi, ecx
add edi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ebx, dword [esp + 0x78]
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], ebx
mov ebx, dword [esp + 0x8c]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], ebp
mov ecx, dword [esp + 0x84]
push ecx
push esi
mov ecx, eax
call dword [edx + 0x58]
mov edx, dword [esp + 0x78]
add esi, 0x9c
mov eax, dword [esp + 0x10]
mov dword [esi], edx
test eax, eax
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebp
je 0x482e6c
mov ebx, ebp
mov dword [esp + 0x7c], ebx
jmp 0x482e70
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc ecx
mov eax, dword [eax + 0x130]
mov dword [esp + 0x24], ecx
cmp ecx, dword [eax + 8]
jl 0x482ddf
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0x14