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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x24], 0x100000
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0x80b0a0d
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
cmp eax, 7
ja 0x43f10c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
movzx eax, byte [esp + eax + 8]
lea edx, [ecx + ecx]
and edx, 0x3ed7dd06
sub ecx, edx
add ecx, 0x9f6bee83
mov esi, ecx
and esi, edx
xor ecx, edx
lea ecx, [ecx + esi*2]
lea edx, [ecx + eax]
and ecx, eax
add ecx, ecx
sub edx, ecx
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x30]
mov ecx, eax
not ecx
and ecx, 0x8f
and eax, 0x70
sub eax, ecx
mov ecx, dword [esp + 0x18]
mov byte [esp + ecx + 8], al
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, 8
jb 0x43f0b0
mov eax, dword [esp + 8]
mov ecx, dword [0x450704]
test ecx, ecx
je 0x43f16e
xor edx, edx
mov esi, dword [0x450708]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x43f140
inc edx
cmp ecx, edx
jne 0x43f130
jmp 0x43f16e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43f16e
lea eax, [esp + 0x24]
lea edx, [esp + 0x14]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x45070c]
push ecx
call fcn.00441120
add esp, 0x24
test eax, eax
js 0x43f7f2
cmp dword [ebx + 4], 0
je 0x43f780
xor edx, edx
cmp dword [ebx + 4], 2
mov esi, 0x7fff
je 0x43f192
mov esi, 0
mov dword [esp + 0x4c], 0xfffeffff
je 0x43f1a4
mov dword [esp + 0x4c], SysStringLen
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov edi, 0x10000
mov dword [esp + 0x40], esi
jmp 0x43f1fe
mov edi, dword [esp + 0x18]
add edi, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
adc edx, dword [esp + 0x34]
cmp edi, dword [esp + 0x4c]
mov eax, edx
sbb eax, esi
jae 0x43f6e1
mov dword [esp + 0x3c], edx
mov ecx, ebx
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push edx
push edi
call fcn.0043eaa0
cmp eax, 0xbfffffff
ja 0x43f6e1
test eax, eax
js 0x43f1e0
cmp dword [esp + 0x58], 0x1000
jne 0x43f1e0
test byte [esp + 0x54], 0x66
je 0x43f1e0
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x24], eax
mov edx, dword [esp + 0x1c]
mov ecx, 0
sbb ecx, edx
jae 0x43f422
mov dword [esp + 8], 0x80b0a0d
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x43f2d7
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
lea edx, [ecx + ecx]
and edx, 0x3ed7dd06
sub ecx, edx
add ecx, 0x9f6bee83
mov esi, ecx
and esi, edx
xor ecx, edx
lea ecx, [ecx + esi*2]
lea edx, [ecx + eax]
and ecx, eax
add ecx, ecx
sub edx, ecx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov ecx, eax
not ecx
and ecx, 0x8f
and eax, 0x70
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x43f280
mov eax, dword [0x450704]
test eax, eax
je 0x43f32a
mov ecx, dword [esp + 8]
xor edx, edx
mov esi, dword [0x450708]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x43f300
inc edx
cmp eax, edx
jne 0x43f2f0
jmp 0x43f32a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43f32a
push 0x8000
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x45070c]
push eax
call fcn.00441120
add esp, 0x1c
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x80b0a0d
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x43f3b7
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
lea edx, [ecx + ecx]
and edx, 0x3ed7dd06
sub ecx, edx
add ecx, 0x9f6bee83
mov esi, ecx
and esi, edx
xor ecx, edx
lea ecx, [ecx + esi*2]
lea edx, [ecx + eax]
and ecx, eax
add ecx, ecx
sub edx, ecx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov ecx, eax
not ecx
and ecx, 0x8f
and eax, 0x70
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x43f360
mov eax, dword [esp + 8]
mov ecx, dword [0x450704]
test ecx, ecx
je 0x43f40e
xor edx, edx
mov esi, dword [0x450708]
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x43f3e0
inc edx
cmp ecx, edx
jne 0x43f3d0
jmp 0x43f40e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43f40e
push 4
push 0x3000
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push 6
push dword [0x45070c]
push ecx
call fcn.00441120
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x40]
js 0x43f6e1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x50], edi
lea edi, [esp + 0x28]
push edi
push edx
push eax
push dword [esp + 0x20]
push dword [esp + 0x4c]
push dword [esp + 0x64]
call fcn.0043edd0
test eax, eax
jns 0x43f44f
cmp eax, 0x8000000d
jne 0x43f1e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp eax, dword [ebp + 0x10]
sbb ecx, 0
jb 0x43f1e0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
call fcn.0043f840
add esp, 0x18
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
cmp ecx, edx
je 0x43f1e0
mov dword [esp + 0x64], ebx
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esp + 4], eax
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x68], edx
jmp 0x43f4fc
push dword [esp + 4]
call fcn.0040c9a0
add esp, 4
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x48]
lea ecx, [eax + ebx*8]
mov dword [esp + 4], ecx
mov edi, eax
add edi, esi
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
mov dword [eax + esi], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + esi + 4], ecx
add edi, 8
mov ecx, dword [esp + 0x78]
add ecx, 4
cmp ecx, edx
je 0x43f6a0
mov dword [esp + 0x78], ecx
mov ecx, dword [ecx]
sub ecx, dword [esp + 0x14]
mov esi, ecx
sar esi, 0x1f
add ecx, dword [esp + 0x50]
adc esi, ebx
mov dword [esp + 0x74], esi
mov esi, edi
sub esi, eax
cmp edi, dword [esp + 4]
jne 0x43f4df
mov dword [esp + 0x70], ecx
mov dword [esp + 4], eax
mov ecx, esi
sar ecx, 3
lea eax, [ecx + 1]
mov ebx, ecx
shr ebx, 1
add ebx, ecx
cmp ebx, eax
ja 0x43f53b
mov ebx, eax
lea eax, [ebx*8]
push eax
call fcn.0040c990
add esp, 4
mov edx, dword [esp + 4]
test edx, edx
je 0x43f4c8
mov dword [esp + 0x6c], ebx
cmp eax, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x48], eax
jbe 0x43f622
cmp edi, eax
jbe 0x43f622
test esi, esi
je 0x43f4b0
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x20]
add eax, edx
dec eax
mov ecx, dword [esp + 0x48]
add ecx, edx
dec ecx
mov esi, edx
and esi, 7
je 0x43f5b4
neg esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp esi, edx
jne 0x43f5a0
add eax, edx
add ecx, edx
add edx, dword [esp + 0x20]
mov esi, dword [esp + 4]
sub esi, edi
cmp esi, 0xfffffff8
ja 0x43f4b0
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x43f5d0
jmp 0x43f4b0
mov ecx, esi
shr ecx, 2
mov ebx, esi
mov esi, dword [esp + 4]
mov edx, esi
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebx
and edx, 0xfffffffc
add eax, edx
mov dword [esp + 0x44], eax
add edx, esi
mov esi, ebx
and esi, 3
mov ecx, esi
shr ecx, 1
mov eax, edx
mov edi, dword [esp + 0x44]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov edi, dword [esp + 0x44]
mov ecx, ebx
xor ecx, 2
and ecx, esi
je 0x43f4b0
mov esi, dword [esp + 0x20]
and esi, 2
movzx eax, byte [edx + esi]
mov byte [edi + esi], al
cmp ecx, 1
je 0x43f4b0
movzx eax, byte [edx + esi + 1]
mov byte [edi + esi + 1], al
cmp ecx, 2
je 0x43f4b0
movzx eax, byte [edx + esi + 2]
mov byte [edi + esi + 2], al
jmp 0x43f4b0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [ecx], eax
mov eax, dword [esp + 4]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x60]
test eax, eax
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
je 0x43f1e0
cmp eax, edx
je 0x43f1e0
push eax
call fcn.0040c9a0
add esp, 4
mov dword [esp + 8], 0
jmp 0x43f1e0
mov dword [esp + 8], 0x80b0a0d
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x43f757
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 8]
lea edx, [ecx + ecx]
and edx, 0x3ed7dd06
sub ecx, edx
add ecx, 0x9f6bee83
mov esi, ecx
and esi, edx
xor ecx, edx
lea ecx, [ecx + esi*2]
lea edx, [ecx + eax]
and ecx, eax
add ecx, ecx
sub edx, ecx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov ecx, eax
not ecx
and ecx, 0x8f
and eax, 0x70
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x43f700
mov eax, dword [0x450704]
test eax, eax
je 0x43f7f2
mov ecx, dword [esp + 8]
xor edx, edx
mov esi, dword [0x450708]
cmp dword [esi + edx*8], 0x44caaeb6
je 0x43f7c8
inc edx
cmp eax, edx
jne 0x43f770
jmp 0x43f7f2
push 0xfb1631b0
push dword [0x4506f8]
call fcn.00443d90
add esp, 8
test eax, eax
je 0x43f7ff
mov ecx, dword [ebx]
test ecx, ecx
je 0x43f180
mov dword [esp + 8], 0
lea edx, [esp + 8]
push edx
push ecx
call eax
test eax, eax
je 0x43f80b
cmp dword [esp + 8], 0
je 0x43f80b
mov dword [ebx + 4], 3
jmp 0x43f180
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43f7f2
push 0x8000
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x45070c]
push eax
call fcn.00441120
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [ebx + 4], 1
jmp 0x43f180
lea eax, [esp + 0x30]
push eax
call fcn.004446b0
add esp, 4
test al, al
je 0x43f180
mov eax, dword [esp + 0x30]
mov ecx, 2
cmp eax, 3
je 0x43f830
mov ecx, eax
mov dword [ebx + 4], ecx
jmp 0x43f180