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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, ecx
mov ecx, 0xef53
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp word [esi + 0x38], cx
jne 0x4b3298
mov ecx, dword [esi + 0x18]
mov dword [eax], ecx
mov edx, dword [esi + 0x1c]
mov dword [eax + 4], edx
test edx, edx
je 0x4b3194
cmp ecx, edx
jne 0x4b3298
cmp ecx, 6
ja 0x4b3298
add ecx, 0xa
xor edi, edi
mov dword [eax], ecx
mov edx, dword [esi]
mov dword [eax + 8], edx
mov ebx, dword [esi + 4]
mov dword [ebp - 4], ecx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edi
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edi
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], edi
mov dword [eax + 0x20], ecx
cmp edx, 2
jb 0x4b3298
cmp edx, ecx
jbe 0x4b3298
xor ecx, ecx
cmp dword [ebp - 4], 0xa
sete cl
cmp dword [esi + 0x14], ecx
jne 0x4b3298
mov ecx, dword [esi + 0x20]
mov dword [ebp - 8], ecx
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x28], ecx
cmp dword [ebp - 8], ecx
jne 0x4b3298
cmp dword [ebp - 8], edi
je 0x4b3298
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x1c], ecx
mov dword [eax + 0x2c], ecx
cmp ecx, 1
jb 0x4b3298
cmp ecx, edx
ja 0x4b3298
mov ecx, dword [esi + 0x2c]
mov edx, 0x80
mov dword [eax + 0x30], ecx
mov ecx, dword [esi + 0x30]
mov dword [eax + 0x34], ecx
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x38], ecx
mov ecx, dword [esi + 0x48]
mov dword [eax + 0x3c], ecx
mov ecx, dword [esi + 0x4c]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], 0xb
mov word [eax + 0x48], dx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
test ecx, ecx
je 0x4b32b6
mov ecx, dword [esi + 0x54]
mov dword [eax + 0x44], ecx
movzx ebx, word [esi + 0x58]
mov word [eax + 0x48], bx
cmp ecx, 0xb
jb 0x4b3298
mov ecx, dword [ebp - 4]
mov edx, 1
mov edi, ebx
shl edx, cl
cmp edi, edx
ja 0x4b3298
mov ecx, 0x80
cmp bx, cx
jb 0x4b3298
xor ecx, ecx
mov edx, 1
shl edx, cl
cmp edx, edi
je 0x4b32a3
inc ecx
cmp ecx, 0x20
jb 0x4b3287
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
test ecx, ecx
js 0x4b3298
mov edi, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
movzx ecx, word [esi + 0x5a]
mov word [eax + 0x4a], cx
mov ecx, dword [esi + 0x5c]
mov dword [eax + 0x4c], ecx
mov edx, dword [esi + 0x60]
mov dword [eax + 0x50], edx
mov ecx, dword [esi + 0x64]
mov dword [eax + 0x54], ecx
movups xmm0, xmmword [esi + 0x68]
shr edx, 7
movups xmmword [eax + 0x58], xmm0
movups xmm0, xmmword [esi + 0x78]
movups xmmword [eax + 0x68], xmm0
movups xmm0, xmmword [esi + 0x88]
movups xmmword [eax + 0x78], xmm0
movups xmm0, xmmword [esi + 0x98]
movups xmmword [eax + 0x88], xmm0
movups xmm0, xmmword [esi + 0xa8]
movups xmmword [eax + 0x98], xmm0
movups xmm0, xmmword [esi + 0xb8]
movups xmmword [eax + 0xa8], xmm0
mov ecx, dword [esi + 0xe0]
mov dword [eax + 0xb8], ecx
movzx ecx, word [esi + 0xfe]
mov word [eax + 0xbc], cx
mov ecx, dword [esi + 0x108]
mov dword [eax + 0xc0], ecx
test dl, 1
je 0x4b3363
mov edi, dword [esi + 0x150]
xor ebx, ebx
or edi, dword [ebp - 0x14]
or ebx, dword [ebp - 0x10]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edi
mov ecx, dword [esi + 0x158]
or dword [eax + 0x1c], ecx
mov dword [ebp - 0xc], edi
xor edx, edx
mov ecx, 0x3f
sub ecx, dword [ebp - 4]
mov esi, edx
bts esi, ecx
cmp ecx, 0x20
cmovae edx, esi
xor esi, edx
cmp ecx, 0x40
mov ecx, esi
mov esi, dword [ebp + 8]
cmovae edx, ecx
cmp edi, edx
ja 0x4b3298
jb 0x4b3397
cmp ebx, ecx
jae 0x4b3298
mov cx, word [esi + 0x15c]
mov word [eax + 0xc4], cx
mov ecx, dword [esi + 0x178]
mov edx, dword [esi + 0x17c]
mov dword [eax + 0xc8], ecx
mov dword [eax + 0xcc], edx
test edi, edi
jne 0x4b33ca
cmp ebx, 1
jb 0x4b3298
cmp dword [eax + 0x1c], edi
ja 0x4b3298
jb 0x4b33de
cmp dword [eax + 0x18], ebx
ja 0x4b3298
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov ecx, dword [ebp - 0x18]
add ecx, edx
push 0
adc eax, eax
add ecx, 0xffffffff
push edx
adc eax, 0xffffffff
push eax
push ecx
call fcn.005a7c60
mov edi, eax
mov dword [ebp + 8], edx
mov eax, dword [ebp - 8]
mov ecx, 0
mov esi, eax
add esi, ebx
push 0
adc ecx, dword [ebp - 0xc]
add esi, 0xffffffff
push eax
adc ecx, 0xffffffff
push ecx
push esi
call fcn.005a7c60
cmp eax, edi
jne 0x4b3298
cmp edx, dword [ebp + 8]
jne 0x4b3298
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4