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

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
push edi
xor ebp, ebp
lea eax, [esp + 0x3c]
push 0x44
push ebp
push eax
mov dword [esp + 0x1c], ebp
call fcn.0050abb0
call fcn.004b70c0
mov ebx, dword [esp + 0x94]
push ebx
push dword [esp + 0x9c]
movzx eax, ax
mov dword [esp + 0x2c], eax
call fcn.004b6eb0
add esp, 0x14
mov esi, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x98], ebp
je 0x4b8dc2
push dword [esp + 0x94]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push ebp
push dword [esp + 0x94]
call fcn.004b77b0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4b8ea3
test ebx, ebx
jne 0x4b8c99
push 1
push eax
push 0x3f6
push 1
call fcn.0044a9d0
add esp, 0x10
lea edi, [ebp + 1]
jmp 0x4b8ea3
call fcn.004b70c0
movzx edi, ax
push 0
mov dword [esp + 0x18], edi
call fcn.004b72c0
push ebx
push esi
call fcn.004b6eb0
add esp, 0xc
test eax, eax
je 0x4b8d9c
push eax
call fcn.004b7130
add esp, 4
test ax, ax
je 0x4b8d9c
call fcn.004b70d0
mov esi, eax
mov ax, word [esi + 4]
mov word [esp + 0x1c], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x64d4b2
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
test eax, eax
jne 0x4b8d04
call fcn.0047cb20
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebp
test ecx, ecx
je 0x4b8d41
test dword [ecx], 0xfffbffff
je 0x4b8d41
mov eax, dword [esi]
push ecx
push 6
push esi
mov eax, dword [eax + 0x94]
call eax
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4b8d6f
mov eax, dword [esi]
push dword [esp + 0x10]
push esi
mov eax, dword [eax + 0x34]
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b8d6f
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push esi
mov eax, dword [eax + 0x90]
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x4b8d8c
call fcn.004b7210
mov ecx, dword [esp + 0x14]
movzx eax, cx
push eax
call fcn.004b72c0
add esp, 4
test edi, edi
jne 0x4b8ea3
call fcn.004b70d0
mov ebp, eax
mov dword [esp + 0x40], ebp
jmp 0x4b8ea3
movzx eax, di
push eax
call fcn.004b72c0
push 1
push 0
push 0x3f7
push 1
call fcn.0044a9d0
add esp, 0x14
mov edi, 1
jmp 0x4b8ea3
push 0
push esi
call fcn.004bb590
add esp, 8
test eax, eax
jne 0x4b8df0
push 1
push eax
push 0x3ed
push 1
call fcn.0044a9d0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
cmp word [eax + 0x22], 2
jne 0x4b8eb6
push dword [esp + 0x94]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push 0
push dword [esp + 0x94]
call fcn.004b77b0
mov edi, eax
add esp, 0x14
mov eax, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x40], eax
xor eax, eax
cmp ax, word [esp + 0x7a]
jae 0x4b8e5b
mov ecx, dword [esp + 0x7c]
movzx esi, bx
inc ebx
mov ax, word [ecx + esi*4 + 2]
movzx edx, word [ecx + esi*4]
mov word [ecx + esi*4], ax
mov eax, dword [esp + 0x7c]
mov word [eax + esi*4 + 2], dx
cmp bx, word [esp + 0x7a]
jb 0x4b8e32
mov esi, dword [esp + 0x14]
test edi, edi
jne 0x4b8ea3
push dword [esp + 0xbc]
push dword [esp + 0x14]
push dword [esp + 0x98]
push dword [esp + 0xc4]
push 1
push 1
push 0x64d4b2
push edi
push esi
push dword [esp + 0xac]
call fcn.004b8790
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x4b8ea3
call fcn.004b70d0
mov ebp, eax
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b8f12
push eax
call fcn.00475700
add esp, 4
jmp 0x4b8f12
push dword [esp + 0xbc]
push 0
push dword [esp + 0x98]
push dword [esp + 0xc4]
push 1
push 1
push 0x64d4b2
push 0
push esi
push ebx
call fcn.004b8790
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x4b90d4
call fcn.004b70d0
push dword [esp + 0x94]
mov ebp, eax
lea eax, [esp + 0x40]
push edi
push eax
push dword [esp + 0x90]
push ebp
call fcn.004b77b0
add esp, 0x14
mov edi, eax
test edi, edi
jne 0x4b90d4
mov eax, dword [esp + 0x3c]
movzx eax, word [eax + 4]
push eax
call fcn.004b72c0
mov eax, dword [esp + 0xa0]
movaps xmm0, xmmword [0x764aa0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb8]
push 0x764b18
push 4
mov dword [esp + 0x68], eax
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x7c], edi
call fcn.004715b0
push eax
lea ecx, [esp + 0x4c]
push edi
mov dword [eax], ecx
call fcn.00474fd0
mov ecx, dword [esp + 0x54]
mov ebx, eax
push ebx
push 0x94
push ecx
mov edx, dword [ecx]
mov dword [esp + 0x34], ebx
mov ecx, dword [edx + 0x94]
call ecx
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x4b90cb
cmp word [esp + 0x7a], ax
jne 0x4b8fd2
lea edi, [eax + 1]
jmp 0x4b8feb
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x3c]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0xbc]
call eax
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x40]
push ebx
push 0x94
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x94]
call eax
add esp, 0xc
test edi, edi
jne 0x4b90cb
test byte [esp + 0x78], 4
je 0x4b90cb
push edi
call fcn.004719e0
mov esi, eax
add esp, 4
xor eax, eax
cmp ax, word [esp + 0x7a]
jae 0x4b90c0
nop
mov ecx, dword [esp + 0x7c]
movzx edx, di
movzx eax, word [ecx + edx*4]
lea ebx, [ecx + edx*4]
mov ecx, dword [esp + 0x3c]
push esi
push 0x66
push eax
mov edx, dword [ecx]
push ecx
mov eax, dword [edx + 0x48]
call eax
add esp, 0x10
test eax, eax
jne 0x4b90a7
mov ecx, dword [esp + 0x40]
movzx eax, word [ebx + 2]
push esi
push 0x66
mov edx, dword [ecx]
push eax
push ecx
mov eax, dword [edx + 0x48]
call eax
add esp, 0x10
test eax, eax
jne 0x4b90a7
push esi
call fcn.00473380
mov ecx, dword [esp + 0x40]
movzx eax, word [ebx]
push esi
push 0x67
mov edx, dword [ecx]
push eax
push ecx
mov eax, dword [edx + 0x48]
call eax
add esp, 0x14
test eax, eax
jne 0x4b90a7
mov ecx, dword [esp + 0x40]
movzx eax, word [ebx + 2]
push esi
push 0x67
mov edx, dword [ecx]
push eax
push ecx
mov eax, dword [edx + 0x48]
call eax
add esp, 0x10
push esi
call fcn.00473380
inc edi
add esp, 4
cmp di, word [esp + 0x7a]
jb 0x4b9030
mov ebx, dword [esp + 0x14]
push esi
call fcn.00475700
add esp, 4
xor edi, edi
push ebx
call fcn.00475700
add esp, 4
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4b90e5
push eax
call fcn.0048bed0
add esp, 4
test ebp, ebp
je 0x4b90fb
movzx eax, word [ebp + 4]
push eax
call fcn.004b72c0
add esp, 4
call fcn.004b7210
mov eax, dword [esp + 0x18]
movzx eax, ax
push eax
call fcn.004b72c0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret