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

Disassembly:
sub esp, 0x164
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x178]
lea ebx, [esp + 0x34]
mov dword [esp + 0x10], eax
sub ebx, ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x28], ebx
lea ebx, [esp + 0x38]
sub ebx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ebx
lea ebx, [esp + 0x3c]
sub ebx, ecx
lea eax, [ecx + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 3
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax - 8]
mov ebp, edi
mov dword [esp + 0x20], ecx
mov dword [ebx - 4], ecx
mov ecx, dword [esp + 0x10]
xor ebp, edx
mov ebx, esi
and ebp, ecx
mov ecx, dword [esp + 0x20]
rol ebx, 5
add ecx, ebx
xor ebp, edi
mov ebx, dword [eax - 4]
add ebp, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
lea ecx, [ecx + ebp + 0x5a827999]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov dword [ebp], ebx
mov ebx, dword [esp + 0x1c]
rol ecx, 0x1e
mov ebp, edx
mov dword [esp + 0x10], ecx
xor ebp, ecx
mov ecx, dword [esp + 0x20]
rol ebx, 5
and ebp, esi
add ecx, ebx
mov ebx, dword [esp + 0x28]
xor ebp, edx
add ebp, ecx
mov ecx, dword [eax]
rol esi, 0x1e
lea edi, [edi + ebp + 0x5a827999]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov dword [ebx + eax], ecx
mov ecx, dword [esp + 0x1c]
xor ebp, esi
and ebp, ecx
mov ecx, dword [esp + 0x10]
mov ebx, edi
xor ebp, ecx
mov ecx, dword [esp + 0x20]
rol ebx, 5
add ecx, ebx
add ebp, ecx
mov ecx, dword [esp + 0x1c]
rol ecx, 0x1e
lea edx, [edx + ebp + 0x5a827999]
mov ebp, dword [esp + 0x30]
mov ebx, ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ebx
mov dword [eax + ebp], ecx
mov ebp, edx
xor ebx, esi
rol ebp, 5
and ebx, edi
add ecx, ebp
mov ebp, dword [esp + 0x24]
xor ebx, esi
add ebx, ecx
mov ecx, dword [esp + 0x10]
rol edi, 0x1e
lea ecx, [ecx + ebx + 0x5a827999]
mov ebx, dword [eax + 8]
mov dword [esp + 0x20], ebx
mov dword [eax + ebp], ebx
mov dword [esp + 0x10], ecx
mov ebx, ecx
mov ecx, dword [esp + 0x1c]
mov ebp, ecx
xor ebp, edi
and ebp, edx
rol ebx, 5
xor ebp, ecx
mov ecx, dword [esp + 0x20]
add ecx, ebx
add eax, 0x14
add ebp, ecx
mov ecx, dword [esp + 0x14]
rol edx, 0x1e
lea esi, [esi + ebp + 0x5a827999]
mov ebp, dword [esp + 0x18]
add ebp, 0x14
dec ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ecx
jne 0x5060f0
mov eax, dword [esp + 0x178]
mov ebp, edi
xor ebp, edx
mov ebx, esi
mov ecx, dword [eax + 0x3c]
mov eax, dword [esp + 0x10]
and ebp, eax
mov dword [esp + 0x70], ecx
rol ebx, 5
xor ebp, edi
add ecx, ebx
add ebp, ecx
mov ecx, dword [esp + 0x1c]
rol eax, 0x1e
lea ebx, [ecx + ebp + 0x5a827999]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x1c], ebx
xor ecx, ebp
mov ebp, dword [esp + 0x54]
xor ecx, ebp
mov ebp, dword [esp + 0x68]
xor ecx, ebp
mov ebp, edx
xor ebp, eax
mov dword [esp + 0x10], eax
rol ecx, 1
rol ebx, 5
and ebp, esi
mov eax, ecx
xor ebp, edx
add eax, ebx
mov ebx, dword [esp + 0x58]
add ebp, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], ecx
lea edi, [edi + ebp + 0x5a827999]
mov ebp, dword [esp + 0x40]
xor eax, ebp
mov ebp, dword [esp + 0x6c]
xor eax, ebx
mov ebx, edi
xor eax, ebp
mov ebp, dword [esp + 0x10]
rol esi, 0x1e
mov dword [esp + 0x14], esi
xor ebp, esi
mov esi, dword [esp + 0x1c]
rol eax, 1
and ebp, esi
mov esi, dword [esp + 0x10]
rol ebx, 5
mov dword [esp + 0x78], eax
xor ebp, esi
add eax, ebx
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
add ebp, eax
mov eax, dword [esp + 0x44]
lea edx, [edx + ebp + 0x5a827999]
mov ebp, dword [esp + 0x5c]
xor eax, ebp
mov ebp, dword [esp + 0x70]
xor eax, esi
mov dword [esp + 0x18], edx
rol ebx, 0x1e
xor eax, ebp
mov esi, edx
mov edx, dword [esp + 0x14]
mov ebp, ebx
xor ebp, edx
rol eax, 1
rol esi, 5
and ebp, edi
mov dword [esp + 0x7c], eax
xor ebp, edx
add eax, esi
add ebp, eax
mov eax, dword [esp + 0x10]
lea esi, [eax + ebp + 0x5a827999]
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], 4
rol edi, 0x1e
mov ebp, edi
mov edi, dword [esp + 0x60]
xor eax, edi
mov edi, dword [esp + 0x40]
xor eax, edi
mov edi, dword [esp + 0x18]
xor eax, ecx
mov ecx, ebx
xor ecx, ebp
rol eax, 1
rol esi, 5
and ecx, edi
mov dword [esp + 0x80], eax
xor ecx, ebx
add eax, esi
add ecx, eax
lea eax, [esp + 0x64]
rol edi, 0x1e
lea edx, [edx + ecx + 0x5a827999]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edx
mov ecx, dword [eax - 0x20]
mov edx, dword [eax - 0x18]
mov esi, dword [eax + 0x14]
xor ecx, edx
mov edx, dword [eax]
xor ecx, esi
mov esi, dword [esp + 0x14]
xor ecx, edx
mov edx, dword [esp + 0x10]
rol ecx, 1
rol esi, 5
mov dword [esp + 0x24], esi
mov esi, ebp
xor esi, edi
mov edi, dword [esp + 0x24]
mov dword [eax + 0x20], ecx
add ecx, edi
mov edi, dword [eax + 0x18]
xor esi, edx
add esi, ecx
mov ecx, dword [eax - 0x1c]
xor ecx, edi
mov edi, dword [eax - 0x14]
lea ebx, [ebx + esi + 0x6ed9eba1]
mov esi, dword [eax + 4]
xor ecx, esi
mov esi, ebx
xor ecx, edi
mov edi, dword [esp + 0x18]
rol edx, 0x1e
mov dword [esp + 0x10], edx
xor edi, edx
mov edx, dword [esp + 0x14]
rol ecx, 1
rol esi, 5
mov dword [eax + 0x24], ecx
xor edi, edx
add ecx, esi
mov esi, dword [eax - 0x10]
add edi, ecx
mov ecx, edx
mov edx, dword [eax + 8]
rol ecx, 0x1e
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x1c]
lea ebp, [edi + ebp + 0x6ed9eba1]
mov edi, dword [eax - 0x18]
xor ecx, edx
mov edx, dword [esp + 0x10]
xor ecx, edi
mov edi, ebx
xor ecx, esi
mov esi, ebp
rol ecx, 1
xor edi, edx
mov edx, dword [esp + 0x14]
rol esi, 5
mov dword [eax + 0x28], ecx
xor edi, edx
add ecx, esi
add edi, ecx
mov ecx, dword [esp + 0x18]
rol ebx, 0x1e
lea esi, [ecx + edi + 0x6ed9eba1]
mov ecx, dword [eax - 0xc]
mov edi, dword [eax + 0xc]
mov dword [esp + 0x18], esi
xor ecx, edi
mov edi, dword [eax - 0x14]
xor ecx, edi
mov edi, dword [eax + 0x20]
xor ecx, edi
mov edi, ebx
rol ecx, 1
rol esi, 5
xor edi, ebp
mov dword [eax + 0x2c], ecx
xor edi, edx
mov edx, dword [esp + 0x10]
add ecx, esi
add edi, ecx
mov ecx, dword [eax + 0x10]
mov esi, dword [eax - 0x10]
lea edx, [edx + edi + 0x6ed9eba1]
mov edi, dword [eax - 8]
xor ecx, edi
mov edi, dword [eax + 0x24]
xor ecx, esi
mov esi, edx
xor ecx, edi
mov edi, ebx
rol ebp, 0x1e
rol ecx, 1
xor edi, ebp
mov dword [eax + 0x30], ecx
xor edi, dword [esp + 0x18]
add eax, 0x14
rol esi, 5
add ecx, esi
mov dword [esp + 0x10], edx
add edi, ecx
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + edi + 0x6ed9eba1]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
rol edi, 0x1e
dec ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
jne 0x506367
lea eax, [esp + 0xb4]
mov dword [esp + 0x20], 4
jmp 0x5064c3
mov edx, dword [esp + 0x10]
mov ecx, dword [eax - 0x20]
mov esi, dword [eax]
xor ecx, esi
mov esi, dword [eax - 0x18]
xor ecx, esi
mov esi, dword [eax + 0x14]
xor ecx, esi
mov esi, edi
or esi, edx
and edi, edx
rol ecx, 1
and esi, ebp
mov dword [esp + 0x24], ecx
or esi, edi
mov edi, dword [esp + 0x24]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x14]
add esi, edi
mov edi, dword [eax + 0x18]
rol ecx, 5
add esi, ebx
rol edx, 0x1e
lea ebx, [esi + ecx - 0x70e44324]
mov ecx, dword [eax - 0x1c]
mov esi, dword [eax + 4]
xor ecx, edi
mov edi, dword [eax - 0x14]
xor ecx, esi
xor ecx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], edx
or edx, edi
mov edi, dword [esp + 0x18]
mov esi, ebx
and edx, edi
mov edi, dword [esp + 0x10]
and edi, dword [esp + 0x14]
rol ecx, 1
or edx, edi
mov dword [eax + 0x24], ecx
mov edi, dword [eax + 8]
add edx, ecx
mov ecx, dword [eax + 0x1c]
add edx, ebp
mov ebp, dword [eax - 0x18]
xor ecx, edi
mov edi, dword [eax - 0x10]
xor ecx, ebp
rol esi, 5
mov ebp, dword [esp + 0x10]
xor ecx, edi
lea esi, [edx + esi - 0x70e44324]
mov edx, dword [esp + 0x14]
rol edx, 0x1e
mov edi, ebx
mov dword [esp + 0x1c], esi
or edi, edx
mov dword [esp + 0x14], edx
and edi, ebp
mov ebp, ebx
and ebp, edx
rol ecx, 1
or edi, ebp
mov ebp, dword [esp + 0x18]
add edi, ecx
mov dword [eax + 0x28], ecx
mov ecx, dword [eax - 0xc]
add edi, ebp
mov ebp, dword [eax + 0xc]
rol esi, 5
xor ecx, ebp
mov ebp, dword [eax + 0x20]
lea edi, [edi + esi - 0x70e44324]
mov esi, dword [eax - 0x14]
xor ecx, esi
mov esi, edi
xor ecx, ebp
rol ebx, 0x1e
rol ecx, 1
mov dword [eax + 0x2c], ecx
rol esi, 5
mov ebp, ebx
add eax, 0x14
or ebp, dword [esp + 0x1c]
and ebp, edx
mov edx, ebx
and edx, dword [esp + 0x1c]
or ebp, edx
mov edx, dword [esp + 0x10]
add ebp, ecx
mov ecx, dword [eax - 4]
add ebp, edx
lea edx, [esi + ebp - 0x70e44324]
mov esi, dword [eax - 0x1c]
mov ebp, dword [esp + 0x1c]
xor ecx, esi
mov esi, dword [eax - 0x24]
mov dword [esp + 0x10], edx
xor ecx, esi
mov esi, dword [eax + 0x10]
xor ecx, esi
rol ebp, 0x1e
rol ecx, 1
mov dword [esp + 0x24], ecx
mov dword [eax + 0x1c], ecx
mov ecx, ebp
mov esi, ebp
or ecx, edi
and esi, edi
and ecx, ebx
or ecx, esi
mov esi, dword [esp + 0x24]
add ecx, esi
mov esi, dword [esp + 0x14]
rol edx, 5
add ecx, esi
rol edi, 0x1e
lea edx, [ecx + edx - 0x70e44324]
mov ecx, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ecx
jne 0x5064bf
mov eax, 0x3c
cmp eax, 0x50
jge 0x506794
mov ecx, 0x54
lea esi, [esp + eax*4 + 0x14]
sub ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 2
mov dword [esp + 0x20], edx
mov eax, dword [esi - 0x20]
mov ecx, dword [esi]
mov edx, dword [esi - 0x18]
xor eax, ecx
mov ecx, dword [esi + 0x14]
xor eax, edx
mov edx, dword [esp + 0x14]
xor eax, ecx
mov ecx, dword [esp + 0x10]
rol eax, 1
rol edx, 5
mov dword [esp + 0x24], edx
mov edx, ebp
xor edx, edi
mov dword [esi + 0x20], eax
xor edx, ecx
mov edi, dword [esi + 0x18]
add edx, eax
mov eax, dword [esp + 0x24]
add edx, ebx
rol ecx, 0x1e
lea ebx, [edx + eax - 0x359d3e2a]
mov eax, dword [esi - 0x1c]
mov edx, dword [esi + 4]
xor eax, edi
mov edi, dword [esi - 0x14]
xor eax, edx
xor eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
xor edi, ecx
mov ecx, dword [esp + 0x14]
mov edx, ebx
rol eax, 1
xor edi, ecx
mov dword [esi + 0x24], eax
add edi, eax
mov eax, ecx
mov ecx, dword [esi + 8]
add edi, ebp
rol edx, 5
rol eax, 0x1e
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1c]
lea ebp, [edi + edx - 0x359d3e2a]
mov edi, dword [esi - 0x18]
mov edx, dword [esi - 0x10]
xor eax, ecx
mov ecx, dword [esp + 0x10]
xor eax, edi
mov edi, ebx
xor eax, edx
xor edi, ecx
mov ecx, dword [esp + 0x14]
rol eax, 1
xor edi, ecx
mov dword [esi + 0x28], eax
add edi, eax
mov eax, dword [esp + 0x18]
mov edx, ebp
add edi, eax
mov eax, dword [esi - 0xc]
rol edx, 5
rol ebx, 0x1e
lea edx, [edi + edx - 0x359d3e2a]
mov edi, dword [esi + 0xc]
xor eax, edi
mov edi, dword [esi - 0x14]
xor eax, edi
mov edi, dword [esi + 0x20]
xor eax, edi
mov edi, ebx
xor edi, ebp
mov dword [esp + 0x18], edx
rol eax, 1
xor edi, ecx
mov dword [esi + 0x2c], eax
add edi, eax
mov eax, dword [esp + 0x10]
rol edx, 5
add edi, eax
mov eax, dword [esi + 0x10]
lea edx, [edi + edx - 0x359d3e2a]
mov edi, dword [esi - 8]
mov dword [esp + 0x10], edx
xor eax, edi
mov edi, dword [esi - 0x10]
xor eax, edi
mov edi, dword [esi + 0x24]
xor eax, edi
mov edi, ebx
rol ebp, 0x1e
xor edi, ebp
add esi, 0x14
xor edi, dword [esp + 0x18]
rol eax, 1
add edi, eax
mov dword [esi + 0x1c], eax
rol edx, 5
add edi, ecx
lea eax, [edi + edx - 0x359d3e2a]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
rol edi, 0x1e
dec eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
jne 0x506653
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [ecx]
add edx, eax
mov eax, dword [esp + 0x17c]
mov dword [eax], edx
mov edx, dword [ecx + 4]
add edx, esi
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
add edx, edi
mov dword [eax + 8], edx
mov esi, dword [ecx + 0xc]
add ebp, esi
mov dword [eax + 0xc], ebp
mov ecx, dword [ecx + 0x10]
add ecx, ebx
mov dword [eax + 0x10], ecx
mov al, byte [esp + 0x180]
test al, al
je 0x5067ed
mov edi, dword [esp + 0x178]
mov ecx, 0x10
lea esi, [esp + 0x134]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret 0xc