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

Disassembly:
sub esp, 0x158
cmp dword [0x7f5a04], 0
jne 0x401fa0
xor eax, eax
push edi
push 0x100
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov word [esp + 0x60], ax
lea eax, [esp + 0x64]
push eax
call fcn.00401b60
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x5c], al
inc eax
cmp eax, 0x100
jb 0x401be0
push esi
xor esi, esi
nop
mov dl, byte [esp + esi + 0x60]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41c020]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x60]
mov byte [esp + esi + 0x60], al
inc esi
mov byte [esp + edi + 0x60], dl
cmp esi, 0x100
jb 0x401bf0
push ebx
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x64]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x64]
mov byte [esp + edi + 0x64], al
mov byte [esp + ebx + 0x64], cl
movzx eax, byte [esp + edi + 0x64]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x64]
xor al, byte [esi + 0x41c024]
mov byte [esp + esi + 0x48], al
inc esi
cmp esi, 0x1a
jb 0x401c26
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
mov byte [esp + 0x22], al
lea eax, [esp + 0x6c]
push eax
call fcn.00401b60
add esp, 0xc
xor edi, edi
xor eax, eax
mov byte [esp + eax + 0x64], al
inc eax
cmp eax, 0x100
jb 0x401c93
xor esi, esi
mov dl, byte [esp + esi + 0x64]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41c0c0]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x64]
mov byte [esp + esi + 0x64], al
inc esi
mov byte [esp + edi + 0x64], dl
cmp esi, 0x100
jb 0x401ca1
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x64]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x64]
mov byte [esp + edi + 0x64], al
mov byte [esp + ebx + 0x64], cl
movzx eax, byte [esp + edi + 0x64]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x64]
xor al, byte [esi + 0x41c0c4]
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0xf
jb 0x401cd6
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov byte [esp + 0x32], al
lea eax, [esp + 0x6c]
push eax
call fcn.00401b60
add esp, 0xc
xor edi, edi
xor eax, eax
mov byte [esp + eax + 0x64], al
inc eax
cmp eax, 0x100
jb 0x401d43
xor esi, esi
mov dl, byte [esp + esi + 0x64]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41c040]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x64]
mov byte [esp + esi + 0x64], al
inc esi
mov byte [esp + edi + 0x64], dl
cmp esi, 0x100
jb 0x401d51
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x64]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x64]
mov byte [esp + edi + 0x64], al
mov byte [esp + ebx + 0x64], cl
movzx eax, byte [esp + edi + 0x64]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x64]
xor al, byte [esi + 0x41c044]
mov byte [esp + esi + 0x1c], al
inc esi
cmp esi, 0xf
jb 0x401d86
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 dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov byte [esp + 0x4c], al
lea eax, [esp + 0x6c]
push eax
call fcn.00401b60
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x64], al
inc eax
cmp eax, 0x100
jb 0x401e00
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x64]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41c080]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x64]
mov byte [esp + esi + 0x64], al
inc esi
mov byte [esp + edi + 0x64], dl
cmp esi, 0x100
jb 0x401e10
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x64]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x64]
mov byte [esp + edi + 0x64], al
mov byte [esp + ebx + 0x64], cl
movzx eax, byte [esp + edi + 0x64]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x64]
xor al, byte [esi + 0x41c084]
mov byte [esp + esi + 0x2c], al
inc esi
cmp esi, 0x19
jb 0x401e45
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.00402e90
mov edi, eax
test edi, edi
je 0x401f9d
mov esi, dword [edi + 0x18]
mov ecx, esi
test esi, esi
je 0x401ed8
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x401ed8
mov edx, dword [eax + esi + 0x7c]
test edx, edx
je 0x401ed8
mov eax, dword [eax + esi + 0x78]
test eax, eax
je 0x401ed8
lea ecx, [esp + 0x1c]
push ecx
push edx
lea edx, [eax + esi]
mov ecx, esi
call fcn.00401fc0
mov ecx, dword [edi + 0x18]
add esp, 8
test eax, eax
je 0x401ed8
mov dword [0x7f5a00], eax
xor esi, esi
mov eax, ecx
test ecx, ecx
je 0x401f0c
mov edx, dword [ecx + 0x3c]
test edx, edx
je 0x401f0c
mov ebx, dword [edx + ecx + 0x7c]
test ebx, ebx
je 0x401f0c
mov edx, dword [edx + ecx + 0x78]
test edx, edx
je 0x401f0c
lea eax, [esp + 0xc]
add edx, ecx
push eax
push ebx
call fcn.00401fc0
mov esi, eax
add esp, 8
mov eax, dword [edi + 0x18]
mov ecx, eax
test esi, esi
jne 0x401f2d
mov edx, dword [0x7f5a00]
test edx, edx
je 0x401f29
lea ecx, [esp + 0xc]
push ecx
push eax
call edx
mov ecx, dword [edi + 0x18]
mov esi, eax
test esi, esi
je 0x401f33
mov dword [0x7f5a08], esi
xor eax, eax
test ecx, ecx
je 0x401f60
mov edx, dword [ecx + 0x3c]
test edx, edx
je 0x401f60
mov esi, dword [edx + ecx + 0x7c]
test esi, esi
je 0x401f60
mov edx, dword [edx + ecx + 0x78]
test edx, edx
je 0x401f60
lea eax, [esp + 0x2c]
add edx, ecx
push eax
push esi
call fcn.00401fc0
add esp, 8
test eax, eax
jne 0x401f7c
mov edx, dword [0x7f5a00]
test edx, edx
je 0x401f81
lea eax, [esp + 0x2c]
push eax
push dword [edi + 0x18]
call edx
test eax, eax
je 0x401f81
mov dword [0x7f5a0c], eax
cmp dword [0x7f5a08], 0
je 0x401f9d
cmp dword [0x7f5a00], 0
je 0x401f9d
mov dword [0x7f5a04], 1
pop ebx
pop esi
pop edi
add esp, 0x158
ret