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

Disassembly:
sub esp, 0x168
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ecx]
push ebp
push esi
mov esi, dword [ecx + 0xc]
push edi
mov edi, dword [ecx + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x38]
sub ecx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x3c]
sub ecx, edx
lea eax, [esp + 0x3c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x40]
sub ecx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
lea eax, [edx + 8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], 3
mov edx, dword [esp + 0x14]
mov ecx, dword [eax - 8]
mov ebp, esi
mov dword [esp + 0x20], ecx
mov dword [edx - 4], ecx
mov ecx, dword [esp + 0x10]
xor ebp, edi
mov edx, ebx
and ebp, ecx
mov ecx, dword [esp + 0x20]
rol edx, 5
add ecx, edx
xor ebp, esi
add ebp, ecx
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ebp + 0x5a827999]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov edx, dword [eax - 4]
mov dword [ebp], edx
mov ebp, edi
rol ecx, 0x1e
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
xor ebp, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
and ebp, ebx
rol edx, 5
xor ebp, edi
add ecx, edx
mov edx, dword [esp + 0x28]
add ebp, ecx
mov ecx, dword [eax]
lea esi, [esi + ebp + 0x5a827999]
mov ebp, dword [esp + 0x10]
rol ebx, 0x1e
mov dword [esp + 0x20], ecx
mov dword [edx + eax], ecx
mov ecx, dword [esp + 0x1c]
xor ebp, ebx
and ebp, ecx
mov ecx, dword [esp + 0x10]
mov edx, esi
xor ebp, ecx
mov ecx, dword [esp + 0x20]
rol edx, 5
add ecx, edx
add ebp, ecx
mov ecx, dword [esp + 0x1c]
rol ecx, 0x1e
lea edi, [edi + ebp + 0x5a827999]
mov ebp, dword [esp + 0x2c]
mov edx, ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [eax + ebp], ecx
mov ebp, edi
xor edx, ebx
rol ebp, 5
and edx, esi
add ecx, ebp
mov ebp, dword [esp + 0x34]
xor edx, ebx
add edx, ecx
mov ecx, dword [esp + 0x10]
rol esi, 0x1e
lea ecx, [ecx + edx + 0x5a827999]
mov edx, dword [eax + 8]
mov dword [esp + 0x20], edx
mov dword [eax + ebp], edx
mov dword [esp + 0x10], ecx
mov edx, ecx
mov ecx, dword [esp + 0x1c]
mov ebp, ecx
xor ebp, esi
and ebp, edi
rol edx, 5
xor ebp, ecx
mov ecx, dword [esp + 0x20]
add ecx, edx
add eax, 0x14
add ebp, ecx
mov ecx, dword [esp + 0x18]
rol edi, 0x1e
lea ebx, [ebx + ebp + 0x5a827999]
mov ebp, dword [esp + 0x14]
add ebp, 0x14
dec ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
jne 0x100395b9
mov eax, dword [esp + 0x24]
mov ebp, esi
xor ebp, edi
mov edx, ebx
mov ecx, dword [eax + 0x3c]
mov eax, dword [esp + 0x10]
and ebp, eax
mov dword [esp + 0x74], ecx
rol edx, 5
xor ebp, esi
add ecx, edx
add ebp, ecx
mov ecx, dword [esp + 0x1c]
rol eax, 0x1e
lea edx, [ecx + ebp + 0x5a827999]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
xor ecx, ebp
mov ebp, dword [esp + 0x58]
xor ecx, ebp
mov ebp, dword [esp + 0x6c]
xor ecx, ebp
mov ebp, edi
xor ebp, eax
mov dword [esp + 0x10], eax
rol ecx, 1
rol edx, 5
and ebp, ebx
mov eax, ecx
xor ebp, edi
add eax, edx
mov edx, dword [esp + 0x5c]
add ebp, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], ecx
lea esi, [esi + ebp + 0x5a827999]
mov ebp, dword [esp + 0x44]
xor eax, ebp
mov ebp, dword [esp + 0x70]
xor eax, edx
mov edx, esi
xor eax, ebp
mov ebp, dword [esp + 0x10]
rol ebx, 0x1e
mov dword [esp + 0x18], ebx
xor ebp, ebx
mov ebx, dword [esp + 0x1c]
rol eax, 1
and ebp, ebx
mov ebx, dword [esp + 0x10]
rol edx, 5
mov dword [esp + 0x7c], eax
xor ebp, ebx
mov ebx, dword [esp + 0x60]
add eax, edx
mov edx, dword [esp + 0x1c]
add ebp, eax
mov eax, dword [esp + 0x48]
lea edi, [edi + ebp + 0x5a827999]
mov ebp, dword [esp + 0x40]
xor eax, ebx
mov ebx, dword [esp + 0x74]
xor eax, ebp
mov dword [esp + 0x14], edi
rol edx, 0x1e
xor eax, ebx
mov ebx, dword [esp + 0x18]
mov ebp, edx
xor ebp, ebx
rol eax, 1
rol edi, 5
and ebp, esi
mov dword [esp + 0x80], eax
xor ebp, ebx
add eax, edi
add ebp, eax
mov eax, dword [esp + 0x10]
rol esi, 0x1e
lea edi, [eax + ebp + 0x5a827999]
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x64]
xor eax, ebp
mov ebp, dword [esp + 0x44]
xor eax, ebp
mov ebp, edx
xor eax, ecx
mov ecx, edi
mov edi, dword [esp + 0x14]
xor ebp, esi
rol eax, 1
rol ecx, 5
and ebp, edi
mov dword [esp + 0x84], eax
xor ebp, edx
add eax, ecx
add ebp, eax
lea eax, [esp + 0x68]
rol edi, 0x1e
lea ebx, [ebx + ebp + 0x5a827999]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 4
mov ecx, dword [eax - 0x20]
mov ebp, dword [eax]
xor ecx, ebp
mov ebp, dword [eax - 0x18]
xor ecx, ebp
mov ebp, dword [eax + 0x14]
xor ecx, ebp
mov ebp, esi
xor ebp, edi
mov edi, dword [esp + 0x10]
rol ecx, 1
rol ebx, 5
mov dword [eax + 0x20], ecx
xor ebp, edi
add ecx, ebx
mov ebx, dword [eax + 4]
add ebp, ecx
mov ecx, dword [eax - 0x1c]
rol edi, 0x1e
lea edx, [edx + ebp + 0x6ed9eba1]
mov ebp, dword [eax + 0x18]
xor ecx, ebp
mov ebp, dword [eax - 0x14]
xor ecx, ebx
mov ebx, edx
xor ecx, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], edi
xor ebp, edi
mov edi, dword [esp + 0x18]
rol ecx, 1
rol ebx, 5
mov dword [eax + 0x24], ecx
xor ebp, edi
add ecx, ebx
mov ebx, dword [eax - 0x10]
add ebp, ecx
mov ecx, edi
mov edi, dword [eax + 8]
rol ecx, 0x1e
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x1c]
lea esi, [esi + ebp + 0x6ed9eba1]
mov ebp, dword [eax - 0x18]
xor ecx, edi
mov edi, dword [esp + 0x10]
xor ecx, ebp
mov ebp, edx
xor ecx, ebx
mov ebx, esi
rol ecx, 1
xor ebp, edi
mov edi, dword [esp + 0x18]
rol ebx, 5
mov dword [eax + 0x28], ecx
xor ebp, edi
add ecx, ebx
add ebp, ecx
mov ecx, dword [esp + 0x14]
rol edx, 0x1e
lea ebx, [ecx + ebp + 0x6ed9eba1]
mov ecx, dword [eax - 0xc]
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x14], ebx
xor ecx, ebp
mov ebp, dword [eax - 0x14]
xor ecx, ebp
mov ebp, dword [eax + 0x20]
xor ecx, ebp
mov ebp, edx
rol ecx, 1
rol ebx, 5
xor ebp, esi
mov dword [eax + 0x2c], ecx
xor ebp, edi
add ecx, ebx
add ebp, ecx
mov ecx, dword [esp + 0x10]
rol esi, 0x1e
lea ebp, [ecx + ebp + 0x6ed9eba1]
mov dword [esp + 0x10], ebp
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax - 8]
mov edi, dword [eax - 0x10]
xor ecx, ebx
mov ebx, dword [eax + 0x24]
xor ecx, edi
xor ecx, ebx
mov ebx, edx
mov edi, ebp
xor ebx, esi
xor ebx, dword [esp + 0x14]
add eax, 0x14
rol ecx, 1
rol edi, 5
mov dword [eax + 0x1c], ecx
add ecx, edi
mov edi, dword [esp + 0x14]
add ebx, ecx
mov ecx, dword [esp + 0x18]
rol edi, 0x1e
lea ebx, [ecx + ebx + 0x6ed9eba1]
mov ecx, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ecx
jne 0x1003982e
lea eax, [esp + 0xb8]
mov dword [esp + 0x20], 4
jmp 0x1003997e
mov ebp, dword [esp + 0x10]
mov ecx, dword [eax - 0x20]
xor ecx, dword [eax]
xor ecx, dword [eax - 0x18]
xor ecx, dword [eax + 0x14]
rol ecx, 1
mov dword [eax + 0x20], ecx
mov dword [esp + 0x24], ecx
mov ecx, edi
and edi, ebp
or ecx, ebp
and ecx, esi
or ecx, edi
mov edi, dword [esp + 0x24]
add ecx, edi
mov edi, dword [eax + 4]
rol ebx, 5
add ecx, edx
rol ebp, 0x1e
lea edx, [ecx + ebx - 0x70e44324]
mov ecx, dword [eax - 0x1c]
mov ebx, dword [eax + 0x18]
mov dword [esp + 0x10], ebp
xor ecx, ebx
mov ebx, dword [eax - 0x14]
xor ecx, edi
mov edi, edx
xor ecx, ebx
mov ebx, dword [esp + 0x18]
or ebp, ebx
mov ebx, dword [esp + 0x14]
and ebp, ebx
mov ebx, dword [esp + 0x10]
and ebx, dword [esp + 0x18]
rol ecx, 1
or ebp, ebx
mov dword [eax + 0x24], ecx
mov ebx, dword [eax + 8]
add ebp, ecx
mov ecx, dword [eax + 0x1c]
add ebp, esi
mov esi, dword [esp + 0x18]
xor ecx, ebx
mov ebx, dword [eax - 0x10]
rol edi, 5
rol esi, 0x1e
lea edi, [edi + ebp - 0x70e44324]
mov ebp, dword [eax - 0x18]
xor ecx, ebp
mov ebp, dword [esp + 0x10]
xor ecx, ebx
mov ebx, edx
or ebx, esi
mov dword [esp + 0x1c], edi
and ebx, ebp
mov ebp, edx
and ebp, esi
mov dword [esp + 0x18], esi
rol ecx, 1
or ebx, ebp
mov ebp, dword [esp + 0x14]
add ebx, ecx
mov dword [eax + 0x28], ecx
mov ecx, dword [eax - 0xc]
add ebx, ebp
mov ebp, dword [eax + 0xc]
rol edi, 5
xor ecx, ebp
mov ebp, dword [eax - 0x14]
lea edi, [ebx + edi - 0x70e44324]
mov ebx, dword [eax + 0x20]
xor ecx, ebx
mov ebx, edi
rol edx, 0x1e
xor ecx, ebp
mov ebp, edx
or ebp, dword [esp + 0x1c]
rol ecx, 1
rol ebx, 5
and ebp, esi
mov dword [eax + 0x2c], ecx
mov esi, edx
and esi, dword [esp + 0x1c]
add eax, 0x14
or ebp, esi
mov esi, dword [esp + 0x10]
add ebp, ecx
mov ecx, dword [eax - 4]
add ebp, esi
mov esi, dword [esp + 0x1c]
rol esi, 0x1e
lea ebx, [ebx + ebp - 0x70e44324]
mov ebp, dword [eax - 0x1c]
xor ecx, ebp
mov ebp, dword [eax + 0x10]
xor ecx, ebp
mov ebp, dword [eax - 0x24]
xor ecx, ebp
mov ebp, esi
rol ecx, 1
mov dword [esp + 0x24], ecx
mov dword [eax + 0x1c], ecx
mov ecx, esi
and ebp, edi
or ecx, edi
mov dword [esp + 0x10], ebx
and ecx, edx
or ecx, ebp
mov ebp, dword [esp + 0x24]
add ecx, ebp
mov ebp, dword [esp + 0x18]
rol ebx, 5
add ecx, ebp
rol edi, 0x1e
lea ebx, [ecx + ebx - 0x70e44324]
mov ecx, dword [esp + 0x20]
dec ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ecx
jne 0x1003997a
lea eax, [esp + 0x108]
mov dword [esp + 0x20], 4
mov ecx, dword [eax - 0x20]
mov ebp, dword [eax]
xor ecx, ebp
mov ebp, dword [eax - 0x18]
xor ecx, ebp
mov ebp, dword [eax + 0x14]
xor ecx, ebp
mov ebp, esi
xor ebp, edi
mov edi, dword [esp + 0x10]
xor ebp, edi
rol ecx, 1
add ebp, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax - 0x1c]
add ebp, edx
rol ebx, 5
rol edi, 0x1e
lea edx, [ebx + ebp - 0x359d3e2a]
mov ebp, dword [eax + 0x18]
mov ebx, dword [eax + 4]
xor ecx, ebp
mov ebp, dword [eax - 0x14]
xor ecx, ebx
xor ecx, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], edi
xor ebp, edi
mov edi, dword [esp + 0x18]
mov ebx, edx
rol ecx, 1
xor ebp, edi
mov dword [eax + 0x24], ecx
add ebp, ecx
mov ecx, edi
mov edi, dword [eax + 8]
add ebp, esi
rol ebx, 5
rol ecx, 0x1e
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x1c]
lea esi, [ebx + ebp - 0x359d3e2a]
mov ebp, dword [eax - 0x18]
mov ebx, dword [eax - 0x10]
xor ecx, edi
mov edi, dword [esp + 0x10]
xor ecx, ebp
mov ebp, edx
xor ecx, ebx
xor ebp, edi
mov edi, dword [esp + 0x18]
rol ecx, 1
xor ebp, edi
mov dword [eax + 0x28], ecx
add ebp, ecx
mov ecx, dword [esp + 0x14]
mov ebx, esi
add ebp, ecx
mov ecx, dword [eax - 0xc]
rol ebx, 5
rol edx, 0x1e
lea ebx, [ebx + ebp - 0x359d3e2a]
mov ebp, dword [eax + 0xc]
xor ecx, ebp
mov ebp, dword [eax - 0x14]
xor ecx, ebp
mov ebp, dword [eax + 0x20]
xor ecx, ebp
mov ebp, edx
xor ebp, esi
mov dword [esp + 0x14], ebx
rol ecx, 1
xor ebp, edi
mov dword [eax + 0x2c], ecx
add ebp, ecx
mov ecx, dword [esp + 0x10]
rol ebx, 5
add ebp, ecx
rol esi, 0x1e
lea ebx, [ebx + ebp - 0x359d3e2a]
mov dword [esp + 0x10], ebx
mov ecx, dword [eax + 0x10]
mov ebp, dword [eax - 8]
xor ecx, ebp
mov ebp, dword [eax - 0x10]
xor ecx, ebp
mov ebp, dword [eax + 0x24]
xor ecx, ebp
mov ebp, edx
xor ebp, esi
add eax, 0x14
xor ebp, dword [esp + 0x14]
rol ecx, 1
add ebp, ecx
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x20]
add ebp, edi
mov edi, dword [esp + 0x14]
dec ecx
rol ebx, 5
rol edi, 0x1e
lea ebx, [ebx + ebp - 0x359d3e2a]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ecx
jne 0x10039aec
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x10]
mov eax, dword [ecx]
add ebx, eax
mov eax, dword [esp + 0x17c]
mov dword [eax], ebx
mov ebx, dword [ecx + 4]
add ebx, ebp
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 8]
add ebx, edi
mov dword [eax + 8], ebx
mov edi, dword [ecx + 0xc]
add esi, edi
pop edi
mov dword [eax + 0xc], esi
mov ecx, dword [ecx + 0x10]
add ecx, edx
pop esi
pop ebp
mov dword [eax + 0x10], ecx
pop ebx
add esp, 0x168
ret 4