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

Disassembly:
sub esp, 0x58
mov al, byte [ecx + 4]
push ebx
mov ecx, dword [ecx]
push ebp
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x6c]
mov byte [esp + 0x13], al
sub esp, 0xc
mov eax, esi
mov ebx, esp
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x24]
mov ebp, dword [eax]
mov edx, dword [ecx]
mov dword [ebx], ebp
mov ebp, dword [eax + 4]
mov dword [ebx + 4], ebp
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
call dword [edx + 0x30]
mov dword [esp + 0x6c], eax
sub esp, 0xc
mov eax, esi
mov ecx, dword [edi + 0x24]
mov ebx, esp
mov ebp, dword [eax]
mov edx, dword [ecx]
mov dword [ebx], ebp
mov ebp, dword [eax + 4]
mov dword [ebx + 4], ebp
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
lea eax, [esp + 0x34]
push eax
call dword [edx + 0x40]
push eax
lea ecx, [esp + 0x4c]
call fcn.005e2ef0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
xor eax, eax
mov ax, word [ecx]
xor ecx, ecx
mov cx, word [edx]
xor edx, edx
mov dx, word [ebx]
mov ebx, dword [esp + 0x48]
xor ebp, ebp
mov bp, word [ebx]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov ax, word [ecx + 2]
mov edx, dword [esp + 0x50]
xor ecx, ecx
mov cx, word [edx + 2]
xor edx, edx
mov dx, word [ebp + 2]
xor ebp, ebp
mov bp, word [ebx + 2]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [edx]
test ah, 3
je 0x5e311e
mov ecx, eax
shr ecx, 0xa
test cl, 1
jne 0x5e311e
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
xor ecx, ecx
call fcn.005e3c20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10
test al, 0xc0
je 0x5e3144
mov ecx, dword [edx + 4]
add ecx, 0x14
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x5e3264
mov ecx, dword [ecx + 8]
sub ecx, ebx
test ecx, 0xfffffffe
jle 0x5e3264
mov ebp, eax
and eax, 0x1f
shr ebp, 5
mov cl, byte [eax + 0x747744]
and ebp, 1
test cl, cl
mov dword [esp + 0x70], eax
je 0x5e31da
mov edx, dword [edi + 0x28]
push esi
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x1c]
call fcn.005f3dd0
mov ecx, dword [eax + 4]
xor ebx, ebx
test ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jle 0x5e323b
jmp 0x5e3187
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ebx
push ecx
mov ecx, eax
call fcn.005e2ed0
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x28]
push edx
push eax
push esi
mov edx, ebp
push edi
call fcn.005e3f90
lea ecx, [esp + 0x58]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.004e0600
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jl 0x5e3183
jmp 0x5e323b
mov eax, dword [esi]
mov ebx, dword [esi + 4]
cdq
and edx, 3
add eax, edx
mov ecx, eax
mov eax, ebx
cdq
and edx, 3
add eax, edx
lea edx, [esp + 0x70]
sar eax, 2
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
sar ecx, 2
push edx
push eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x78]
push esi
mov edx, ebp
push edi
call fcn.005e3f90
lea ecx, [esp + 0x58]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x80]
push ecx
mov ecx, eax
call fcn.004e0600
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
push edx
push eax
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x44]
push edx
mov edx, dword [esp + 0x7c]
push eax
mov ecx, esi
push edi
call fcn.005e3340
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push ecx
lea eax, [esp + 0x64]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, esi
push edi
call fcn.005e36b0
mov al, byte [esp + 0x13]
test al, al
je 0x5e329c
mov edx, dword [esp + 0x14]
push ebx
push ebp
lea ecx, [esp + 0x40]
call fcn.004e70d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10