Function at 0x43e650
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58c016
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
lea eax, [esp + 0x50]
push eax
call fcn.0043e9a0
xor edi, edi
mov dword [esp + 0xe8], edi
cmp dword [esp + 0x68], 8
mov edx, dword [esp + 0x54]
jae 0x43e6b2
lea edx, [esp + 0x54]
mov eax, edx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
lea esi, [eax + 2]
jmp 0x43e6d0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43e6d0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x3c]
call fcn.0043a8d0
mov byte [esp + 0xe8], 1
xor eax, eax
push str.NtQuerySystemInformation
push str.ntdll
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x43e73b
push edi
push 0x20
lea ecx, [esp + 0x1c]
push ecx
push 3
call eax
mov ecx, dword [esp + 0x4c]
cmp ecx, 8
mov eax, dword [esp + 0x38]
mov edi, eax
jae 0x43e750
lea edi, [esp + 0x38]
mov eax, edi
call fcn.0043edb0
mov ebx, dword [esp + 0x48]
xor eax, eax
test ebx, ebx
mov dword [esp + 0x6c], ebx
jbe 0x43e778
mov edx, eax
and edx, 3
mov cx, word [esp + edx*2 + 0x14]
xor word [edi + eax*2], cx
add eax, 1
cmp eax, ebx
jb 0x43e763
xor eax, eax
lea esi, [ebx + ebx]
cmp esi, 0x10
mov word [esp + 0x74], 0
mov dword [esp + 0x76], eax
mov dword [esp + 0x7a], eax
mov dword [esp + 0x7e], eax
mov word [esp + 0x82], ax
jae 0x43e7ae
push esi
lea edx, [esp + 0x78]
push edi
push edx
call fcn.0056a780
add esp, 0xc
jmp 0x43e7f9
shr esi, 3
xor ebx, ebx
cmp ebx, 7
jne 0x43e7da
mov eax, dword [esp + 0x6c]
lea ecx, [esi*8]
sub ecx, esi
add eax, eax
sub eax, ecx
add ecx, edi
call fcn.0043ede0
mov word [esp + 0x82], ax
jmp 0x43e7ed
mov ecx, ebx
imul ecx, esi
add ecx, edi
mov eax, esi
call fcn.0043ede0
mov word [esp + ebx*2 + 0x74], ax
add ebx, 1
cmp ebx, 8
jb 0x43e7b3
mov ebx, dword [esp + 0x6c]
push 0x48
lea eax, [esp + 0x8a]
push 0
push eax
mov word [esp + 0x90], 0
call fcn.005695a0
lea ecx, [esp + 0x90]
add esp, 0xc
test ecx, ecx
je 0x43e89b
movzx edx, byte [esp + 0x83]
movzx eax, byte [esp + 0x82]
movzx ecx, byte [esp + 0x81]
push edx
movzx edx, byte [esp + 0x84]
push eax
movzx eax, byte [esp + 0x87]
push ecx
movzx ecx, byte [esp + 0x8a]
push edx
movzx edx, byte [esp + 0x8d]
push eax
movzx eax, byte [esp + 0x90]
push ecx
movzx ecx, word [esp + 0x92]
push edx
movzx edx, word [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
push str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
lea ecx, [esp + 0xb4]
push 0x25
push ecx
call fcn.00565d47
add esp, 0x38
lea eax, [esp + 0x84]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e8a5
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x88]
push edx
mov esi, 0x5f9104
call fcn.0043a8d0
cmp ebx, 3
jb 0x43e92f
xor eax, eax
mov dword [esp + 0x6e], eax
mov word [esp + 0x72], ax
movzx eax, word [edi]
cdq
mov ecx, 0x1a
idiv ecx
movzx eax, word [edi + 2]
add edx, 0x61
mov word [esp + 0x6c], dx
cdq
idiv ecx
movzx eax, word [edi + 4]
add edx, 0x61
mov word [esp + 0x6e], dx
cdq
idiv ecx
lea eax, [esp + 0x6c]
add edx, 0x61
mov word [esp + 0x70], dx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e910
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x70]
push edx
mov ecx, 0x5f9104
call fcn.0043a690
mov esi, 8
cmp dword [esp + 0x4c], esi
jb 0x43e947
mov eax, dword [esp + 0x38]
push eax
call fcn.00563626
add esp, 4
xor eax, eax
cmp dword [esp + 0x68], esi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
jb 0x43e96d
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00563626
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.00564207
mov esp, ebp
pop ebp
ret