joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10066080
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0xd64]
push edi
call fcn.1012d4c7
test al, al
jne 0x1006625f
movzx ebx, byte [esi + 0x190]
mov edi, dword [esi + 0x1fa]
cmp ebx, edi
jae 0x1006625f
mov eax, dword [esi + 0x30]
test eax, eax
je 0x100660cd
mov ecx, dword [esi + 0x34]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, ebx
add edi, edi
cmp eax, edi
jae 0x1006625f
cmp dword [esi + 0x1c28], 0
jne 0x100660ee
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esi + 0x1c28], eax
add dword [esi + 0x1c2c], 1
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
push ebp
lea ebp, [esi + 8]
mov ebx, ebp
mov ecx, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ecx
mov edi, edi
test ebx, ebx
je 0x10066118
cmp ebx, ebp
je 0x1006611d
call fcn.10149775
cmp edi, dword [esp + 0x1c]
je 0x1006617d
test ebx, ebx
jne 0x1006612c
call fcn.10149775
cmp edi, dword [ebx + 4]
jne 0x10066136
call fcn.10149775
cmp dword [edi + 0x70], 0
je 0x1006616a
cmp edi, dword [ebx + 4]
jne 0x10066146
call fcn.10149775
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
jne 0x1006616a
cmp edi, dword [ebx + 4]
jne 0x1006615e
call fcn.10149775
mov edi, dword [edi + 0x70]
mov edx, dword [edi]
mov eax, dword [edx + 0x2c]
mov ecx, edi
call eax
lea ecx, [esp + 0x10]
call fcn.100655d0
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
jmp 0x10066110
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1006619a
mov ecx, dword [esi + 0x34]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx ecx, byte [esi + 0x190]
mov edx, dword [esi + 0x1fa]
sub edx, ecx
add edx, 5
cmp eax, edx
jae 0x10066255
mov ebx, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea ebp, [esi + 0x1a94]
push ebp
call ebx
mov edi, dword [esi + 0x1aac]
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
call ebp
test edi, edi
jne 0x10066204
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov edx, dword [esi + 0x1c2c]
mov ecx, dword [esi + 0xd5c]
push edx
lea edx, [esi + 0x18d4]
mov dword [esi + 0x1a8], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x70]
push edx
lea edx, [esi + 0x18fc]
push edx
call eax
lea edi, [esi + 0x1a94]
push edi
call ebx
mov ecx, dword [esi + 0x1aac]
push edi
mov dword [esp + 0x14], ecx
call ebp
lea edi, [esi + 0x1a94]
push edi
call ebx
mov edx, dword [esp + 0x10]
add edx, 1
push edi
mov dword [esi + 0x1aac], edx
call ebp
mov edx, dword [esi + 0x1c2c]
mov ecx, dword [esi + 0xd5c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x70]
push edx
lea edx, [esi + 0x18d4]
push edx
add esi, 0x18fc
push esi
call eax
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x10070720
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10170418
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xd64]
mov eax, dword [ecx]
mov edx, dword [esi + 0x1a50]
mov eax, dword [eax + 0x3c]
push edx
call eax
cmp byte [esi + 0x1a66], 0
mov ebp, eax
je 0x100707e1
cmp byte [esi + 0x1a67], 0
jne 0x100707e1
lea ecx, [esp + 0x20]
xor ebx, ebx
push ecx
mov ecx, dword [esi + 0xd64]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x20], ebx
call fcn.1012f554
mov dword [esp + 0x38], edi
nop
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100707ca
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x100707ca
mov ecx, dword [esi + 0xd64]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push edi
call eax
add ebp, eax
adc ebx, edx
add edi, 1
jmp 0x10070790
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], 0xffffffff
call fcn.10003970
mov edx, ebx
cmp dword [esi + 0x1a5c], 0
jl 0x1007084b
jg 0x100707f5
cmp dword [esi + 0x1a58], 0
jbe 0x1007084b
movzx ecx, byte [esi + 0x1a66]
mov eax, dword [esi + 0xd5c]
mov edi, dword [esi + 0x1a58]
mov ebx, dword [esi + 0x1a5c]
push ecx
push 0
push 0x64
mov dword [esp + 0x20], eax
mov eax, dword [eax]
push edx
push ebp
mov dword [esp + 0x2c], eax
call fcn.1014a640
push ebx
push edi
push edx
push eax
call fcn.1014a590
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x30]
push ebx
push edi
lea edx, [esi + 0x18d4]
push edx
add esi, 0x18fc
push esi
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x100718a0
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x101705c7
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
lea edx, [esi + 0x10]
mov dword [esi], 0x10186554
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
push edx
mov dword [esi + 0xc], 0x1018458c
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov eax, dword [esp + 0x6c]
push 0x10184472
push ebx
push eax
lea ecx, [esi + 0x3c]
mov byte [esp + 0x68], 1
call fcn.10070b70
push ebx
push ebx
push ebx
lea ecx, [esi + 0x44]
mov byte [esp + 0x68], 2
call fcn.1002b610
push ebx
push ebx
push ebx
lea ecx, [esi + 0x50]
mov byte [esp + 0x68], 3
call fcn.1002b610
lea ecx, [esp + 0x64]
push ecx
push ebx
push esi
push 0x100717f0
push ebx
push ebx
mov byte [esp + 0x74], 4
call fcn.1014a9cb
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x5c], eax
jne 0x1007199a
push 0x14
push str.create_thread_failed
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.10001fe0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 5
call fcn.10002490
push eax
mov byte [esp + 0x60], 6
call fcn.10070b40
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x54
ret 0xc

