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

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
imul eax, dword [esi + 0x1e8], 0x43b5
mov ecx, dword [esi + 4]
or dword [ecx + 0x114], eax
mov eax, dword [esi + 0x174]
mov edx, dword [esi + 0x6c]
mov ecx, edx
imul eax, dword [eax + 0xc], 0x40fe5178
sub ecx, eax
cmp dword [ecx + 0x78], 0
je 0x100015ff
push ebp
push edi
mov edi, dword [esp + 0x1c]
mov eax, edi
or eax, 0x34ee
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x1c0]
mov ebp, dword [edx + eax*8 - 0x1a6f8]
add ebp, dword [esi + 0x44]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0xc], 0
je 0x100015d7
push ebx
nop dword [eax + eax]
cmp dword [esi + 0x174], 0x410b
jbe 0x100012d3
add dword [esi + 0x14], 0xffff866d
mov eax, dword [esi + 0x44]
add eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea edx, [esi + 0x154]
mov dword [esp + 0x24], eax
xor dword [esi + 0x14], edx
test eax, eax
je 0x100015c5
imul ecx, dword [esi + 0x1f8], 0x410b
mov eax, dword [esi + 0x28]
or dword [esi + 0xd0], ecx
mov ebx, dword [ebp + 0x10]
add ebx, dword [esi + 0x44]
add dword [eax + 0x194], 0xf14fd1bc
mov eax, dword [esi + 0x124]
mov dword [esp + 0x10], ebx
cmp eax, dword [esi + 0x148]
jbe 0x10001334
mov eax, edi
sub eax, dword [esi + 0x1f8]
add dword [edx], eax
mov edx, dword [esi + 8]
mov eax, dword [edx + 0xc]
xor eax, 0x4331
cmp dword [ebp], eax
jne 0x1000136f
mov eax, dword [esi + 0x14]
mov ebp, ebx
mov dword [esi + 0x140], eax
inc eax
mov dword [esi + 0x14], eax
movzx eax, byte [0x100398b9]
imul eax, edi
mov dword [esi + 0x14], eax
imul eax, dword [esi + 0x78], 0x3c85
or dword [esi + 0xd0], eax
jmp 0x100013c7
lea eax, [esi + 0x78]
mov ecx, 0x3a26
add dword [esi + 0xdc], eax
mov eax, dword [edx + 0xc]
sub eax, 0x909
cmp eax, ecx
jbe 0x100013a0
nop dword [eax]
mov dword [esi + 0x60], edi
inc ecx
mov eax, dword [edx + 0xc]
sub eax, 0x909
cmp ecx, eax
jb 0x10001390
cmp dword [esi + 0x14], 0x410b
jbe 0x100013b2
lea eax, [esi + 0x40]
mov dword [esi + 0x1f8], eax
mov ebp, dword [ebp]
mov eax, dword [esi + 0x58]
add ebp, dword [esi + 0x44]
sub eax, 0x3bbb
imul eax, dword [esi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x78]
sub eax, edi
mov dword [esi + 0x38], eax
cmp dword [ebp], 0
je 0x100015b2
lea ecx, [edi + 0x43b5]
nop
mov eax, dword [esi + 0x174]
or dword [eax + 0x1cc], ecx
mov ecx, dword [esi + 8]
lea eax, [ecx + 0x3e1a]
xor dword [ecx + 0x50], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp]
add eax, 0x7fffbccf
test ecx, eax
je 0x100014fe
mov ebx, dword [esp + 0x24]
mov eax, 0xffffffb0
mov ecx, dword [esi + 0x1c0]
sub eax, esi
add dword [esi + 0x1a4], eax
mov eax, dword [ebx + 0x3c]
lea eax, [eax + ecx*8]
mov edx, dword [eax + ebx - 0x1a700]
lea eax, [edi + 0x3e56]
or dword [esi + 0x134], eax
mov eax, edi
or eax, 0x3e1a
xor dword [esi + 0x104], eax
mov eax, dword [esi + 4]
movzx ecx, word [ebp]
sub ecx, dword [edx + ebx + 0x10]
mov eax, dword [eax + 0x184]
sub eax, 0x3aef
imul ecx, eax
add ecx, dword [edx + ebx + 0x1c]
mov edx, dword [esi + 0x184]
add edx, 0x5e8
mov eax, dword [ecx + ebx]
add eax, ebx
mov ebx, dword [esi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1c0]
xor eax, 0x7433
cmp edx, eax
ja 0x100014b0
mov ecx, dword [esi + 0x1ec]
add ecx, 0x140
inc edx
add ecx, esi
mov dword [esi + 0x1ec], ecx
mov eax, dword [ebx + 0x1c0]
xor eax, 0x7433
cmp edx, eax
jbe 0x10001492
mov eax, dword [esi + 0xd8]
mov edx, 0x3d52
mov ebx, dword [esp + 0x10]
xor eax, 0x3879
add dword [esi + 0x100], eax
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
mov eax, dword [esi + 0x30]
add eax, 0x641
cmp eax, edx
jb 0x1000155a
nop dword [eax]
mov ecx, dword [esi + 8]
inc edx
mov eax, dword [ecx + 0x38]
sub dword [ecx + 0x14], eax
mov eax, dword [esi + 8]
inc dword [eax + 0x38]
mov eax, dword [esi + 0x30]
add eax, 0x641
cmp edx, eax
jbe 0x100014e0
jmp 0x1000155a
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x44]
sub eax, edi
mov dword [esi + 0x40], eax
add edx, ecx
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xf4]
add eax, edi
or dword [ecx + 0x134], eax
lea eax, [edx + 2]
add dword [esi + 0x1cc], 0xffffbf25
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx], eax
mov eax, edi
xor eax, 0x3d52
add dword [esi + 0x14], eax
imul eax, dword [esi + 0x190], 0x3afb
add dword [esi + 0x1cc], 0x75ef
mov dword [esi + 0x190], eax
mov eax, dword [esi + 0xc]
add ebx, 4
sub eax, 0x256
mov dword [esp + 0x10], ebx
cmp eax, 0x3712
jb 0x1000157b
mov eax, dword [esi + 0xd8]
xor eax, edi
sub dword [esi + 0x48], eax
mov eax, dword [esi + 0x148]
add ebp, 4
mov dword [esi + 0x40], eax
inc eax
cmp dword [esi + 0x70], 0x40db
mov dword [esi + 0x148], eax
jb 0x100015a2
mov eax, dword [esi + 0x144]
sub eax, edi
mov dword [esi + 0x38], eax
cmp dword [ebp], 0
lea ecx, [edi + 0x43b5]
jne 0x100013e0
mov eax, dword [esi + 0x174]
mov ebp, dword [esp + 0x14]
imul eax, edi
or dword [esi + 0x1cc], eax
add ebp, 0x14
mov dword [esp + 0x14], ebp
cmp dword [ebp + 0xc], 0
jne 0x100012c0
pop ebx
add dword [esi + 0x120], 0x3a26
imul eax, edi, 0x43b5
cmp dword [esi + 0x70], 0x4330
pop edi
pop ebp
mov dword [esi + 0xe8], eax
jae 0x100015ff
add dword [esi + 0x68], 0x7522
mov ecx, dword [esi + 0x174]
imul eax, dword [ecx + 0x7c], 0x3c85
or dword [ecx + 0x1cc], eax
mov eax, dword [esi + 8]
pop esi
mov eax, dword [eax + 0x30]
sub eax, 0x3713
add esp, 0xc
ret