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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x18], 0x411d30
mov esi, 5
lea edx, [ebx + 0x10]
mov dword [ebp - 0x20], edx
nop
mov ecx, dword [ebx + 0xa0]
xor ecx, dword [ebx + 0x78]
xor ecx, dword [ebx + 0x50]
xor ecx, dword [ebx + 0x28]
xor ecx, dword [ebx]
mov eax, dword [ebx + 0xa4]
xor eax, dword [ebx + 0x7c]
xor eax, dword [ebx + 0x54]
xor eax, dword [ebx + 0x2c]
xor eax, dword [ebx + 4]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebx + 0xa8]
xor ecx, dword [ebx + 0x80]
xor ecx, dword [ebx + 0x58]
xor ecx, dword [ebx + 0x30]
xor ecx, dword [ebx + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0xac]
xor eax, dword [ebx + 0x84]
xor eax, dword [ebx + 0x5c]
xor eax, dword [ebx + 0x34]
xor eax, dword [ebx + 0xc]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebx + 0xb0]
xor ecx, dword [ebx + 0x88]
xor ecx, dword [ebx + 0x60]
xor ecx, dword [ebx + 0x38]
xor ecx, dword [edx]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0xb4]
xor eax, dword [ebx + 0x8c]
xor eax, dword [ebx + 0x64]
xor eax, dword [ebx + 0x3c]
xor eax, dword [edx + 4]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebx + 0x90]
xor ecx, dword [ebx + 0x68]
xor ecx, dword [ebx + 0x40]
xor ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0xb8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x94]
xor eax, dword [ebx + 0x6c]
xor eax, dword [ebx + 0x44]
xor eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0xbc]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebx + 0xc0]
xor ecx, dword [ebx + 0x98]
xor ecx, dword [ebx + 0x70]
xor ecx, dword [ebx + 0x48]
xor ecx, dword [ebx + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xc4]
xor eax, dword [ebx + 0x9c]
xor eax, dword [ebx + 0x74]
xor eax, dword [ebx + 0x4c]
xor eax, dword [ebx + 0x24]
mov dword [ebp - 0x14], 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 8], 5
nop dword [eax]
lea eax, [ebx - 3]
xor edi, edi
cdq
idiv esi
mov eax, dword [ebp + edx*8 - 0x50]
mov esi, eax
mov ecx, dword [ebp + edx*8 - 0x54]
shld eax, ecx, 1
shr esi, 0x1f
or edi, eax
add ecx, ecx
or esi, ecx
mov eax, ebx
cdq
mov ecx, 5
idiv ecx
xor esi, dword [ebp + edx*8 - 0x54]
xor edi, dword [ebp + edx*8 - 0x50]
mov edx, dword [ebp - 4]
mov eax, edx
xor dword [eax], esi
lea eax, [eax + 0x28]
xor dword [eax - 0x24], edi
sub ecx, 1
jne 0x407216
add edx, 8
lea esi, [ecx + 5]
inc ebx
mov dword [ebp - 4], edx
sub dword [ebp - 8], 1
jne 0x4071e0
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0xc], edx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
nop word [eax + eax]
mov eax, dword [edx + 0x411e50]
mov ecx, dword [ebx + eax*8]
lea eax, [ebx + eax*8]
mov ebx, dword [edx + 0x411df0]
mov edx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov ecx, 0x40
mov dword [ebp - 0x1c], eax
sub ecx, ebx
mov eax, esi
call fcn.0040fa10
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 8]
mov ecx, ebx
mov edx, dword [ebp - 4]
call fcn.0040f9f0
mov ebx, dword [ebp + 8]
or esi, eax
mov eax, dword [ebp - 0x14]
or edi, edx
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
mov dword [eax], esi
mov esi, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
cmp edx, 0x60
jl 0x407250
mov esi, dword [ebp - 0x20]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], 5
mov eax, dword [esi - 0x10]
mov ecx, dword [esi - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [esi - 4]
mov esi, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], ecx
not ecx
and ecx, esi
not esi
xor ecx, dword [ebp - 0xc]
mov ebx, dword [eax + 8]
and esi, ebx
mov edi, dword [eax + 0xc]
not ebx
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
not eax
and eax, edx
not edx
xor eax, dword [ebp - 8]
and edx, edi
mov dword [ebp - 0x1c], eax
not edi
mov eax, dword [ebp - 4]
mov dword [eax - 0x10], ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov dword [ecx - 0xc], eax
xor dword [ecx - 8], esi
mov esi, ecx
mov ecx, dword [ebp - 0x24]
and ebx, ecx
mov eax, dword [ebp - 0x28]
not ecx
and edi, eax
not eax
xor dword [esi - 4], edx
xor dword [esi], ebx
mov ebx, dword [ebp - 0xc]
and ecx, ebx
mov edx, dword [ebp - 8]
not ebx
and ebx, dword [ebp - 0x2c]
and eax, edx
xor dword [esi + 4], edi
not edx
and edx, dword [ebp - 0x10]
xor dword [esi + 8], ecx
xor dword [esi + 0xc], eax
xor dword [esi + 0x10], ebx
xor dword [esi + 0x14], edx
add esi, 0x28
sub dword [ebp - 0x14], 1
mov dword [ebp - 4], esi
jne 0x4072c5
mov edx, dword [ebp - 0x18]
mov esi, 5
mov ebx, dword [ebp + 8]
mov eax, dword [edx]
xor dword [ebx], eax
mov eax, dword [edx + 4]
add edx, 8
xor dword [ebx + 4], eax
cmp edx, 0x411df0
mov dword [ebp - 0x18], edx
lea edx, [ebx + 0x10]
jl 0x4070e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret