Function at 0x4bf0d0
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 edi
mov edi, 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 edi
push ebp
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4bf11a
pop edi
mov eax, 1
pop ebp
add esp, 0x68
ret
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x3c]
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x98], esi
mov esi, dword [esp + 0x2c]
sub ebx, eax
mov eax, dword [esp + 0x44]
imul esi, ecx
sub eax, edx
imul edx, dword [esp + 0x98]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x28]
lea esi, [esi + ecx*4]
add esi, dword [edi + 4]
mov edi, dword [esp + 0x38]
lea edi, [edx + edi*4]
mov edx, dword [ebp + 4]
add edi, edx
mov dl, byte [esp + 0x24]
test dl, dl
je 0x4bf2b8
mov ebp, ebx
mov edx, ebx
sar ebp, 3
mov dword [esp + 0x9c], ebp
mov ebp, dword [esp + 0x30]
and edx, 7
sub ecx, ebp
mov ebp, dword [esp + 0xa0]
add ecx, edx
mov dword [esp + 0x94], edx
lea ecx, [ebp + ecx*4]
mov dword [esp + 0x90], ecx
mov ecx, edx
sub ecx, ebx
mov ebx, dword [esp + 0x98]
test eax, eax
lea ecx, [ebx + ecx*4]
mov dword [esp + 0x98], ecx
jle 0x4bf3b7
mov dword [esp + 0xa0], eax
mov ebp, dword [esp + 0x9c]
test ebp, ebp
jle 0x4bf25c
lea eax, [edi + 0xa]
lea ecx, [esi + 0xa]
mov bx, word [esi]
add eax, 0x20
mov word [edi], bx
mov bl, byte [ecx - 8]
mov byte [eax - 0x28], bl
mov bx, word [ecx - 6]
mov word [eax - 0x26], bx
mov bl, byte [ecx - 4]
mov byte [eax - 0x24], bl
mov bx, word [ecx - 2]
mov word [eax - 0x22], bx
mov bl, byte [ecx]
mov byte [eax - 0x20], bl
mov bx, word [ecx + 2]
mov word [eax - 0x1e], bx
mov bl, byte [ecx + 4]
mov byte [eax - 0x1c], bl
mov bx, word [ecx + 6]
mov word [eax - 0x1a], bx
mov bl, byte [ecx + 8]
mov byte [eax - 0x18], bl
mov bx, word [ecx + 0xa]
mov word [eax - 0x16], bx
mov bl, byte [ecx + 0xc]
mov byte [eax - 0x14], bl
mov bx, word [ecx + 0xe]
mov word [eax - 0x12], bx
mov bl, byte [ecx + 0x10]
mov byte [eax - 0x10], bl
mov bx, word [ecx + 0x12]
mov word [eax - 0xe], bx
mov bl, byte [ecx + 0x14]
mov byte [eax - 0xc], bl
add edi, 0x20
add esi, 0x20
add ecx, 0x20
dec ebp
jne 0x4bf1e0
test edx, edx
jle 0x4bf287
mov ebp, esi
mov ecx, esi
lea eax, [edi + 2]
sub ebp, edi
mov ebx, edx
mov dx, word [ecx]
add ecx, 4
mov word [eax - 2], dx
mov dl, byte [eax + ebp]
mov byte [eax], dl
add eax, 4
dec ebx
jne 0x4bf26b
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0xa0]
add edi, ebx
add esi, ecx
dec eax
mov dword [esp + 0xa0], eax
jne 0x4bf1cb
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x68
ret
mov ecx, dword [esp + 0x64]
lea edx, [ecx*4]
mov ecx, dword [esp + 0xa0]
imul ecx, dword [esp + 0x74]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x68]
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x9c], edx
jle 0x4bf3b7
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x90]
add eax, edx
mov dword [esp + 0x9c], eax
js 0x4bf354
mov ebp, dword [esp + 0xa0]
mov edx, dword [esp + 0x80]
add esi, ebp
sub eax, edx
mov dword [esp + 0x9c], eax
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x20], esi
test ebx, ebx
jle 0x4bf392
mov ecx, edi
mov eax, ebx
add ebp, dword [esp + 0x10]
js 0x4bf376
mov edx, dword [esp + 0x14]
add esi, 4
sub ebp, edx
mov dx, word [esi]
mov word [ecx], dx
mov dl, byte [esi + 2]
mov byte [ecx + 2], dl
mov edx, dword [esp + 0x18]
add esi, edx
add ecx, 4
dec eax
jne 0x4bf367
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x98]
add edi, edx
lea esi, [eax + ecx]
mov eax, dword [esp + 0x94]
dec eax
mov dword [esp + 0x94], eax
jne 0x4bf322
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x68
ret