Function at 0x100173c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d8f0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10073498]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x2c], ecx
push 0x10054a6c
mov edi, dword [ecx + 0x3c]
add edi, ecx
push 0x10054a7c
mov eax, dword [edi + 0x80]
add eax, ecx
mov dword [ebp - 0x30], eax
mov eax, 0xcccccccd
mul dword [edi + 0x84]
shr edx, 4
dec edx
mov dword [ebp - 0x40], edx
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push 0x10054a98
push 0x10054a7c
mov dword [0x10075274], eax
call ebx
push eax
call esi
push 0x10054aa8
push 0x10054a7c
mov dword [0x1007527c], eax
call ebx
push eax
call esi
push 0x10054abc
push 0x10054a7c
mov dword [0x10075284], eax
call ebx
push eax
call esi
push 0x10054ad0
push 0x10054a7c
mov dword [0x1007528c], eax
call ebx
push eax
call esi
push 0x10054ae0
push 0x10054a7c
mov dword [0x10075294], eax
call ebx
push eax
call esi
push 0x10054af4
push 0x10054a7c
mov dword [0x1007529c], eax
call ebx
push eax
call esi
push 0x10054b04
push 0x10054a7c
mov dword [0x100752a4], eax
call ebx
push eax
call esi
push 0x10054b14
push 0x10054a7c
mov dword [0x100752ac], eax
call ebx
push eax
call esi
push 0x10054b24
push 0x10054a7c
mov dword [0x100752b4], eax
call ebx
push eax
call esi
push 0x10054b34
push 0x10054a7c
mov dword [0x100752bc], eax
call ebx
push eax
call esi
mov dword [0x100752c4], eax
push 0x10054b40
push 0x10054a7c
call ebx
push eax
call esi
push 0x10054b50
push 0x10054a7c
mov dword [0x100752cc], eax
call ebx
push eax
call esi
push 0x10054b60
push 0x10054a7c
mov dword [0x100752d4], eax
call ebx
push eax
call esi
push str.InterlockedCompareExchange
push 0x10054a7c
mov dword [0x100752dc], eax
call ebx
push eax
call esi
push 0x10054b8c
push 0x10054a7c
mov dword [0x100752e4], eax
call ebx
push eax
call esi
mov ecx, dword [0x10104df0]
mov dword [0x100752ec], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x50], 0
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x58], eax
movzx eax, word [edi + 6]
add eax, 2
lea eax, [eax + eax*4]
add eax, dword [edi + 0x74]
mov esi, dword [edi + eax*8 + 0x10]
mov ecx, dword [edi + eax*8 + 8]
mov edx, dword [edi + eax*8 + 0x14]
mov eax, dword [edi + eax*8 + 0xc]
cmp edx, eax
mov edi, dword [ebp - 0x2c]
cmovbe edx, eax
cmp esi, ecx
cmovbe esi, ecx
add edx, edi
add edx, esi
xor esi, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x40], esi
jbe 0x10017705
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebx + eax + 0xc]
add eax, edi
cmp eax, edx
jae 0x100176f2
push str.KERNEL32.DLL
push eax
call fcn.10031e2b
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x30]
jne 0x1001761a
push dword [ebp - 0x34]
mov eax, dword [ebx + eax + 0x10]
lea ecx, [ebp - 0x68]
add eax, dword [ebp - 0x2c]
push 0
push eax
call fcn.10016030
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
jmp 0x100176f2
mov eax, dword [ebx + eax + 0xc]
add eax, dword [ebp - 0x2c]
push str.OLE32.DLL
push eax
call fcn.10031e2b
add esp, 8
test eax, eax
jne 0x100176d6
mov edx, dword [ebp - 0x30]
xor ecx, ecx
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebx + edx + 0x10]
mov ebx, dword [ebp - 0x40]
add esi, edi
test ebx, ebx
je 0x1001766a
add edx, 0x10
nop
mov eax, dword [edx]
add eax, edi
cmp eax, esi
jbe 0x10017662
test ecx, ecx
je 0x10017660
cmp eax, ecx
ja 0x10017662
mov ecx, eax
add edx, 0x14
sub ebx, 1
jne 0x10017650
mov edx, dword [ebp - 0x34]
lea eax, [esi + 0x100]
test ecx, ecx
cmovne eax, ecx
mov ecx, edx
cmp eax, edx
cmovbe ecx, eax
cmova esi, edi
mov dword [ebp - 0x54], ecx
cmp esi, ecx
jae 0x100176ec
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
lea eax, [ebp - 0x48]
push eax
push 0x40
push 4
push esi
call ebx
mov edi, dword [esi]
test edi, edi
je 0x100176c8
push 0x10054a44
push 0x10054a58
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp edi, eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
push 4
push esi
je 0x100176de
call ebx
add esi, 4
cmp esi, dword [ebp - 0x54]
jb 0x10017690
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
jmp 0x100176f2
mov dword [esi], 0x100167a0
call ebx
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
inc esi
add ebx, 0x14
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
cmp esi, dword [ebp - 0x40]
jb 0x100175d4
lea eax, [ebp - 0x28]
push eax
call fcn.100172c0
add esp, 4
mov ecx, dword [ebp - 0x58]
mov eax, dword [0x10075318]
mov dword [ebp - 4], 0
cmp eax, dword [ecx + 4]
jg 0x100177d7
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.10016a90
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
cmp esi, edi
je 0x10017774
nop dword [eax]
push dword [esi + 0x1c]
mov ecx, 0x10075314
call fcn.10016260
add esi, 0x20
cmp esi, edi
jne 0x10017760
cmp dword [ebp - 0x50], 0
lea ecx, [ebp - 0x4c]
seta bl
call fcn.10015e20
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100177b9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100177af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001780b
push edx
push ecx
call fcn.10026804
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026812
mov esp, ebp
pop ebp
ret
push 0x10075318
call fcn.1002700b
add esp, 4
cmp dword [0x10075318], 0xffffffff
jne 0x1001772c
lea eax, [ebp - 0x28]
push 0x10075318
mov dword [0x10075314], eax
call fcn.10026fc1
add esp, 4
jmp 0x1001772c
call fcn.1002ebe0
int3