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

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 0x68
push ebp
mov ebp, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x78]
push eax
push ecx
mov ecx, dword [esp + 0x94]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x94]
push eax
push ecx
push edx
push esi
push ebp
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4b597a
pop esi
mov eax, 1
pop ebp
add esp, 0x68
ret
mov eax, dword [esi + 8]
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x3c]
push ebx
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
sub ecx, edi
imul edi, dword [esp + 0x9c]
imul esi, eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x28]
sub edx, ebx
lea ebx, [ebx + ebx*2]
lea ebp, [eax + eax*2]
add edi, ebx
mov ebx, dword [esp + 0x88]
add esi, ebp
mov ebp, dword [esp + 0x80]
add esi, dword [ebp + 4]
mov ebp, dword [ebx + 4]
mov bl, byte [esp + 0x24]
add edi, ebp
test bl, bl
je 0x4b5b58
mov ebp, edx
mov ebx, edx
sar ebp, 3
mov dword [esp + 0x98], ebp
mov ebp, dword [esp + 0x30]
and ebx, 7
sub eax, ebp
mov ebp, dword [esp + 0xa0]
add eax, ebx
lea ebp, [ebp + eax*2]
add eax, ebp
mov dword [esp + 0x94], eax
mov eax, ebx
sub eax, edx
mov edx, dword [esp + 0x9c]
lea edx, [edx + eax*2]
add eax, edx
test ecx, ecx
mov dword [esp + 0xa0], eax
jle 0x4b5c5f
mov dword [esp + 0x88], ecx
mov ebp, dword [esp + 0x98]
test ebp, ebp
jle 0x4b5aeb
lea eax, [edi + 4]
lea ecx, [esi + 4]
mov dl, byte [ecx - 2]
add edi, 0x18
mov byte [eax - 2], dl
mov dl, byte [ecx - 3]
mov byte [eax - 3], dl
mov dl, byte [esi]
mov byte [edi - 0x18], dl
mov dl, byte [ecx + 1]
mov byte [eax + 1], dl
mov dl, byte [ecx]
mov byte [eax], dl
mov dl, byte [ecx - 1]
mov byte [eax - 1], dl
mov dl, byte [ecx + 4]
mov byte [eax + 4], dl
mov dl, byte [ecx + 3]
mov byte [eax + 3], dl
mov dl, byte [ecx + 2]
mov byte [eax + 2], dl
mov dl, byte [ecx + 7]
mov byte [eax + 7], dl
mov dl, byte [ecx + 6]
mov byte [eax + 6], dl
mov dl, byte [ecx + 5]
mov byte [eax + 5], dl
mov dl, byte [ecx + 0xa]
mov byte [eax + 0xa], dl
mov dl, byte [ecx + 9]
mov byte [eax + 9], dl
mov dl, byte [ecx + 8]
mov byte [eax + 8], dl
mov dl, byte [ecx + 0xd]
mov byte [eax + 0xd], dl
mov dl, byte [ecx + 0xc]
mov byte [eax + 0xc], dl
mov dl, byte [ecx + 0xb]
mov byte [eax + 0xb], dl
mov dl, byte [ecx + 0x10]
mov byte [eax + 0x10], dl
mov dl, byte [ecx + 0xf]
mov byte [eax + 0xf], dl
mov dl, byte [ecx + 0xe]
mov byte [eax + 0xe], dl
mov dl, byte [ecx + 0x13]
mov byte [eax + 0x13], dl
mov dl, byte [ecx + 0x12]
mov byte [eax + 0x12], dl
mov dl, byte [ecx + 0x11]
mov byte [eax + 0x11], dl
add eax, 0x18
add esi, 0x18
add ecx, 0x18
dec ebp
jne 0x4b5a4b
test ebx, ebx
jle 0x4b5b27
mov ebp, esi
mov ecx, esi
lea eax, [edi + 2]
sub ebp, edi
mov dword [esp + 0x80], ebx
mov dl, byte [eax + ebp]
add ecx, 3
mov byte [eax], dl
mov dl, byte [ecx - 2]
mov byte [eax - 1], dl
mov dl, byte [ecx - 3]
mov byte [eax - 2], dl
mov edx, dword [esp + 0x80]
add eax, 3
dec edx
mov dword [esp + 0x80], edx
jne 0x4b5aff
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x88]
add edi, edx
add esi, ecx
dec eax
mov dword [esp + 0x88], eax
jne 0x4b5a36
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x68
ret
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0xa0]
imul ebx, dword [esp + 0x74]
lea eax, [eax + eax*2]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x68]
test ecx, ecx
mov dword [esp + 0x80], eax
jle 0x4b5c5f
lea eax, [edi + 1]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x94]
add ecx, edi
mov dword [esp + 0x80], ecx
js 0x4b5bf3
mov ebp, dword [esp + 0xa0]
mov edi, dword [esp + 0x90]
add esi, ebp
sub ecx, edi
mov dword [esp + 0x80], ecx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], esi
test edx, edx
jle 0x4b5c2c
mov ebp, edx
add edi, dword [esp + 0x14]
js 0x4b5c10
mov ecx, dword [esp + 0x18]
add esi, 3
sub edi, ecx
mov cl, byte [esi + 2]
mov byte [eax + 1], cl
mov cl, byte [esi + 1]
mov byte [eax], cl
mov cl, byte [esi]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x1c]
add esi, ecx
add eax, 3
dec ebp
jne 0x4b5c01
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
lea esi, [eax + ebx]
mov eax, dword [esp + 0x88]
add eax, edi
dec ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x98], ecx
jne 0x4b5bc1
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x68
ret