Function at 0x4b4de0
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, 0x6c
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x84]
push eax
push ecx
mov ecx, dword [esp + 0x98]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x98]
push eax
push ecx
push edx
push ebx
push ebp
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4b4e2d
pop ebp
mov eax, 1
pop ebx
add esp, 0x6c
ret
mov ecx, dword [ebx + 8]
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
imul esi, ecx
push edi
mov edi, dword [esp + 0x44]
sub edi, edx
mov edx, dword [esp + 0x40]
sub eax, edx
imul edx, dword [esp + 0xa0]
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x9c]
lea ecx, [ecx + esi*2]
add ecx, dword [ebx + 4]
mov ebx, dword [esp + 0x3c]
lea edx, [edx + ebx*4]
mov ebx, dword [ebp + 4]
add edx, ebx
mov bl, byte [esp + 0x28]
test bl, bl
je 0x4b4fb0
mov ebx, edi
mov ebp, edi
sar ebx, 3
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0x34]
and ebp, 7
sub esi, ebx
mov ebx, dword [esp + 0xa4]
add esi, ebp
mov dword [esp + 0x98], ebp
lea esi, [ebx + esi*2]
mov dword [esp + 0x94], esi
mov esi, ebp
sub esi, edi
mov edi, dword [esp + 0xa0]
test eax, eax
lea esi, [edi + esi*4]
mov dword [esp + 0xa0], esi
jle 0x4b50af
mov dword [esp + 0xa4], eax
mov bl, 0xf
mov esi, dword [esp + 0x9c]
test esi, esi
jle 0x4b4f5c
lea eax, [edx + 0xa]
mov di, word [ecx]
mov byte [eax - 8], bl
mov word [edx], di
mov di, word [ecx + 2]
mov word [eax - 6], di
mov byte [eax - 4], bl
mov di, word [ecx + 4]
mov byte [eax], bl
mov word [eax - 2], di
mov di, word [ecx + 6]
mov word [eax + 2], di
mov byte [eax + 4], bl
mov di, word [ecx + 8]
mov byte [eax + 8], bl
mov word [eax + 6], di
mov di, word [ecx + 0xa]
mov word [eax + 0xa], di
mov byte [eax + 0xc], bl
mov di, word [ecx + 0xc]
mov byte [eax + 0x10], bl
mov word [eax + 0xe], di
mov di, word [ecx + 0xe]
mov word [eax + 0x12], di
mov byte [eax + 0x14], bl
add edx, 0x20
add eax, 0x20
add ecx, 0x10
dec esi
jne 0x4b4efb
test ebp, ebp
jle 0x4b4f7f
mov esi, ecx
mov eax, edx
mov edi, ebp
mov bp, word [esi]
mov byte [eax + 2], bl
mov word [eax], bp
add eax, 4
add esi, 2
dec edi
jne 0x4b4f66
mov ebp, dword [esp + 0x98]
mov edi, dword [esp + 0xa0]
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0xa4]
add edx, edi
add ecx, esi
dec eax
mov dword [esp + 0xa4], eax
jne 0x4b4eed
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x5c]
add esi, esi
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x14], ebx
imul esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x74]
test eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x8c], ebx
jle 0x4b50af
mov dword [esp + 0x94], eax
mov bl, 0xf
jmp 0x4b5016
mov ebp, dword [esp + 0x9c]
add ebp, dword [esp + 0x84]
mov dword [esp + 0x9c], ebp
js 0x4b503f
mov eax, dword [esp + 0xa4]
add ecx, eax
mov eax, dword [esp + 0x8c]
sub ebp, eax
mov dword [esp + 0x9c], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
test edi, edi
jle 0x4b508a
mov eax, edx
mov dword [esp + 0x98], edi
add ebp, dword [esp + 0x14]
js 0x4b5063
mov esi, dword [esp + 0x18]
add ecx, 2
sub ebp, esi
mov si, word [ecx]
mov byte [eax + 2], bl
mov word [eax], si
mov esi, dword [esp + 0x1c]
add ecx, esi
mov esi, dword [esp + 0x98]
add eax, 4
dec esi
mov dword [esp + 0x98], esi
jne 0x4b5054
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0xa0]
add edx, ebp
lea ecx, [eax + esi]
mov eax, dword [esp + 0x94]
dec eax
mov dword [esp + 0x94], eax
jne 0x4b500f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret