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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov ebx, dword [ebp + 8]
mov dword [esp], 0x90
call fcn.004010e0
mov dword [esp + 0x1c], 1
test eax, eax
mov esi, eax
je 0x4028b6
xor eax, eax
mov ecx, 0x24
mov edi, esi
rep stosd dword es:[edi], eax
lea edi, [esi + 0x60]
mov word [esi + 8], 0x30
lea ecx, [ebp + 0xc]
lea edx, [esp + 0xac]
mov eax, dword [ebx]
mov dword [esi + 0x60], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, esi
call fcn.004025e0
mov eax, dword [ebp + 0xc]
mov dword [esp], esi
mov dword [esp + 8], eax
lea eax, [esp + 0xac]
mov dword [esp + 4], eax
call fcn.00401980
test eax, eax
je 0x4028c8
mov word [esi + 8], 0x30
mov edx, dword [ebx + 0x28]
lea ecx, [ebp + 0xc]
mov dword [esi + 0x60], edx
mov edx, dword [ebx + 0x2c]
mov dword [edi + 4], edx
mov edx, dword [ebx + 0x30]
mov dword [edi + 8], edx
mov edx, dword [ebx + 0x34]
mov dword [edi + 0xc], edx
mov edx, dword [ebx + 0x38]
mov dword [edi + 0x10], edx
mov edx, dword [ebx + 0x3c]
mov dword [edi + 0x14], edx
mov edx, dword [ebx + 0x40]
mov dword [edi + 0x18], edx
mov edx, dword [ebx + 0x44]
mov dword [edi + 0x1c], edx
mov edx, dword [ebx + 0x48]
mov dword [edi + 0x20], edx
mov edx, dword [ebx + 0x4c]
mov dword [edi + 0x24], edx
mov edx, dword [ebx + 0x50]
mov dword [edi + 0x28], edx
mov eax, dword [ebx + 0x54]
lea ebx, [esp + 0x60]
mov edx, ebx
mov dword [edi + 0x2c], eax
mov eax, esi
call fcn.004025e0
lea edx, [ebp + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00401c20
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x4028e0
mov eax, dword [esp + 0x68]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [esp + 0x6c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x70]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x74]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x84]
mov dword [edx + 0x1c], eax
mov dword [esp], esi
call fcn.004010d0
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
call fcn.004010d0
mov eax, dword [esp + 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movdqa xmm0, xmmword [0x4d9200]
movdqa xmmword [esp + 0x20], xmm0
movzx eax, byte [esp + 0x24]
xor byte [esp + 0x6c], al
movdqa xmm0, xmmword [0x4d9210]
movdqa xmmword [esp + 0x30], xmm0
movzx eax, byte [esp + 0x25]
movdqa xmm0, xmmword [str.Pa5]
movdqa xmmword [esp + 0x40], xmm0
xor byte [esp + 0x68], 0x18
movdqa xmm0, xmmword [0x4d9230]
movdqa xmmword [esp + 0x50], xmm0
xor byte [esp + 0x69], 0xdb
movdqu xmm0, xmmword [esp + 0x28]
pxor xmm0, xmmword [esp + 0x70]
xor byte [esp + 0x6a], 0xc9
movdqa xmmword [esp + 0x70], xmm0
xor byte [esp + 0x6b], 0x49
xor byte [esp + 0x6d], al
movzx eax, byte [esp + 0x26]
xor byte [esp + 0x6e], al
movzx eax, byte [esp + 0x27]
xor byte [esp + 0x6f], al
mov eax, 0x18
nop
movzx edx, byte [esp + eax + 0x20]
xor byte [esp + eax + 0x68], dl
add eax, 1
cmp eax, 0x20
jne 0x402968
jmp 0x402866