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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4fa5ac]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
push ebp
mov ebp, dword [esp + 0x6c]
push edi
mov edi, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
test ebp, ebp
jne 0x48b766
mov ecx, dword [esp + 0x6c]
push ecx
push eax
mov ecx, edi
call fcn.0048a570
pop edi
pop ebp
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00439589
add esp, 0x5c
ret 0xc
push ebx
push esi
mov esi, dword [esp + 0x74]
push 1
push esi
push eax
call fcn.0047cf30
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, esi
je 0x48bb90
xor eax, eax
lea edx, [esp + 0x58]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
cmp ebp, 1
jne 0x48b7ab
mov eax, dword [edi + 0x50]
push eax
lea ecx, [esp + 0x4c]
call fcn.00489f80
mov ecx, dword [edi + 0x38]
mov ecx, dword [ecx + 4]
mov eax, esi
sub eax, ebx
cmp byte [edi + 0x54], 0
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
je 0x48b7d5
lea edx, [eax + ecx*2]
mov dword [esp + 0x3c], edx
mov ecx, dword [edi + 0x44]
xor eax, eax
cmp dword [esp + 0x78], 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
jne 0x48b930
cmp dword [esp + 0x34], eax
jle 0x48ba1f
jmp 0x48b800
mov edx, dword [edi + 0x3c]
mov esi, dword [edx + eax*4]
mov dword [esp + 0x28], esi
test esi, esi
je 0x48b91c
mov edx, dword [esp + 0x3c]
movzx ebp, byte [eax + edx]
cmp ebp, 0xff
jne 0x48b82d
add ecx, esi
mov dword [esp + 0x18], ecx
jmp 0x48b91c
cmp ebp, 0xfe
jl 0x48b850
mov al, byte [ecx + esi - 1]
lea ebp, [esi - 1]
and al, 0xc0
cmp al, 0x80
jne 0x48b850
push ebp
push 0
push ecx
call fcn.00459f40
add esp, 0xc
mov ebp, eax
cmp ebp, ebx
jle 0x48b856
mov ebp, ebx
mov edi, esi
sub edi, ebp
cmp edi, dword [esp + 0x14]
jg 0x48b90c
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
sub ecx, ebp
lea edx, [ecx + eax]
sub ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
add ecx, eax
mov dword [esp + 0x20], ecx
nop
mov eax, dword [esp + 0x24]
mov cl, byte [eax]
and cl, 0xc0
cmp cl, 0x80
je 0x48b8ed
mov edx, dword [esp + 0x54]
lea eax, [edx + edi]
mov edx, eax
cmp edx, dword [esp + 0x4c]
jl 0x48b8a1
sub edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
cmp byte [edx + ecx], 0
jne 0x48b8ed
mov edx, dword [esp + 0x18]
nop
mov ecx, dword [esp + 0x20]
mov cl, byte [ecx + edx]
mov bl, byte [edx]
inc edx
cmp cl, bl
jne 0x48b8e5
dec esi
test esi, esi
jg 0x48b8b0
cmp edi, dword [esp + 0x14]
je 0x48bbd5
mov edx, eax
mov eax, dword [esp + 0x4c]
cmp edx, eax
jl 0x48b8d9
sub edx, eax
mov eax, dword [esp + 0x48]
mov byte [edx + eax], 1
inc dword [esp + 0x50]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
test ebp, ebp
je 0x48b90c
mov eax, 1
add dword [esp + 0x24], eax
add dword [esp + 0x20], eax
add edi, eax
sub ebp, eax
cmp edi, dword [esp + 0x14]
jle 0x48b880
add dword [esp + 0x18], esi
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
jl 0x48b800
jmp 0x48ba1f
xor ecx, ecx
xor esi, esi
cmp dword [esp + 0x34], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
jle 0x48ba1f
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x24], edx
lea ecx, [ecx]
mov edx, dword [esp + 0x24]
mov edx, dword [edx]
mov dword [esp + 0x28], edx
test edx, edx
je 0x48b9fb
mov edi, dword [esp + 0x3c]
movzx ebp, byte [eax + edi]
cmp ebp, 0xfe
jl 0x48b974
mov ebp, edx
cmp ebp, ebx
jle 0x48b97a
mov ebp, ebx
mov edi, edx
sub edi, ebp
cmp edi, dword [esp + 0x14]
jg 0x48b9ef
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
sub eax, ebp
add ebx, eax
sub eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
add eax, dword [esp + 0x10]
lea esp, [esp]
cmp ebp, ecx
jl 0x48b9eb
mov ebx, dword [esp + 0x20]
mov bl, byte [ebx]
and bl, 0xc0
cmp bl, 0x80
je 0x48ba83
cmp ebp, ecx
jg 0x48b9c2
cmp edi, esi
jle 0x48ba83
mov ecx, dword [esp + 0x18]
mov esi, edx
mov dl, byte [eax + ecx]
mov bl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x48ba77
dec esi
test esi, esi
jg 0x48b9c8
mov edx, dword [esp + 0x28]
mov esi, edi
mov ecx, ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
mov ebx, dword [esp + 0x1c]
add dword [esp + 0x18], edx
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x24], 4
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
jl 0x48b950
test esi, esi
jne 0x48bb64
test ecx, ecx
jne 0x48bb64
test ebx, ebx
jne 0x48baf7
cmp dword [esp + 0x10], ebx
je 0x48baf7
cmp dword [esp + 0x50], ebx
jne 0x48ba99
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
push 1
push ebp
add eax, esi
push eax
mov ecx, edi
call fcn.0047cf30
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, ebp
je 0x48bb79
test ebx, ebx
je 0x48bb79
add esi, ebx
sub ebp, ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebp
jmp 0x48b7d5
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
inc dword [esp + 0x20]
inc edi
dec ebp
inc eax
cmp edi, dword [esp + 0x14]
jle 0x48b9a0
jmp 0x48b9eb
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
add ecx, edx
call fcn.0048a250
test eax, eax
jle 0x48bb02
cmp eax, esi
je 0x48bbd5
mov ecx, dword [esp + 0x54]
add dword [esp + 0x10], eax
sub esi, eax
add eax, ecx
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
mov dword [esp + 0x14], esi
jl 0x48bad6
sub eax, ecx
mov ecx, dword [esp + 0x48]
cmp byte [eax + ecx], 0
je 0x48bae8
mov byte [eax + ecx], 0
dec dword [esp + 0x50]
xor ebx, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x1c], ebx
jmp 0x48b7d5
cmp dword [esp + 0x50], 0
je 0x48bba7
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
lea eax, [esi + 1]
cmp eax, ecx
jge 0x48bb20
cmp byte [eax + edx], 0
jne 0x48bb54
inc eax
cmp eax, ecx
jl 0x48bb15
xor eax, eax
sub ecx, esi
cmp byte [edx], al
jne 0x48bb2f
inc eax
cmp byte [eax + edx], 0
je 0x48bb28
mov byte [eax + edx], 0
dec dword [esp + 0x50]
add ecx, eax
add dword [esp + 0x10], ecx
sub dword [esp + 0x14], ecx
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x1c], ebx
jmp 0x48b7d5
mov byte [eax + edx], 0
dec dword [esp + 0x50]
mov ecx, eax
sub ecx, dword [esp + 0x54]
jmp 0x48bb39
add dword [esp + 0x10], esi
sub dword [esp + 0x14], esi
je 0x48bbd5
xor ebx, ebx
mov dword [esp + 0x1c], ebx
jmp 0x48b7d5
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x58]
add esi, ebx
cmp eax, ecx
je 0x48bb90
push eax
call fcn.0045bbf0
add esp, 4
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00439589
add esp, 0x5c
ret 0xc
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x48bbbc
push eax
call fcn.0045bbf0
add esp, 4
mov eax, dword [esp + 0x10]
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00439589
add esp, 0x5c
ret 0xc
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x58]
cmp eax, edx
je 0x48bbea
push eax
call fcn.0045bbf0
add esp, 4
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x74]
pop esi
pop ebx
pop edi
pop ebp
xor ecx, esp
call fcn.00439589
add esp, 0x5c
ret 0xc