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

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0xa4]
xor ebp, ebp
push edi
cmp dword [ecx + 0x9c], ebp
je 0x48aef1
mov eax, dword [ecx + 0x2ac]
jmp 0x48af0c
cmp dword [ecx + 0x78], ebp
jne 0x48af06
cmp dword [ecx + 0x84], ebp
jne 0x48af06
mov eax, dword [ecx + 0x294]
jmp 0x48af0c
mov eax, dword [ecx + 0x15c]
mov edi, dword [esp + 0x50]
dec eax
cmp edi, eax
jge 0x48af19
mov eax, edi
jmp 0x48af45
cmp dword [ecx + 0x9c], ebp
je 0x48af29
mov eax, dword [ecx + 0x2ac]
jmp 0x48af44
cmp dword [ecx + 0x78], ebp
jne 0x48af3e
cmp dword [ecx + 0x84], ebp
jne 0x48af3e
mov eax, dword [ecx + 0x294]
jmp 0x48af44
mov eax, dword [ecx + 0x15c]
dec eax
cmp eax, ebp
jge 0x48af51
mov dword [esp + 0x50], ebp
mov edi, ebp
jmp 0x48afb3
cmp dword [ecx + 0x9c], ebp
je 0x48af61
mov eax, dword [ecx + 0x2ac]
jmp 0x48af7c
cmp dword [ecx + 0x78], ebp
jne 0x48af76
cmp dword [ecx + 0x84], ebp
jne 0x48af76
mov eax, dword [ecx + 0x294]
jmp 0x48af7c
mov eax, dword [ecx + 0x15c]
dec eax
cmp edi, eax
jl 0x48afb3
cmp dword [ecx + 0x9c], ebp
je 0x48af91
mov eax, dword [ecx + 0x2ac]
jmp 0x48afac
cmp dword [ecx + 0x78], ebp
jne 0x48afa6
cmp dword [ecx + 0x84], ebp
jne 0x48afa6
mov eax, dword [ecx + 0x294]
jmp 0x48afac
mov eax, dword [ecx + 0x15c]
dec eax
mov dword [esp + 0x50], eax
mov edi, eax
cmp dword [esi + 0x11c], ebp
je 0x48afe4
mov eax, dword [esi + 0x70]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x130]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x134]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
push ebp
push edi
lea eax, [esi + 0x6c]
push eax
lea ebx, [esi + 0x70]
push ebx
mov dword [esp + 0x20], ebp
mov dword [esi + 0x74], ebp
call fcn.00469150
mov ecx, dword [esi + 0xa4]
push edi
call fcn.00483200
mov ecx, dword [0x5b35e8]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xa4]
push edi
mov dword [esp + 0x2c], eax
call fcn.00482000
mov eax, dword [ebx]
mov ecx, dword [esi + 0xa4]
push edi
push eax
call fcn.0046c860
mov ecx, dword [esi + 0xa4]
mov edi, eax
mov dword [esp + 0x2c], edi
mov ebx, edi
mov dword [esp + 0x14], edi
cmp dword [ecx + 0x9c], ebp
je 0x48b056
mov eax, dword [ecx + 0x2ac]
jmp 0x48b071
cmp dword [ecx + 0x78], ebp
jne 0x48b06b
cmp dword [ecx + 0x84], ebp
jne 0x48b06b
mov eax, dword [ecx + 0x294]
jmp 0x48b071
mov eax, dword [ecx + 0x15c]
lea edx, [eax - 1]
mov eax, dword [esp + 0x50]
cmp eax, edx
jge 0x48b08b
inc eax
push eax
call fcn.00469060
mov dword [esp + 0x18], ebp
test eax, eax
jne 0x48b093
mov dword [esp + 0x18], 1
cmp edi, dword [esi + 0x140]
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x20], eax
jge 0x48b192
mov edi, dword [esp + 0x1c]
lea ebx, [ebx]
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
jl 0x48b0e2
cmp dword [esp + 0x28], 0
je 0x48b18e
cmp dword [esp + 0x18], 0
je 0x48b18e
mov ebp, dword [0x589074]
inc dword [esi + 0x74]
jmp 0x48b180
mov edx, 9
cmp dx, word [edi]
jne 0x48b103
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax + 0x108]
mov eax, ebx
cdq
idiv ecx
sub ecx, edx
mov ebp, ecx
jmp 0x48b161
movzx eax, word [edi]
mov dword [esp + 0x1c], eax
movzx eax, ax
cmp word [eax*2 + 0x589d10], 0
lea eax, [eax*2 + 0x589d10]
jne 0x48b15e
mov eax, dword [0x5a9d14]
lea ecx, [esp + 0x44]
push ecx
push 1
lea edx, [esp + 0x24]
push edx
push eax
call dword [0x53d21c]
cmp dword [0x589d08], 0
je 0x48b14a
mov ecx, dword [0x589cec]
sub dword [esp + 0x44], ecx
movzx eax, word [esp + 0x1c]
mov dx, word [esp + 0x44]
lea eax, [eax*2 + 0x589d10]
mov word [eax], dx
movzx ebp, word [eax]
push edi
call dword [0x53d8d8]
mov ecx, eax
sub ecx, edi
mov edi, eax
mov eax, dword [esi + 0x6c]
sar ecx, 1
mov dword [esp + 0x20], eax
add eax, ecx
add dword [esp + 0x10], ecx
mov dword [esi + 0x6c], eax
add ebx, ebp
cmp ebx, dword [esi + 0x140]
jl 0x48b0b0
mov edi, dword [esp + 0x2c]
mov eax, dword [esi + 0x140]
cmp ebx, eax
jle 0x48b1cb
mov ecx, ebx
sub ecx, eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
dec eax
cmp ecx, eax
jle 0x48b1cb
mov eax, dword [esi + 0x74]
mov ebx, dword [esp + 0x14]
test eax, eax
jle 0x48b1bd
dec eax
mov dword [esi + 0x74], eax
jmp 0x48b1cb
cmp dword [esp + 0x10], 0
jle 0x48b1cb
mov edx, dword [esp + 0x20]
mov dword [esi + 0x6c], edx
cmp ebx, edi
jg 0x48b1d1
mov ebx, edi
mov eax, dword [esi + 0x7c]
imul eax, dword [0x589ce0]
mov ecx, ebx
sub ecx, eax
mov eax, dword [esi + 0x74]
mov dword [esi + 0x130], ecx
test eax, eax
jle 0x48b1f5
imul eax, dword [0x589074]
sub ebx, eax
mov edi, dword [esi + 0xa4]
cmp dword [edi + 0x78], 0
je 0x48b22f
cmp dword [edi + 0xa8], 0
jne 0x48b22f
mov eax, dword [esi + 0x138]
add eax, 0xfffffffe
cmp eax, ecx
mov edx, eax
jl 0x48b21b
mov edx, ecx
test edx, edx
jge 0x48b223
xor eax, eax
jmp 0x48b229
cmp eax, ecx
jl 0x48b229
mov eax, ecx
mov dword [esi + 0x130], eax
mov eax, dword [esp + 0x50]
sub eax, dword [esi + 0x78]
imul eax, dword [0x589ccc]
mov dword [esi + 0x134], eax
mov edx, dword [0x589ce0]
shl edx, 5
add ebx, edx
cmp ebx, dword [edi + 0xe4]
jle 0x48b25c
mov dword [edi + 0xe4], ebx
cmp dword [esi + 0x11c], 0
je 0x48b2ed
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x140], eax
mov eax, dword [esi + 0x15c]
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], edx
cmp eax, dword [esi + 0x130]
jne 0x48b2a4
mov ecx, dword [esi + 0x160]
cmp ecx, dword [esi + 0x134]
je 0x48b2cf
cmp eax, 0xffffffff
je 0x48b2b0
mov ecx, esi
call fcn.00483440
mov edx, dword [esi + 0x130]
mov eax, dword [esi + 0x134]
mov ecx, esi
mov dword [esi + 0x15c], edx
mov dword [esi + 0x160], eax
call fcn.00483440
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
pop edi
mov dword [esi + 0x130], ecx
mov dword [esi + 0x134], edx
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
cmp dword [esi + 0xf4], 0
je 0x48b300
mov eax, dword [esi + 0x20]
push eax
call dword [0x53d608]
mov ecx, esi
call fcn.004810b0
test eax, eax
jne 0x48b312
mov ecx, esi
call fcn.004821e0
mov ecx, esi
call fcn.00483440
mov ecx, dword [0x5b2f68]
cmp dword [ecx + 0x1678], 1
jne 0x48b32f
mov ecx, esi
call fcn.00488840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4