Function at 0x100719b1
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
push edi
push eax
mov dword [esi], 0x10186554
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov ecx, dword [esi + 0x5c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x100719e4
mov edx, dword [esi + 0x5c]
push 0xff
push edx
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov eax, dword [esi + 0x5c]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x54]
push ecx
mov dword [esi + 0x50], 0x101850b4
call edi
mov ebx, 0x10186684
mov dword [esi + 0x50], ebx
mov edx, dword [esi + 0x48]
push edx
mov dword [esi + 0x44], 0x101850b4
call edi
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0x40]
push eax
mov dword [esi + 0x3c], 0x101850b4
call edi
lea ecx, [esi + 0x28]
mov dword [esi + 0x3c], ebx
call fcn.10070990
lea ecx, [esi + 0x10]
push ecx
mov dword [esi + 0xc], 0x1018458c
call dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
pop edi
mov dword [esi + 0xc], ebx
pop esi
pop ebx
ret
Function at 0x10074ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101706f8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x101b01e4]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, dword [esp + 0x74]
xor ebx, ebx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x1c]
lea esi, [ecx + 4]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x20], 0x28
call fcn.10019fb0
test al, al
je 0x10075029
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.WS2_32.dll_htonl]
push eax
call ebp
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
call fcn.10002680
mov byte [esp + 0x14], bl
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov dword [esp + 0x24], 0x14
call fcn.10019fb0
test al, al
je 0x10075029
mov edx, dword [esp + 0x30]
push edx
call ebp
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call fcn.10002680
mov byte [esp + 0x18], bl
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x20], 0x19
call fcn.10019f40
test al, al
je 0x10075029
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [edi + 4]
movzx edx, ax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edx
call fcn.10053950
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x18], bl
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x20], 0x16
call fcn.1001a020
test al, al
jne 0x10075030
lea ecx, [esp + 0x20]
call fcn.10037160
xor al, al
jmp 0x100750d2
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
jne 0x1007503c
xor eax, eax
jmp 0x10075042
mov eax, dword [esp + 0x28]
sub eax, ecx
push eax
mov ecx, edi
call fcn.10067540
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 4]
call fcn.10071f40
xor eax, eax
mov byte [esp + 0x18], bl
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x20], 0x60
call fcn.1001a390
test al, al
je 0x10075020
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
call fcn.100726c0
lea ecx, [esp + 0x20]
call fcn.10037160
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.10149c5e
add esp, 0x5c
ret 4
Function at 0x100803f0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10170e58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x3c]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.100cdd70
mov ecx, dword [esp + 0x50]
push ecx
lea ecx, [esp + 0x28]
call fcn.1001d680
push eax
lea ecx, [esi + 0x44]
mov dword [esp + 0x34], 0
call fcn.10020980
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x18], 0x10187138
mov dword [esp + 0x1c], 0x1018710c
call fcn.1000dbe0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 8
Function at 0x10081fc0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x10171683
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esi + 4], ebx
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x24], ebx
mov dword [esi], 0x101866a8
call fcn.10019610
mov dword [edi + 4], eax
mov cl, 1
mov byte [eax + 0x29], cl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x24], cl
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], ebx
call fcn.1007d450
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x58], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x60], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x64], edx
mov byte [esi + 0x68], bl
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov word [esi + 0x78], bx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], eax
mov dword [esi + 0x94], ebx
or eax, 0xffffffff
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov word [esi + 0xb0], bx
mov dword [esi + 0xb4], ecx
mov dword [esi + 0xb8], 0x400
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
xor eax, eax
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
lea ecx, [esi + 0xe8]
mov byte [esp + 0x24], 4
mov dword [esi + 0xdc], eax
call fcn.100340b0
mov byte [esp + 0x24], 5
lea ecx, [esi + 0x100]
call fcn.100340b0
mov edx, dword [esp + 0x50]
mov eax, 0x2710
mov byte [esp + 0x24], 6
mov word [esi + 0x118], bx
mov word [esi + 0x11a], bx
mov byte [esi + 0x11c], bl
mov byte [esi + 0x11d], 5
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x12c], edx
mov byte [esi + 0x130], bl
mov byte [esi + 0x131], bl
mov byte [esi + 0x132], bl
mov byte [esi + 0x133], bl
mov byte [esi + 0x134], bl
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], eax
call fcn.100e47eb
mov ecx, eax
call fcn.100e4578
mov ecx, esi
mov dword [esi + 8], eax
call fcn.10081a70
mov ecx, dword [esi + 0x5c]
cmp ecx, ebx
je 0x100821c9
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
call edx
mov byte [esi + 0x11c], al
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esi + 0x128], eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0x2c
Function at 0x10084330
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10171a37
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
xor edi, edi
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x2c], edi
mov dword [esi], 0x10186714
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], edi
call fcn.1007d450
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x48], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ecx
mov word [esi + 0x58], 0x400
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [esi + 0x88], ecx
lea ecx, [esi + 0x90]
mov byte [esp + 0x24], 3
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], eax
call fcn.100340b0
lea ecx, [esi + 0xa8]
mov byte [esp + 0x24], 4
call fcn.100340b0
mov dword [esi + 0xc0], 0xffffffff
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
lea edx, [esi + 0xf4]
mov dword [esi + 0xe8], 0x10185b2c
push edx
mov dword [esi + 0xf0], 0x1018458c
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov dword [esi + 0x110], edi
mov dword [esi + 0x114], edi
mov byte [esp + 0x24], 8
mov word [esi + 0x118], di
mov byte [esi + 0x11b], 5
call fcn.100e47eb
mov ecx, eax
call fcn.100e4578
mov ecx, esi
mov dword [esi + 0x11c], eax
call fcn.100840d0
mov ecx, dword [esi + 0x4c]
cmp ecx, edi
je 0x1008449a
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
call edx
mov byte [esi + 0x11a], al
mov eax, dword [esi + 0x48]
push eax
lea ecx, [esp + 0x14]
mov dword [esi + 0x120], edi
mov dword [esi + 0x8c], 0x2710
call fcn.1002c5f0
mov ecx, dword [esi + 0x8c]
push 1
push ecx
mov ecx, dword [esi + 0x11c]
push eax
push 1
mov byte [esp + 0x34], 9
call fcn.100e1b42
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 8
call fcn.1007e5a0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 0x18
Function at 0x100a0440
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x101740c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
push 0
push 0
mov dword [esp + 0x24], 0
mov dword [esi], 0x101850b4
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
test eax, eax
mov dword [esi + 4], eax
jne 0x100a04d8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x100a04c1
push edi
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenMutexA]
test eax, eax
mov dword [esi + 4], eax
jne 0x100a04d8
push 0x10190b14
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], str.open_mutex_failed
call fcn.10149808
push 0x10190b14
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], str.create_mutex_failed
call fcn.10149808
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x100a0510
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x234
mov eax, dword [0x101b01e4]
xor eax, esp
mov dword [esp + 0x230], eax
push ebp
push 0x12c
xor ebp, ebp
lea eax, [esp + 0xc]
push ebp
push eax
call fcn.10149460
add esp, 0xc
push 0xff
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
lea edx, [esp + 0x134]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
mov dword [esp + 4], eax
je 0x100a05f6
push esi
push edi
xor edi, edi
jmp 0x100a0570
mov eax, dword [eax + 0xc]
cmp dword [eax + ebp*4], 0
lea eax, [eax + ebp*4]
je 0x100a05cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
test esi, esi
je 0x100a05cf
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a0590
sub eax, edx
push eax
lea eax, [esp + edi + 0x14]
push esi
push eax
call fcn.1014ab30
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a05b0
sub eax, edx
lea ecx, [edi + eax]
mov eax, dword [esp + 0xc]
add ebp, 1
mov byte [esp + ecx + 0x10], 0
add edi, 0x1e
jmp 0x100a0570
test ebp, ebp
pop edi
pop esi
jle 0x100a05f6
lea edx, [esp + 8]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
pop ebp
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.10149c5e
add esp, 0x234
ret
mov ecx, dword [esp + 0x234]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.10149c5e
add esp, 0x234
ret
Function at 0x100a0c50
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x1016b47e
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x1002c0e5
or eax, 0xffffffff
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4
cmp dword [esi + 0x3c], 0
jne 0x1002c107
push 0x1e
call fcn.1014979e
add esp, 4
test eax, eax
je 0x1002c102
mov ecx, eax
call fcn.1002b5d0
jmp 0x1002c104
xor eax, eax
mov dword [esi + 0x3c], eax
mov eax, 1
test byte [0x101b16c4], al
jne 0x1002c170
or dword [0x101b16c4], eax
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x18], 0
mov dword [0x101b16c0], 0xf
mov dword [0x101b16bc], 0
mov byte [0x101b16ac], 0
lea ebp, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1002c144
sub eax, ebp
push eax
push ecx
mov ecx, 0x101b16a8
call fcn.10001fe0
push 0x10182f30
call fcn.1014a8bf
add esp, 4
mov dword [esp + 0x18], 0xffffffff
cmp dword [0x101b16c0], 0x10
mov eax, dword [0x101b16ac]
jae 0x1002c183
mov eax, 0x101b16ac
mov ecx, dword [esi + 0x3c]
mov dword [ecx], eax
mov edx, dword [esi + 0x3c]
mov ax, word [edi + 4]
mov word [edx + 4], ax
mov ecx, dword [esi + 0x3c]
mov dx, word [edi + 6]
mov word [ecx + 6], dx
mov eax, dword [esi + 0x3c]
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x3c]
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0x3c]
mov edx, dword [edi + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [edi + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x3c]
mov al, byte [edi + 0x18]
mov byte [edx + 0x18], al
mov ecx, dword [esi + 0x3c]
mov dl, byte [edi + 0x19]
mov byte [ecx + 0x19], dl
mov ecx, dword [edi + 0x1a]
mov eax, dword [esi + 0x3c]
mov dword [eax + 0x1a], ecx
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1002c201
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
push edi
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4
add ecx, 0x32bc
jmp 0x1002c0a0