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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov ebp, ecx
mov eax, dword [esp + 0x78]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 0x100000
mov dword [esp + 0x10], 0
mov dword [esp + 0x38], 0x12d612d7
xor eax, eax
mov cl, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [esp + eax*2 + 0x38]
mov esi, eax
or esi, 0x56c8fde8
mov edi, edx
not edi
lea edi, [edx + edi*2]
inc edi
and edi, esi
mov esi, eax
xor esi, 0x217
and esi, edx
lea edx, [edi + esi]
add edx, 0x10bf
or edi, esi
mov esi, 0x6f40
sub esi, edi
and esi, 0x4972
and edx, 0xb68d
sub edx, esi
add edx, 0x4973
mov word [esp + eax*2 + 0x38], dx
mov eax, 1
test cl, 1
mov ecx, 0
jne 0x436070
mov eax, dword [esp + 0x38]
mov ecx, dword [0x445320]
test ecx, ecx
je 0x43612e
xor edx, edx
mov esi, dword [0x445324]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xa8f779e4
je 0x436100
inc edx
cmp ecx, edx
jne 0x4360f0
jmp 0x43612e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43612e
lea eax, [esp + 0x20]
lea edx, [esp + 0x10]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x445328]
call fcn.004371a0
add esp, 0x24
test eax, eax
js 0x4369ba
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 4], 0x55135511
xor eax, eax
mov cl, 1
nop
nop
nop
nop
nop
nop
movzx esi, word [esp + eax*2 + 4]
lea edx, [esi + esi]
not edx
add edx, esi
lea edi, [eax + 0xbd9]
or edi, esi
not esi
and edx, esi
mov esi, 0xf426
sub esi, eax
or esi, edx
and edi, esi
add edi, 0xffffa138
mov word [esp + eax*2 + 4], di
mov eax, 1
test cl, 1
mov ecx, 0
jne 0x436180
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
cmp eax, 0x7ffffffe
ja 0x4368f5
mov dword [esp], 0
mov dword [esp + 0x14], 0
xor edi, edi
mov dword [esp + 0x28], ebp
jmp 0x436218
mov eax, dword [esp + 0x78]
mov dword [eax + 4], edi
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov edx, dword [esp]
mov dword [eax + 8], edx
mov ebp, dword [esp + 0x28]
mov dword [esp], edx
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
cmp eax, 0x7fffffff
jae 0x4368f5
mov dword [esp + 0x18], edi
mov ecx, dword [ebp]
mov dword [esp + 4], 0x12d612d7
mov al, 1
xor edx, edx
nop
nop
nop
nop
nop
movzx esi, word [esp + edx*2 + 4]
mov edi, edx
or edi, 0x56c8fde8
mov ebx, esi
not ebx
lea ebx, [esi + ebx*2]
inc ebx
and ebx, edi
mov edi, edx
xor edi, 0x217
and edi, esi
lea esi, [ebx + edi]
add esi, 0x10bf
or ebx, edi
mov edi, 0x6f40
sub edi, ebx
and edi, 0x4972
and esi, 0xb68d
sub esi, edi
add esi, 0x4973
mov word [esp + edx*2 + 4], si
mov edx, 1
test al, 1
mov eax, 0
jne 0x436230
mov eax, dword [esp + 4]
mov edx, dword [0x445320]
test edx, edx
je 0x4362e0
xor esi, esi
mov edi, dword [0x445324]
cmp dword [edi + esi*8], 0xe095b21b
je 0x4362b0
inc esi
cmp edx, esi
jne 0x4362a0
jmp 0x4362e0
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x4362e0
push 0
push 0x1c
lea eax, [esp + 0x40]
push eax
push 0
push dword [esp + 0x34]
push ecx
push 0x18
push edx
push dword [0x445328]
call fcn.004371a0
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
mov edi, dword [esp + 0x18]
ja 0x4368f5
test eax, eax
js 0x436201
cmp dword [esp + 0x48], 0x1000
jne 0x436201
test byte [esp + 0x4c], 0x66
je 0x436201
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jbe 0x4364da
mov dword [esp + 4], 0x12d612d7
xor ecx, ecx
mov dl, 1
nop
nop
nop
nop
movzx esi, word [esp + ecx*2 + 4]
mov edi, ecx
or edi, 0x56c8fde8
mov ebx, esi
not ebx
lea ebx, [esi + ebx*2]
inc ebx
and ebx, edi
mov edi, ecx
xor edi, 0x217
and edi, esi
lea esi, [ebx + edi]
add esi, 0x10bf
or ebx, edi
mov edi, 0x6f40
sub edi, ebx
and edi, 0x4972
and esi, 0xb68d
sub esi, edi
add esi, 0x4973
mov word [esp + ecx*2 + 4], si
mov ecx, 1
test dl, 1
mov edx, 0
jne 0x436330
mov ecx, dword [0x445320]
test ecx, ecx
je 0x4363ee
mov edx, dword [esp + 4]
xor esi, esi
mov edi, dword [0x445324]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x6a2d3ea3
je 0x4363c0
inc esi
cmp ecx, esi
jne 0x4363b0
jmp 0x4363ee
mov ecx, dword [edi + esi*8 + 4]
cmp ecx, edx
je 0x4363ee
push 0x8000
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 0x10
push ecx
push dword [0x445328]
call fcn.004371a0
add esp, 0x1c
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
mov dword [esp + 4], 0x12d612d7
xor eax, eax
mov cl, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [esp + eax*2 + 4]
mov esi, eax
or esi, 0x56c8fde8
mov edi, edx
not edi
lea edi, [edx + edi*2]
inc edi
and edi, esi
mov esi, eax
xor esi, 0x217
and esi, edx
lea edx, [edi + esi]
add edx, 0x10bf
or edi, esi
mov esi, 0x6f40
sub esi, edi
and esi, 0x4972
and edx, 0xb68d
sub edx, esi
add edx, 0x4973
mov word [esp + eax*2 + 4], dx
mov eax, 1
test cl, 1
mov ecx, 0
jne 0x436410
mov eax, dword [esp + 4]
mov ecx, dword [0x445320]
test ecx, ecx
je 0x4364ce
xor edx, edx
mov esi, dword [0x445324]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xa8f779e4
je 0x4364a0
inc edx
cmp ecx, edx
jne 0x436490
jmp 0x4364ce
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4364ce
push 4
push 0x3000
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x445328]
call fcn.004371a0
add esp, 0x24
test eax, eax
js 0x4368f5
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x12d612d7
xor eax, eax
mov bl, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [esp + eax*2 + 4]
mov ebp, eax
or ebp, 0x56c8fde8
mov edi, edx
not edi
lea edi, [edx + edi*2]
inc edi
and edi, ebp
mov ebp, eax
xor ebp, 0x217
and ebp, edx
lea edx, [edi + ebp]
add edx, 0x10bf
or edi, ebp
mov ebp, 0x6f40
sub ebp, edi
and ebp, 0x4972
and edx, 0xb68d
sub edx, ebp
add edx, 0x4973
mov word [esp + eax*2 + 4], dx
mov eax, 1
test bl, 1
mov ebx, 0
jne 0x436500
mov eax, dword [esp + 4]
mov edi, dword [0x445320]
test edi, edi
je 0x4365c0
xor ebx, ebx
mov ebp, dword [0x445324]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0xa99f3325
je 0x436591
inc ebx
cmp edi, ebx
jne 0x436580
jmp 0x4365c0
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x4365c0
lea eax, [esp + 0x60]
push eax
push ecx
push esi
push dword [esp + 0x30]
push dword [esp + 0x2c]
push 0x14
push edi
push dword [0x445328]
call fcn.004371a0
add esp, 0x20
nop
nop
nop
nop
nop
nop
nop
test eax, eax
jns 0x43664c
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0x8a5a0a44
xor ecx, ecx
mov al, 1
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [esp + ecx*2 + 4]
lea edi, [ecx - 0x1168932f]
mov ebx, edi
and ebx, esi
mov ebp, ebx
and ebp, 2
mov edx, ebx
or ebx, 2
imul ebx, ebp
xor ebp, 2
and edx, 0x6cd1
imul edx, ebp
add ebx, edx
mov ebp, 0x1168932e
sub ebp, ecx
and ebp, ebx
not ebx
and ebx, edi
sub ebp, ebx
mov edx, esi
not edx
and edx, ebp
not ebp
and ebp, esi
sub ebp, edx
add ebp, 0xffff9978
mov word [esp + ecx*2 + 4], bp
mov ecx, 1
test al, 1
mov eax, 0
jne 0x4365e0
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 4]
jne 0x4368dc
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0x6c]
push dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
call fcn.004369d0
add esp, 0x18
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
cmp eax, ecx
mov edi, dword [esp + 0x18]
je 0x4361e7
mov dword [esp + 0x54], eax
mov ebx, eax
mov ebp, edi
mov ecx, dword [esp + 0x14]
mov esi, ecx
mov edx, dword [esp]
jmp 0x4366cb
mov eax, dword [esp + 0x1c]
mov dword [ecx + esi], eax
add edi, 4
add ebx, 4
mov ebp, edi
mov esi, ecx
cmp ebx, dword [esp + 0x30]
je 0x4368a4
mov eax, dword [ebx]
add eax, dword [esp + 0x24]
sub eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, ebp
sub eax, esi
cmp ebp, edx
jne 0x43684c
mov dword [esp], eax
mov ecx, eax
sar ecx, 2
lea eax, [ecx + 1]
mov edi, ecx
shr edi, 1
add edi, ecx
cmp edi, eax
ja 0x4366fc
mov edi, eax
lea eax, [edi*4]
push eax
call fcn.00408000
add esp, 4
mov ecx, eax
test esi, esi
je 0x436842
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], ebx
cmp ecx, esi
mov eax, dword [esp]
mov dword [esp + 0x14], ecx
jbe 0x4367df
cmp ebp, ecx
jbe 0x4367df
test eax, eax
je 0x43682d
mov edx, dword [esp]
lea eax, [esi + edx]
dec eax
mov ecx, dword [esp + 0x14]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x436773
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x436760
add eax, edx
add ecx, edx
add edx, dword [esp]
mov edi, esi
sub edi, ebp
cmp edi, 0xfffffff8
ja 0x43682d
neg edx
xor edi, edi
nop
nop
nop
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 0x436790
jmp 0x43682d
mov ebx, ecx
mov ecx, eax
shr ecx, 2
mov edx, eax
mov eax, esi
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
and edx, 0xfffffffc
lea edi, [ebx + edx]
add edx, esi
mov eax, ecx
not eax
or eax, 3
add eax, ecx
inc eax
mov ecx, eax
shr ecx, 1
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edi
mov ebx, dword [esp + 0x5c]
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test al, 1
je 0x43682d
and eax, 0xfffffffe
movzx ecx, byte [edx + eax]
mov edx, dword [esp + 0x58]
mov byte [edx + eax], cl
push esi
call fcn.00408010
add esp, 4
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
lea edx, [ecx + edi*4]
mov edi, ecx
mov eax, dword [esp]
add edi, eax
mov dword [esp], edx
mov edx, eax
mov eax, esi
xor eax, ebp
not esi
and esi, ebp
add esi, esi
sub esi, eax
cmp esi, edx
mov edx, dword [esp]
jae 0x4366b0
lea edx, [ecx + esi]
lea eax, [ecx + esi]
add eax, 4
mov dword [esp + 0x2c], ebx
mov ebx, edx
mov dword [esp + 0x18], edi
mov edi, eax
mov ebp, ecx
xor ecx, ecx
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov ebx, dword [esp + 0x2c]
xor ecx, ecx
mov edi, eax
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov edi, dword [esp + 0x18]
mov edx, dword [esp]
mov ecx, ebp
jmp 0x4366b0
mov eax, dword [esp + 0x78]
mov dword [eax + 4], edi
mov dword [eax], ecx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x54]
test eax, eax
mov ebp, dword [esp + 0x28]
je 0x4368ec
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x30]
je 0x4361fe
push eax
mov esi, edx
call fcn.00408010
mov edx, esi
add esp, 4
jmp 0x4361fe
mov ebp, dword [esp + 0x28]
mov edx, dword [esp]
mov edi, dword [esp + 0x18]
jmp 0x4361fe
mov dword [esp + 0x14], ecx
jmp 0x4361fe
mov dword [esp + 4], 0x12d612d7
xor eax, eax
mov cl, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [esp + eax*2 + 4]
mov esi, eax
or esi, 0x56c8fde8
mov edi, edx
not edi
lea edi, [edx + edi*2]
inc edi
and edi, esi
mov esi, eax
xor esi, 0x217
and esi, edx
lea edx, [edi + esi]
add edx, 0x10bf
or edi, esi
mov esi, 0x6f40
sub esi, edi
and esi, 0x4972
and edx, 0xb68d
sub edx, esi
add edx, 0x4973
mov word [esp + eax*2 + 4], dx
mov eax, 1
test cl, 1
mov ecx, 0
jne 0x436910
mov eax, dword [0x445320]
test eax, eax
je 0x4369ba
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x445324]
cmp dword [esi + edx*8], 0x6a2d3ea3
je 0x436990
inc edx
cmp eax, edx
jne 0x436980
jmp 0x4369ba
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4369ba
lea ecx, [esp + 0x34]
lea edx, [esp + 0x10]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x445328]
call fcn.004371a0
add esp, 0x1c
mov eax, dword [esp + 0x78]
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret 0x10