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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x489423
sub esp, 0x54
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x48910e
mov ebp, dword [esp + 0x58]
test byte [ebp], al
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x48]
jmp 0x48914a
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x54
ret
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], esi
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov esi, dword [esp + 0x34]
sub ebx, esi
cmp ebx, 4
jl 0x48931a
mov ebx, dword [esp + 0x44]
sub ecx, ebx
cmp ecx, 4
jl 0x48931e
lea ebx, [esi + 4]
cmp edx, ebx
jb 0x48941b
cmp esi, ebx
ja 0x489412
mov dword [esp + 0x3c], ebx
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
movzx esi, byte [edi + edx]
movzx esi, byte [esi + ebp + 0x40]
xchg esi, eax
mov byte [esp + 0x32], al
xchg esi, eax
movzx ebx, byte [edi + edx + 1]
movzx ebx, byte [ebx + ebp + 0x40]
mov byte [esp + 0x31], bl
movzx ebx, byte [edi + edx + 2]
movzx ebx, byte [ebx + ebp + 0x40]
movzx edi, byte [edi + edx + 3]
movzx edi, byte [edi + ebp + 0x40]
mov edx, ebp
movzx ebp, byte [esp + 0x31]
or esi, ebp
or esi, ebx
or esi, edi
xchg esi, eax
cmp al, 0xff
xchg esi, eax
jne 0x4891d4
mov ebp, 0
jmp 0x48920b
xchg esi, eax
mov byte [esp + 0x33], al
xchg esi, eax
movzx esi, byte [esp + 0x32]
xchg esi, eax
movzx eax, al
xchg esi, eax
shl esi, 0x1a
xchg ebp, eax
movzx eax, al
xchg ebp, eax
shl ebp, 0x14
or ebp, esi
movzx ebx, bl
shl ebx, 0xe
or ebx, ebp
xchg edi, eax
movzx ebp, al
xchg edi, eax
shl ebp, 8
or ebp, ebx
movzx ebx, byte [esp + 0x33]
cmp bl, 0xff
je 0x489278
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
cmp ecx, ebx
jb 0x48940b
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x64]
mov edi, esi
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
shr ebp, 0x18
xchg ebp, ebx
mov byte [eax + esi], bl
xchg ebp, ebx
mov ebp, dword [esp + 0x38]
shr ebp, 0x10
xchg ebp, ebx
mov byte [eax + esi + 1], bl
xchg ebp, ebx
mov ebp, dword [esp + 0x38]
shr ebp, 8
xchg ebp, ebx
mov byte [eax + esi + 2], bl
xchg ebp, ebx
mov ebp, dword [esp + 0x38]
xchg ebp, ebx
mov byte [eax + esi + 3], bl
xchg ebp, ebx
lea ebp, [ebx + 3]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
jmp 0x48912a
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
jb 0x489402
mov dword [esp], edx
mov ebx, dword [esp + 0x64]
sub ebx, ebp
mov edi, ebx
neg ebx
sar ebx, 0x1f
and ebx, ebp
add ebx, eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
call fcn.00488b20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
test ebx, ebx
jne 0x48930a
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x64]
mov esi, ebx
mov dword [esp + 0x50], ebp
mov ebx, eax
mov ebp, ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
jmp 0x48912a
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebp
add esp, 0x54
ret
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
jmp 0x48934e
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
mov edx, edi
mov edi, dword [esp + 0x68]
mov esi, eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], ebp
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
mov ebx, ecx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
cmp edx, esi
jle 0x4893e1
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x60]
cmp esi, ebx
jb 0x4893f9
mov dword [esp + 0x44], ebx
mov dword [esp], ebp
sub ecx, ebx
mov dword [esp + 0x3c], ecx
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, eax
mov dword [esp + 4], ecx
sub esi, ebx
mov dword [esp + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
call fcn.00488b20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
test ebx, ebx
je 0x489324
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebp
add esp, 0x54
ret
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
add esp, 0x54
ret
mov eax, ebx
mov ecx, esi
call fcn.004592b0
mov eax, ebp
mov ecx, ebx
call fcn.004592b0
mov eax, ebx
call fcn.004592b0
mov eax, esi
mov ecx, ebx
call fcn.004592b0
mov ecx, ebx
call fcn.00459290
nop
call fcn.00457dc0
jmp fcn.004890b0