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

Disassembly:
sub esp, 0x44
mov eax, dword [0x502c60]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x68]
test ebx, ebx
je 0x4b86a1
push ebp
xor ebp, ebp
mov byte [esp + 0xe], 0
push esi
test eax, eax
je 0x4b849c
mov esi, dword [esp + 0x64]
mov byte [esp + 0x12], 1
test esi, esi
je 0x4b8497
cmp esi, 4
jb 0x4b8497
push esi
push ebp
push eax
call fcn.004d26a0
mov ebp, esi
add esp, 0xc
shr ebp, 2
test ebp, ebp
jne 0x4b849c
mov byte [esp + 0x12], 0
mov dword [ebx], 0
test edi, edi
je 0x4b84ac
mov dword [edi], 0
call fcn.004bb9f0
mov edx, eax
mov dword [esp + 0x18], edx
test edx, edx
je 0x4b8687
mov ecx, dword [esp + 0x6c]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x1c], 0x48
test ecx, ecx
mov dword [esp + 0x14], 1
mov al, 1
mov dword [esp + 0x2c], 0
cmove ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
xor ecx, ecx
mov byte [esp + 0x13], al
mov dword [esp + 0x1c], ecx
cmp byte [esp + 0x12], cl
je 0x4b8526
cmp byte [esp + 0x68], cl
jne 0x4b8526
call fcn.004bc040
mov edx, dword [esp + 0x18]
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x4b8522
mov ecx, 0xfffffffd
xor al, al
mov dword [esp + 0x14], ecx
jmp 0x4b852b
mov al, byte [esp + 0x13]
mov ecx, 1
mov dword [esp + 0x4c], ebx
test al, al
je 0x4b864e
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push dword [esp + 0x78]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call edx
test eax, eax
jne 0x4b8639
cmp byte [esp + 0x68], al
je 0x4b858e
cmp byte [esp + 0x12], al
je 0x4b8587
cmp esi, ebp
jae 0x4b857f
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov dword [ecx + esi*4], eax
test edi, edi
je 0x4b8578
add dword [edi], 4
mov edx, dword [esp + 0x18]
inc esi
jmp 0x4b8537
mov dword [esp + 0x14], 2
mov edx, dword [esp + 0x18]
inc esi
jmp 0x4b8537
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b8621
cmp byte [esp + 0x12], 0
je 0x4b8621
cmp esi, ebp
jae 0x4b8619
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], 0
push ecx
push 0x1c
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0
push ecx
push 0
push dword [esp + 0x3c]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x44], xmm0
movq qword [esp + 0x54], xmm0
call eax
test eax, eax
jne 0x4b8621
cmp dword [esp + 0x4c], eax
je 0x4b8621
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov dword [ecx + esi*4], eax
test edi, edi
je 0x4b85f8
add dword [edi], 4
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x48], 0
movq qword [esp + 0x40], xmm0
jmp 0x4b8621
mov dword [esp + 0x14], 2
test ebx, ebx
je 0x4b862b
push ebx
call fcn.004b7e00
mov ebx, dword [esp + 0x2c]
inc esi
mov edx, dword [esp + 0x18]
jmp 0x4b8537
test ebx, ebx
je 0x4b864a
cmp byte [esp + 0x68], 0
jne 0x4b864a
push ebx
call fcn.004b7e00
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [eax], esi
test esi, esi
jne 0x4b8670
lea eax, [esi - 4]
pop esi
pop ebp
pop edi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004d17f4
add esp, 0x44
ret 0x1c
pop esi
pop ebp
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004d17f4
add esp, 0x44
ret 0x1c
pop esi
pop ebp
pop edi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004d17f4
add esp, 0x44
ret 0x1c
mov ecx, dword [esp + 0x48]
or eax, 0xffffffff
pop edi
pop ebx
xor ecx, esp
call fcn.004d17f4
add esp, 0x44
ret 0x1c