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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
lea esi, [esp + 0x58]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov ecx, esi
push 1
push 0x650957
push dword [ebp + 8]
call fcn.004208d0
add esp, 0xc
cmp dword [esi], 0
je 0x43ec92
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov esi, edx
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x64]
mov dword [esp + 8], edx
not esi
mov dword [esp + 0x44], esi
mov ecx, eax
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x14], eax
sub ecx, edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x20], ecx
mov ecx, ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
add ecx, esi
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
cmp eax, ecx
mov esi, ecx
mov dword [esp + 0x20], ecx
cmovb esi, eax
cmp ebx, 0xffffffff
mov ebx, ecx
cmove esi, eax
cmove ebx, edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], esi
dec esi
mov ebx, edi
mov dword [esp + 0x24], esi
mov edi, ebx
sub edi, edx
cmp edi, dword [esp + 4]
jae 0x43edab
mov eax, dword [esp + 0x18]
mov cl, byte [eax + edi]
xor eax, eax
xor esi, esi
inc esi
shld eax, esi, cl
shl esi, cl
test cl, 0x20
mov ecx, 0
cmovne eax, esi
cmovne esi, ecx
and eax, dword [esp + 0x48]
and esi, dword [esp + 0x4c]
or esi, eax
je 0x43ec25
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x3c], edi
lea edx, [eax + ebx]
add ebx, ecx
mov ecx, esi
sub ecx, 1
jb 0x43ebc1
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 8]
jae 0x43edbb
lea edi, [edx + esi]
cmp edi, dword [esp + 4]
jae 0x43edc9
mov eax, dword [esp + 0x1c]
mov al, byte [eax + esi - 1]
cmp al, byte [ebx + esi]
mov esi, ecx
je 0x43eb75
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 8]
add ebx, ecx
sub ebx, eax
cmp dword [esp + 0xc], 0xffffffff
je 0x43eb1d
jmp 0x43ec40
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 8]
add ecx, eax
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x54]
jae 0x43ec4d
cmp eax, edx
jae 0x43edd9
cmp ecx, dword [esp + 4]
jae 0x43edec
mov bl, byte [edi]
mov esi, dword [esp + 0x18]
inc edi
inc eax
cmp bl, byte [esi + ecx]
mov ebx, dword [esp + 0x10]
lea ecx, [ecx + 1]
je 0x43ebd7
sub ebx, dword [esp + 0x28]
cmp dword [esp + 0xc], 0xffffffff
mov eax, dword [esp + 0x14]
je 0x43eb1d
mov edi, ebx
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0xc]
jmp 0x43eaf8
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp ebx, 0xffffffff
cmovne ecx, edx
jmp 0x43eaf8
mov edi, ebx
mov ebx, dword [esp + 0xc]
mov ecx, edx
jmp 0x43eaf8
mov edx, dword [esp + 0x3c]
inc edx
mov ecx, dword [esp + 0x38]
mov eax, edx
mov edx, dword [ebp + 8]
push 0x5bb954
push eax
call fcn.0043e395
pop ecx
pop ecx
mov ecx, eax
mov esi, eax
mov edi, edx
call fcn.00421d10
xor ecx, ecx
test al, 1
jne 0x43edad
mov ecx, dword [esp + 0x2c]
shr eax, 0x10
mov dword [ecx + 4], edi
mov word [ecx + 8], ax
mov ecx, esi
jmp 0x43edad
mov al, byte [esp + 0x66]
mov ebx, dword [esp + 0x88]
mov edx, dword [esp + 0x60]
xor esi, esi
dec esi
mov byte [esp + 8], al
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x65]
cmp byte [esp + 8], 0
jne 0x43edab
mov byte [esp + 4], al
xor al, 1
mov edi, edx
mov ecx, edx
mov edx, ebx
mov byte [esp + 0x65], al
push dword [esp + 0x1c]
call fcn.0043e3c5
pop ecx
test eax, eax
je 0x43edfa
test edx, edx
je 0x43ed9e
mov cl, byte [eax + edx - 1]
test cl, cl
js 0x43ecff
movzx eax, cl
mov edx, edi
jmp 0x43ed5f
movzx ebx, byte [eax + edx - 2]
cmp bl, 0xc0
jge 0x43ed31
mov dword [esp + 0x18], ebx
movzx ebx, byte [eax + edx - 3]
cmp bl, 0xc0
mov dword [esp + 0x10], ebx
jge 0x43ed38
movzx eax, byte [eax + edx - 4]
mov esi, dword [esp + 0x10]
and eax, 7
and esi, 0x3f
shl eax, 6
or esi, eax
jmp 0x43ed3f
and ebx, 0x1f
mov edx, edi
jmp 0x43ed50
mov esi, dword [esp + 0x10]
and esi, 0xf
mov ebx, dword [esp + 0x18]
shl esi, 6
mov edx, edi
and ebx, 0x3f
or ebx, esi
xor esi, esi
dec esi
and cl, 0x3f
shl ebx, 6
movzx eax, cl
or eax, ebx
mov ebx, dword [esp + 0x24]
cmp byte [esp + 4], 0
jne 0x43ec51
cmp eax, 0x110000
je 0x43edab
cmp eax, 0x80
mov ecx, esi
jb 0x43ed91
cmp eax, 0x800
push 0xfffffffffffffffe
pop ecx
jb 0x43ed91
xor ecx, ecx
cmp eax, 0x10000
setb cl
or ecx, 0xfffffffc
add edx, ecx
mov al, 1
mov dword [esp + 0x60], edx
jmp 0x43ecbb
cmp byte [esp + 4], 0
mov edx, edi
jne 0x43ec51
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov dword [eax], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 8]
push 0x626960
call fcn.0059ee70
mov edx, dword [esp + 4]
mov ecx, edi
push 0x626970
call fcn.0059ee70
mov ecx, dword [esp + 0x14]
cmp ecx, edx
cmovbe ecx, edx
push 0x626940
call fcn.0059ee70
mov edx, dword [esp + 4]
push 0x626950
call fcn.0059ee70
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push 0x626c94
push edi
push 0
call fcn.0059f3b0