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

Disassembly:
sub esp, 0x180
push esi
xor eax, eax
push edi
push 0x100
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x90]
push eax
call fcn.00401e50
add esp, 0xc
xor edi, edi
xor eax, eax
jmp 0x4027f0
mov byte [esp + eax + 0x88], al
inc eax
cmp eax, 0x100
jb 0x4027f0
xor esi, esi
mov dl, byte [esp + esi + 0x88]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41b160]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x88]
mov byte [esp + esi + 0x88], al
inc esi
mov byte [esp + edi + 0x88], dl
cmp esi, 0x100
jb 0x402801
push ebx
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x8c]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x8c]
mov byte [esp + edi + 0x8c], al
mov byte [esp + ebx + 0x8c], cl
movzx eax, byte [esp + edi + 0x8c]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x8c]
xor al, byte [esi + 0x41b164]
mov byte [esp + esi + 0x40], al
inc esi
cmp esi, 0x14
jb 0x402843
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov word [esp + 0x44], ax
lea eax, [esp + 0x94]
push eax
call fcn.00401e50
add esp, 0xc
xor edi, edi
xor eax, eax
jmp 0x4028d0
mov byte [esp + eax + 0x8c], al
inc eax
cmp eax, 0x100
jb 0x4028d0
xor esi, esi
mov dl, byte [esp + esi + 0x8c]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41b180]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x8c]
mov byte [esp + esi + 0x8c], al
inc esi
mov byte [esp + edi + 0x8c], dl
cmp esi, 0x100
jb 0x4028e1
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x8c]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x8c]
mov byte [esp + edi + 0x8c], al
mov byte [esp + ebx + 0x8c], cl
movzx eax, byte [esp + edi + 0x8c]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x8c]
xor al, byte [esi + 0x41b184]
mov byte [esp + esi + 0x2c], al
inc esi
cmp esi, 0x12
jb 0x402922
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], al
lea eax, [esp + 0x94]
push eax
call fcn.00401e50
add esp, 0xc
xor edi, edi
xor eax, eax
mov byte [esp + eax + 0x8c], al
inc eax
cmp eax, 0x100
jb 0x4029a0
xor esi, esi
mov dl, byte [esp + esi + 0x8c]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41b198]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x8c]
mov byte [esp + esi + 0x8c], al
inc esi
mov byte [esp + edi + 0x8c], dl
cmp esi, 0x100
jb 0x4029b1
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x8c]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x8c]
mov byte [esp + edi + 0x8c], al
mov byte [esp + ebx + 0x8c], cl
movzx eax, byte [esp + edi + 0x8c]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x8c]
xor al, byte [esi + 0x41b19c]
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0xb
jb 0x4029f2
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], al
lea eax, [esp + 0x94]
push eax
call fcn.00401e50
add esp, 0xc
xor edi, edi
xor eax, eax
mov byte [esp + eax + 0x8c], al
inc eax
cmp eax, 0x100
jb 0x402a73
xor esi, esi
mov dl, byte [esp + esi + 0x8c]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41b140]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x8c]
mov byte [esp + esi + 0x8c], al
inc esi
mov byte [esp + edi + 0x8c], dl
cmp esi, 0x100
jb 0x402a84
xor edi, edi
xor ebx, ebx
xor esi, esi
jmp 0x402ad0
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x8c]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x8c]
mov byte [esp + edi + 0x8c], al
mov byte [esp + ebx + 0x8c], cl
movzx eax, byte [esp + edi + 0x8c]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x8c]
xor al, byte [esi + 0x41b144]
mov byte [esp + esi + 0x18], al
inc esi
cmp esi, 0x11
jb 0x402ad0
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov word [esp + 0x74], ax
lea eax, [esp + 0x94]
push eax
call fcn.00401e50
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x8c], al
inc eax
cmp eax, 0x100
jb 0x402b60
xor esi, esi
mov dl, byte [esp + esi + 0x8c]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41b100]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x8c]
mov byte [esp + esi + 0x8c], al
inc esi
mov byte [esp + edi + 0x8c], dl
cmp esi, 0x100
jb 0x402b71
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x8c]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x8c]
mov byte [esp + edi + 0x8c], al
mov byte [esp + ebx + 0x8c], cl
movzx eax, byte [esp + edi + 0x8c]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x8c]
xor al, byte [esi + 0x41b104]
mov byte [esp + esi + 0x54], al
inc esi
cmp esi, 0x1a
jb 0x402bb2
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x94]
push eax
call fcn.00401e50
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x8c], al
inc eax
cmp eax, 0x100
jb 0x402c50
xor esi, esi
mov dl, byte [esp + esi + 0x8c]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41b1b0]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x8c]
mov byte [esp + esi + 0x8c], al
inc esi
mov byte [esp + edi + 0x8c], dl
cmp esi, 0x100
jb 0x402c61
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x8c]
movzx edx, cl
lea eax, [ebx + edx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x8c]
mov byte [esp + edi + 0x8c], al
mov byte [esp + ebx + 0x8c], cl
movzx eax, byte [esp + edi + 0x8c]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x8c]
xor al, byte [esi + 0x41b1b4]
mov byte [esp + esi + 0x70], al
inc esi
cmp esi, 0x1c
jb 0x402ca2
xor edx, edx
lea ecx, [esp + 0x40]
call fcn.004035f0
mov edi, eax
pop ebx
test edi, edi
je 0x402e48
mov esi, dword [edi + 0x18]
test esi, esi
je 0x402e48
call fcn.00403ab0
test esi, esi
je 0x402d4b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x402d4b
mov ecx, dword [eax + esi + 0x7c]
test ecx, ecx
je 0x402d4b
mov eax, dword [eax + esi + 0x78]
test eax, eax
je 0x402d4b
lea edx, [esp + 0x28]
push edx
push ecx
lea edx, [eax + esi]
mov ecx, esi
call fcn.00403ed0
add esp, 8
test eax, eax
jne 0x402d5c
mov eax, dword [0x81c600]
test eax, eax
je 0x402d5c
lea ecx, [esp + 0x28]
push ecx
push esi
call eax
mov esi, dword [edi + 0x18]
mov dword [0x81c620], eax
call fcn.00403ab0
test esi, esi
je 0x402d9b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x402d9b
mov ecx, dword [eax + esi + 0x7c]
test ecx, ecx
je 0x402d9b
mov eax, dword [eax + esi + 0x78]
test eax, eax
je 0x402d9b
lea edx, [esp + 8]
push edx
push ecx
lea edx, [eax + esi]
mov ecx, esi
call fcn.00403ed0
add esp, 8
test eax, eax
jne 0x402dac
mov eax, dword [0x81c600]
test eax, eax
je 0x402dac
lea ecx, [esp + 8]
push ecx
push esi
call eax
mov esi, dword [edi + 0x18]
mov dword [0x81c614], eax
call fcn.00403ab0
test esi, esi
je 0x402deb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x402deb
mov ecx, dword [esi + eax + 0x7c]
test ecx, ecx
je 0x402deb
mov eax, dword [esi + eax + 0x78]
test eax, eax
je 0x402deb
lea edx, [esp + 0x14]
push edx
push ecx
lea edx, [eax + esi]
mov ecx, esi
call fcn.00403ed0
add esp, 8
test eax, eax
jne 0x402dfc
mov eax, dword [0x81c600]
test eax, eax
je 0x402dfc
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
cmp dword [0x81c620], 0
mov dword [0x81c61c], eax
je 0x402e48
cmp dword [0x81c614], 0
je 0x402e48
test eax, eax
je 0x402e48
xor edx, edx
lea ecx, [esp + 0x50]
call fcn.004035f0
test eax, eax
je 0x402e48
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x402e48
lea edx, [esp + 0x6c]
call fcn.00402e60
mov dword [0x81c618], eax
test eax, eax
je 0x402e48
push 0x4039a0
push 0
call eax
pop edi
xor eax, eax
pop esi
add esp, 0x180
ret