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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
xor eax, eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x38], edx
push 3
push 0x4bef18
push dword [ebp + 8]
call fcn.0044b300
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x90]
lea esi, [esp + 0x20]
mov edx, eax
mov dword [esp + 0x48], eax
mov byte [esp + 7], al
mov eax, dword [esp + 0x60]
mov dword [esp + 0x50], ecx
and edx, 0xffffff00
mov dword [esp + 0x54], edx
mov edx, ebx
sub edx, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x40], eax
lea eax, [ebx - 1]
mov dword [esp + 0x2c], eax
xor eax, eax
cmp dword [esp + 0x58], 0
mov dword [esp + 0x3c], eax
je 0x43e4f8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
add eax, ecx
cmp eax, dword [esp + 0x14]
jae 0x43e65b
movzx ecx, byte [esp + 7]
mov edx, dword [esp + 0x18]
or ecx, dword [esp + 0x54]
mov dword [esp + 0x10], edx
mov dword [esp + 8], edx
mov dword [esp + 0x30], ecx
mov cl, byte [edi + eax]
xor eax, eax
xor edx, edx
inc edx
shld eax, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
and eax, dword [esp + 0x30]
and edx, dword [esp + 0x5c]
or edx, eax
je 0x43e473
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 8]
cmp ecx, eax
cmova eax, ecx
cmp dword [esp + 0x18], 0xffffffff
cmove eax, ecx
cmp eax, ebx
jae 0x43e3f9
mov ecx, dword [esp + 0xc]
lea edx, [edi + ecx]
mov ecx, dword [esp + 0xc]
add ecx, eax
cmp ecx, dword [esp + 0x14]
jae 0x43e6a4
mov ecx, dword [esp + 0x40]
mov cl, byte [ecx + eax]
cmp cl, byte [edx + eax]
jne 0x43e4b1
inc eax
cmp ebx, eax
jne 0x43e3d4
cmp dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x34]
mov edx, 0
cmove eax, edx
cmp eax, ecx
jae 0x43e4cc
dec ecx
cmp ecx, ebx
jae 0x43e694
mov edx, dword [esp + 0xc]
add edx, ecx
cmp edx, dword [esp + 0x14]
jae 0x43e69b
mov esi, ebx
mov ebx, dword [esp + 0x40]
mov bl, byte [ebx + ecx]
cmp bl, byte [edi + edx]
mov ebx, esi
lea esi, [esp + 0x20]
mov edx, 0
je 0x43e40e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
add eax, dword [esp + 0x50]
cmp dword [esp + 0x18], 0xffffffff
mov dword [esp + 0xc], eax
je 0x43e467
mov dword [esp + 0x10], ecx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
add eax, ecx
jmp 0x43e4a2
mov ecx, dword [esp + 0xc]
xor edx, edx
mov eax, dword [esp + 0x10]
add ecx, ebx
cmp dword [esp + 0x18], 0xffffffff
mov dword [esp + 0xc], ecx
cmovne eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
cmovne eax, edx
mov dword [esp + 8], eax
mov eax, ecx
mov eax, dword [esp + 0x2c]
add eax, ecx
cmp eax, dword [esp + 0x14]
jb 0x43e389
jmp 0x43e65b
mov edx, dword [esp + 0xc]
xor ecx, ecx
sub edx, dword [esp + 0x34]
cmp dword [esp + 0x18], 0xffffffff
lea edx, [edx + eax + 1]
mov dword [esp + 0xc], edx
jne 0x43e45f
jmp 0x43e467
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x18], 0xffffffff
lea eax, [ecx + ebx]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 8]
cmovne eax, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
jmp 0x43e61d
test dword [esp + 0x48], 0xff0000
jne 0x43e65b
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
test eax, eax
mov eax, dword [esp + 0x14]
je 0x43e533
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
jbe 0x43e52d
cmp byte [edi + ecx], 0xbf
jg 0x43e533
jmp 0x43e6ba
jne 0x43e6ba
test eax, eax
je 0x43e5fc
mov edx, edi
mov edi, dword [esp + 0x1c]
movzx eax, byte [edx + edi]
test al, al
js 0x43e54d
mov edi, edx
jmp 0x43e5b4
movzx esi, byte [edx + edi + 1]
mov ecx, eax
and ecx, 0x1f
and esi, 0x3f
cmp al, 0xdf
jbe 0x43e59a
mov dword [esp + 0x10], ecx
movzx ecx, byte [edx + edi + 2]
shl esi, 6
mov dword [esp + 8], ecx
and dword [esp + 8], 0x3f
add dword [esp + 8], esi
cmp al, 0xf0
mov esi, dword [esp + 8]
jb 0x43e5a3
movzx eax, byte [edx + edi + 3]
mov ecx, dword [esp + 0x10]
shl esi, 6
and ecx, 7
and eax, 0x3f
shl ecx, 0x12
or eax, esi
or eax, ecx
jmp 0x43e5ae
shl ecx, 6
or ecx, esi
mov eax, ecx
jmp 0x43e5ae
mov eax, dword [esp + 0x10]
shl eax, 0xc
or esi, eax
mov eax, esi
mov edi, edx
lea esi, [esp + 0x20]
mov cl, byte [esp + 7]
test cl, cl
jne 0x43e60a
cmp eax, 0x110000
je 0x43e65b
cmp eax, 0x80
mov ecx, 1
jb 0x43e5ec
mov ecx, 2
cmp eax, 0x800
jb 0x43e5ec
cmp eax, 0x10000
mov ecx, 4
sbb ecx, 0
mov eax, dword [esp + 0x1c]
mov byte [esp + 7], 1
add eax, ecx
jmp 0x43e50a
cmp byte [esp + 7], 0
je 0x43e65b
xor byte [esp + 7], 1
jmp 0x43e611
xor cl, 1
mov byte [esp + 7], cl
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
lea eax, [ecx + edx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
sub eax, edx
mov edx, dword [esp + 0x30]
mov ecx, esi
push eax
call fcn.00417499
add esp, 4
mov edx, 0x4c8547
mov ecx, esi
push 1
call fcn.00417499
add esp, 4
mov eax, dword [esp + 8]
jmp 0x43e34d
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
add edx, ecx
sub eax, ecx
lea ecx, [esp + 0x20]
push eax
call fcn.00417499
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
movsd xmm0, qword [esp + 0x20]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0x4c7798
jmp 0x43e6ad
mov eax, 0x4c77a8
mov ecx, edx
jmp 0x43e6a9
mov eax, 0x4c77b8
mov ebx, dword [esp + 0x14]
mov edx, ebx
push eax
call fcn.00446c40
add esp, 4
jmp 0x43e6d2
mov edx, dword [esp + 0x14]
mov ecx, edi
push 0x4c8424
push edx
push dword [esp + 0x24]
call fcn.0044a890
add esp, 0xc
ud2