Function at 0x43d770
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 + 0x3c], 0x100000
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0x14151617
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
cmp eax, 3
ja 0x43d81e
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
movzx eax, byte [esp + eax + 0x18]
lea edx, [ecx + ecx]
and edx, 0x5e887478
mov esi, ecx
not esi
or esi, 0x2f443a3c
add esi, ecx
sub ecx, edx
lea ecx, [ecx + esi*2]
add ecx, 0xaf443a3e
xor ecx, eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x30]
add al, 0xd4
mov ecx, dword [esp + 0x20]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, 4
jb 0x43d7d0
mov eax, dword [esp + 0x18]
mov ecx, dword [0x44f3c8]
test ecx, ecx
je 0x43d87e
xor edx, edx
mov esi, dword [0x44f3cc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x43d850
inc edx
cmp ecx, edx
jne 0x43d840
jmp 0x43d87e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43d87e
lea eax, [esp + 0x3c]
lea edx, [esp + 0x14]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x44f3d0]
push ecx
call fcn.0043f830
add esp, 0x24
test eax, eax
js 0x43defa
mov eax, dword [ebx + 4]
test eax, eax
jne 0x43d900
push 0xfb1631b0
push dword [0x44f3bc]
call fcn.004425e0
add esp, 8
test eax, eax
je 0x43d8ce
mov ecx, dword [ebx]
test ecx, ecx
je 0x43d8fd
mov dword [esp + 0x30], 0
lea edx, [esp + 0x30]
push edx
push ecx
call eax
test eax, eax
je 0x43d8d9
cmp dword [esp + 0x30], 0
je 0x43d8d9
mov dword [ebx + 4], 3
jmp 0x43d8fd
mov dword [ebx + 4], 1
xor esi, esi
jmp 0x43d919
lea eax, [esp + 0x20]
push eax
call fcn.00442e10
add esp, 4
test al, al
je 0x43d8fd
mov eax, dword [esp + 0x20]
mov ecx, 2
cmp eax, 3
je 0x43d8fa
mov ecx, eax
mov dword [ebx + 4], ecx
mov eax, dword [ebx + 4]
mov esi, 0x7fff
cmp eax, 2
je 0x43d90f
mov esi, 0
mov dword [esp + 0x40], 0xfffeffff
je 0x43d921
mov dword [esp + 0x40], SysStringLen
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
xor edx, edx
mov edi, 0x10000
mov dword [esp + 0x48], esi
jmp 0x43d97e
mov edi, dword [esp + 0x18]
add edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
adc edx, dword [esp + 0x24]
cmp edi, dword [esp + 0x40]
mov eax, edx
sbb eax, esi
jae 0x43de3f
mov dword [esp + 0x44], 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 + 0x2c]
push eax
push edx
push edi
call fcn.0043d230
cmp eax, 0xbfffffff
ja 0x43de3f
test eax, eax
js 0x43d960
cmp dword [esp + 0x58], 0x1000
jne 0x43d960
test byte [esp + 0x54], 0x66
je 0x43d960
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x3c], eax
mov edx, dword [esp + 0x1c]
mov ecx, 0
sbb ecx, edx
jae 0x43db72
mov dword [esp + 0xc], 0x14151617
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43da39
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0xc]
lea edx, [ecx + ecx]
and edx, 0x5e887478
mov esi, ecx
not esi
or esi, 0x2f443a3c
add esi, ecx
sub ecx, edx
lea ecx, [ecx + esi*2]
add ecx, 0xaf443a3e
xor ecx, eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x30]
add al, 0xd4
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x43d9f0
mov eax, dword [0x44f3c8]
test eax, eax
je 0x43da8a
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0x44f3cc]
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x43da60
inc edx
cmp eax, edx
jne 0x43da50
jmp 0x43da8a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43da8a
push 0x8000
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x44f3d0]
push eax
call fcn.0043f830
add esp, 0x1c
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], 0x14151617
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43db09
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0xc]
lea edx, [ecx + ecx]
and edx, 0x5e887478
mov esi, ecx
not esi
or esi, 0x2f443a3c
add esi, ecx
sub ecx, edx
lea ecx, [ecx + esi*2]
add ecx, 0xaf443a3e
xor ecx, eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x30]
add al, 0xd4
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x43dac0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x44f3c8]
test ecx, ecx
je 0x43db5e
xor edx, edx
mov esi, dword [0x44f3cc]
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x43db30
inc edx
cmp ecx, edx
jne 0x43db20
jmp 0x43db5e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43db5e
push 4
push 0x3000
lea eax, [esp + 0x44]
push eax
push 0
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push 6
push dword [0x44f3d0]
push ecx
call fcn.0043f830
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x48]
js 0x43de3f
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x50], edi
mov edi, esp
push edi
push edx
push eax
push dword [esp + 0x20]
push dword [esp + 0x54]
push dword [esp + 0x64]
call fcn.0043d530
test eax, eax
jns 0x43db9d
cmp eax, 0x8000000d
jne 0x43d960
mov eax, dword [esp]
mov ecx, dword [esp + 4]
cmp eax, dword [ebp + 0x10]
sbb ecx, 0
jb 0x43d960
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
call fcn.0043df10
add esp, 0x18
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
cmp ecx, edx
je 0x43d960
mov dword [esp + 0x64], ebx
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x68], edx
jmp 0x43dc4c
push dword [esp + 0x10]
call fcn.0040c6a0
add esp, 4
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x4c]
lea ecx, [eax + ebx*8]
mov dword [esp + 0x10], ecx
mov edi, eax
add edi, esi
mov ebx, dword [esp + 0x44]
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 0x43ddfe
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 + 0x10]
jne 0x43dc2f
mov dword [esp + 0x70], ecx
mov dword [esp + 0x10], eax
mov ecx, esi
sar ecx, 3
lea eax, [ecx + 1]
mov ebx, ecx
shr ebx, 1
add ebx, ecx
cmp ebx, eax
ja 0x43dc8b
mov ebx, eax
mov eax, ebx
and eax, 0xfffffff7
mov ecx, ebx
and ecx, 8
mov edx, ebx
or edx, 8
imul edx, ecx
xor ecx, 8
imul ecx, eax
add edx, ecx
push edx
call fcn.0040c690
add esp, 4
mov edx, dword [esp + 0x10]
test edx, edx
je 0x43dc18
mov dword [esp + 0x6c], ebx
cmp eax, edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x4c], eax
jbe 0x43dd82
cmp edi, eax
jbe 0x43dd82
test esi, esi
je 0x43dc00
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
add eax, edx
dec eax
mov ecx, dword [esp + 0x4c]
add ecx, edx
dec ecx
mov esi, edx
and esi, 7
je 0x43dd14
neg esi
xor edx, edx
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp esi, edx
jne 0x43dd00
add eax, edx
add ecx, edx
add edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
sub esi, edi
cmp esi, 0xfffffff8
ja 0x43dc00
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 0x43dd30
jmp 0x43dc00
mov ecx, esi
shr ecx, 2
mov ebx, esi
mov esi, dword [esp + 0x10]
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
lea ecx, [eax + edx]
add edx, esi
mov eax, ebx
mov ebx, ecx
and eax, 3
mov ecx, eax
shr ecx, 1
mov esi, edx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, eax
xor ecx, 0xfffffffe
or eax, 1
and eax, ecx
je 0x43dc00
mov esi, dword [esp + 0x2c]
and esi, 2
movzx ecx, byte [edx + esi]
mov byte [ebx + esi], cl
cmp eax, 1
je 0x43dc00
movzx ecx, byte [edx + esi + 1]
mov byte [ebx + esi + 1], cl
cmp eax, 2
je 0x43dc00
movzx eax, byte [edx + esi + 2]
mov byte [ebx + esi + 2], al
jmp 0x43dc00
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x60]
test eax, eax
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x48]
je 0x43d960
cmp eax, edx
je 0x43d960
push eax
call fcn.0040c6a0
add esp, 4
mov dword [esp + 0x30], 0
jmp 0x43d960
mov dword [esp + 0xc], 0x14151617
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43dea9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0xc]
lea edx, [ecx + ecx]
and edx, 0x5e887478
mov esi, ecx
not esi
or esi, 0x2f443a3c
add esi, ecx
sub ecx, edx
lea ecx, [ecx + esi*2]
add ecx, 0xaf443a3e
xor ecx, eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x30]
add al, 0xd4
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x43de60
mov eax, dword [0x44f3c8]
test eax, eax
je 0x43defa
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0x44f3cc]
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x43ded0
inc edx
cmp eax, edx
jne 0x43dec0
jmp 0x43defa
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43defa
push 0x8000
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x44f3d0]
push eax
call fcn.0043f830
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10