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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5348d0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5801d4]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xa4]
mov eax, dword [ecx + 0x184]
mov edx, dword [ecx + 0x18c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
call fcn.0046bee0
test eax, eax
je 0x48a628
mov ecx, dword [esi + 0xa4]
mov eax, dword [ecx + 0x1a8]
mov edi, dword [esi + 0x7c]
imul edi, dword [0x589ce0]
push 0
push eax
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0046aaf0
mov ecx, dword [esi + 0xa4]
mov edx, dword [ecx + 0x1ac]
push 0
push edx
lea eax, [esp + 0x7c]
push eax
lea edx, [esp + 0x78]
push edx
call fcn.0046aaf0
mov ecx, dword [esi + 0x78]
mov eax, dword [esp + 0x6c]
mov edx, dword [0x589ccc]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esi + 0x64]
sub eax, ecx
inc eax
imul eax, edx
sub ebp, ecx
add eax, ebx
imul ebp, edx
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax + 0x1ac]
sub ecx, dword [eax + 0x1a8]
mov eax, dword [esi + 0x60]
add ebp, ebx
mov ebx, eax
sub ebx, edi
add ebx, dword [esp + 0x14]
inc ecx
cmp eax, ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], ebp
jle 0x48a28d
mov dword [esp + 0x54], eax
jmp 0x48a299
mov ebx, eax
sub ebx, edi
add ebx, dword [esp + 0x14]
mov dword [esp + 0x54], ebx
sub eax, edi
add eax, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x48a593
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax + 0x1a8]
mov ebp, dword [eax + 0x2e0]
mov eax, dword [eax + 0x198]
add ecx, ebx
shl ecx, 5
mov ecx, dword [ecx + ebp + 0x10]
mov dword [esp + 0x64], ecx
lea ecx, [ebx + ebx*2]
mov ebp, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x1c], eax
xor eax, eax
mov ecx, 0x54ddc8
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esi + 0x64]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
mov byte [esp + 0xa8], 2
mov dword [esp + 0x28], eax
jg 0x48a332
mov dword [esp + 0x28], ecx
add edx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
call dword [0x53d1e0]
push eax
lea ecx, [esp + 0x5c]
call fcn.004e2a2d
cmp ebp, dword [esp + 0x48]
jne 0x48a39c
mov eax, dword [0x589074]
mov ecx, dword [esi + 0x60]
imul eax, ebp
mov edx, ecx
sub edx, edi
add edx, eax
cmp ecx, edx
jle 0x48a37e
mov dword [esp + 0x24], ecx
jmp 0x48a386
sub eax, edi
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
add eax, ebp
imul eax, dword [0x589074]
sub eax, edi
add eax, ecx
jmp 0x48a456
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esi + 0xa4]
push edx
call fcn.00482000
mov ecx, dword [esi + 0xa4]
mov eax, dword [esi + 0x60]
mov edx, dword [esp + 0x40]
push 0
add ecx, 0x108
push ecx
push ebp
mov dword [esp + 0x7c], eax
mov eax, dword [0x5a9d14]
push edx
push eax
call fcn.004668d0
mov ecx, eax
mov eax, dword [esp + 0x84]
mov edx, eax
sub edx, edi
add ecx, edx
add esp, 0x14
cmp eax, ecx
jg 0x48a418
mov eax, dword [esi + 0xa4]
mov ecx, dword [esp + 0x40]
mov edx, dword [0x5a9d14]
push 0
add eax, 0x108
push eax
push ebp
push ecx
push edx
call fcn.004668d0
mov ecx, dword [esi + 0x60]
sub ecx, edi
add esp, 0x14
add eax, ecx
mov edx, dword [esi + 0xa4]
mov ecx, dword [esp + 0x40]
push 0
add edx, 0x108
push edx
mov edx, dword [0x5a9d14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
push eax
push ecx
push edx
call fcn.004668d0
mov ecx, dword [0x589074]
imul ecx, dword [esp + 0x30]
sub ecx, edi
add eax, ecx
add esp, 0x14
add eax, dword [esi + 0x60]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x30], eax
call dword [0x53d1e0]
push eax
lea ecx, [esp + 0x50]
call fcn.004e2a2d
push 0
push 0
push 0
push 0
call dword [0x53d1a4]
push eax
lea ecx, [esp + 0x38]
call fcn.004e2a2d
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
push 3
push eax
push ecx
push edx
call dword [0x53d1a0]
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [0x53d19c]
push esi
lea ecx, [esp + 0x8c]
call fcn.004e27f3
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xac], 3
call fcn.004e2436
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push 0x550009
sub eax, edx
push eax
mov eax, dword [esp + 0x94]
sub ecx, ebp
push ecx
push edx
push ebp
push eax
call dword [0x53d198]
push 0
lea ecx, [esp + 0x8c]
call fcn.004e2436
mov eax, dword [esp + 0x64]
test eax, eax
jle 0x48a517
add ebx, eax
lea ecx, [esp + 0x88]
mov byte [esp + 0xa8], 2
call fcn.004e2847
mov ebp, 0x54ddc8
lea ecx, [esp + 0x34]
mov byte [esp + 0xa8], 1
mov dword [esp + 0x34], ebp
call fcn.004030b0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 0
mov dword [esp + 0x4c], ebp
call fcn.004030b0
lea ecx, [esp + 0x58]
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0x58], ebp
call fcn.004030b0
mov edx, dword [0x589ccc]
add dword [esp + 0x3c], edx
inc dword [esp + 0x14]
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x48a2b5
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x60]
mov edi, dword [esi + 0x138]
mov edx, dword [esi + 0x64]
add ecx, dword [esp + 0x18]
add edi, eax
mov dword [esp + 0x80], edi
mov edi, dword [esi + 0x13c]
add edi, edx
mov dword [esp + 0x7c], edx
mov edx, dword [esi + 0x7c]
imul edx, dword [0x589ce0]
mov dword [esp + 0x78], eax
sub eax, edx
mov ebx, eax
mov eax, dword [esi + 0x20]
push eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x24], ecx
call dword [0x53d6ec]
mov ecx, dword [0x57c864]
mov edi, eax
push ecx
push edi
call dword [0x53d234]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push edx
push ebp
push ebx
push edi
mov ecx, esi
call fcn.00483750
mov eax, dword [esp + 0x44]
push eax
push edi
call dword [0x53d234]
mov ecx, dword [esi + 0x20]
push edi
push ecx
call dword [0x53d6f0]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret