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

Disassembly:
sub esp, 0x60
mov eax, dword [0x448780]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
mov ebx, ecx
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x44], ebx
test edi, edi
je 0x4146e7
shr edi, 4
cmp byte [ebx], 0
mov dword [esp + 0x78], edi
je 0x414266
push esi
push edi
push ebp
call fcn.004146fc
jmp 0x4146e7
lea eax, [ebx + 8]
push 0x10
push eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x64]
push eax
call fcn.004268c0
add esp, 0xc
test edi, edi
je 0x4146d4
lea eax, [ebp + 8]
sub ebp, esi
mov dword [esp + 0x48], eax
sub ebp, 8
lea eax, [esi + 8]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], eax
mov esi, dword [ebx + 4]
lea ecx, [eax + ebp]
mov eax, esi
mov dword [esp + 0x54], ecx
shl eax, 4
add eax, 0x18
add eax, ebx
push eax
push ecx
lea eax, [esp + 0x3c]
push eax
call fcn.004141ef
movzx eax, byte [esp + 0x34]
movzx ecx, byte [esp + 0x3b]
mov edx, dword [eax*4 + 0x452258]
xor edx, dword [ecx*4 + 0x452e58]
movzx eax, byte [esp + 0x3e]
movzx ecx, byte [esp + 0x38]
xor edx, dword [eax*4 + 0x452a58]
movzx eax, byte [esp + 0x41]
xor edx, dword [eax*4 + 0x452658]
movzx eax, byte [esp + 0x35]
mov dword [esp + 0x20], edx
mov eax, dword [eax*4 + 0x452658]
xor eax, dword [ecx*4 + 0x452258]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x3f]
mov ecx, dword [esp + 0x10]
xor ecx, dword [eax*4 + 0x452e58]
movzx eax, byte [esp + 0x42]
xor ecx, dword [eax*4 + 0x452a58]
movzx eax, byte [esp + 0x36]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ecx
movzx ecx, byte [esp + 0x39]
mov eax, dword [eax*4 + 0x452a58]
xor eax, dword [ecx*4 + 0x452658]
mov dword [esp + 0x30], eax
movzx eax, byte [esp + 0x3c]
mov ecx, dword [esp + 0x30]
xor ecx, dword [eax*4 + 0x452258]
movzx eax, byte [esp + 0x43]
xor ecx, dword [eax*4 + 0x452e58]
movzx eax, byte [esp + 0x37]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], ecx
movzx ecx, byte [esp + 0x3a]
mov eax, dword [eax*4 + 0x452e58]
xor eax, dword [ecx*4 + 0x452a58]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x3d]
mov ecx, dword [esp + 0x14]
xor ecx, dword [eax*4 + 0x452658]
movzx eax, byte [esp + 0x40]
xor ecx, dword [eax*4 + 0x452258]
lea eax, [esi - 1]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ecx
cmp eax, 1
jle 0x41450a
mov edi, dword [esp + 0x10]
lea esi, [eax + 2]
shl esi, 4
mov ebp, edx
add esi, ebx
dec eax
mov dword [esp + 0x18], eax
mov eax, dword [esi - 8]
xor eax, ebp
mov ebx, dword [esi + 4]
mov dword [esp + 0x14], eax
xor ebx, ecx
mov eax, dword [esi - 4]
xor eax, edi
mov edx, dword [esi]
xor edx, dword [esp + 0x30]
lea esi, [esi - 0x10]
mov dword [esp + 0x10], eax
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ebp, dword [ecx*4 + 0x452658]
mov ecx, dword [esp + 0x14]
xor ebp, dword [eax*4 + 0x452a58]
mov eax, dword [esp + 0x10]
shr eax, 0x18
xor ebp, dword [eax*4 + 0x452e58]
movzx eax, cl
xor ebp, dword [eax*4 + 0x452258]
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x20], ebp
mov edi, dword [ecx*4 + 0x452658]
xor edi, dword [eax*4 + 0x452a58]
mov eax, edx
shr eax, 0x18
xor edi, dword [eax*4 + 0x452e58]
mov eax, dword [esp + 0x10]
movzx eax, al
xor edi, dword [eax*4 + 0x452258]
mov eax, dword [esp + 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x10]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x452a58]
mov dword [esp + 0x24], edi
xor ecx, dword [eax*4 + 0x452658]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x452e58]
movzx eax, dl
shr edx, 8
xor ecx, dword [eax*4 + 0x452258]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], ecx
shr eax, 0x10
movzx eax, al
movzx ecx, dl
mov ecx, dword [ecx*4 + 0x452658]
xor ecx, dword [eax*4 + 0x452a58]
mov eax, dword [esp + 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x452e58]
movzx eax, bl
xor ecx, dword [eax*4 + 0x452258]
sub dword [esp + 0x18], 1
mov dword [esp + 0x2c], ecx
jne 0x4143cf
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x28]
xor eax, edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
movzx eax, al
mov edx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
xor ecx, dword [esp + 0x14]
mov al, byte [eax + 0x451158]
mov byte [esp + 0x20], al
mov eax, ecx
shr eax, 8
movzx eax, al
xor edx, dword [esp + 0x30]
mov ebx, dword [ebx + 0x2c]
xor ebx, dword [esp + 0x10]
mov al, byte [eax + 0x451158]
mov byte [esp + 0x21], al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov esi, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ebx
mov al, byte [eax + 0x451158]
mov byte [esp + 0x22], al
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x40], ecx
mov al, byte [eax + 0x451158]
mov byte [esp + 0x23], al
movzx eax, bl
mov al, byte [eax + 0x451158]
mov byte [esp + 0x24], al
mov eax, esi
shr eax, 8
movzx eax, al
mov al, byte [eax + 0x451158]
mov byte [esp + 0x25], al
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov al, byte [eax + 0x451158]
mov byte [esp + 0x26], al
mov eax, edx
shr eax, 0x18
mov al, byte [eax + 0x451158]
mov byte [esp + 0x27], al
movzx eax, dl
shr edx, 8
mov al, byte [eax + 0x451158]
mov byte [esp + 0x28], al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x10
mov al, byte [eax + 0x451158]
mov byte [esp + 0x29], al
mov eax, esi
shr eax, 0x10
movzx eax, al
mov al, byte [eax + 0x451158]
mov byte [esp + 0x2a], al
mov eax, ecx
shr eax, 0x18
shr esi, 0x18
mov al, byte [eax + 0x451158]
mov byte [esp + 0x2b], al
movzx eax, cl
mov al, byte [eax + 0x451158]
mov byte [esp + 0x2c], al
movzx eax, dl
mov al, byte [eax + 0x451158]
mov byte [esp + 0x2d], al
movzx eax, bl
mov ebx, dword [esp + 0x44]
mov al, byte [eax + 0x451158]
mov byte [esp + 0x2e], al
mov al, byte [esi + 0x451158]
mov byte [esp + 0x2f], al
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
xor eax, dword [esp + 0x28]
xor ecx, dword [esp + 0x2c]
xor edx, dword [esp + 0x20]
xor esi, dword [esp + 0x24]
cmp byte [ebx + 1], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
je 0x414680
xor eax, dword [esp + 0x64]
xor edx, dword [esp + 0x5c]
xor esi, dword [esp + 0x60]
xor ecx, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx - 4]
mov dword [esp + 0x60], eax
mov eax, dword [ecx]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 4]
add ecx, 0x10
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], ecx
mov dword [eax - 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
mov dword [eax - 4], esi
mov dword [eax + 4], edx
add eax, 0x10
sub edi, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x78], edi
jne 0x41429c
push 0x10
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x60]
call fcn.004268c0
add esp, 0xc
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004253a4
add esp, 0x60
ret 0xc