joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11132a0
Capabilities:
Enumerate threads

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xa4]
push eax
push 0
mov ebx, 1
push 0x418
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x11133d3
cmp edi, 0xffffffff
je 0x11133d3
mov ecx, dword [esi + 0xa4]
push ecx
push 4
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
test ebx, ebx
je 0x11133c0
cmp ebx, 0xffffffff
je 0x11133c0
lea edx, [ebp - 0x28]
push edx
push ebx
mov dword [ebp - 0x28], 0x1c
call sub.KERNEL32.DLL_Thread32First
test eax, eax
je 0x11133b9
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x111334b
lea eax, [ebp - 0x28]
push eax
push ebx
call sub.KERNEL32.DLL_Thread32Next
test eax, eax
jne 0x1113334
jmp 0x11133b9
push eax
push 0
push 0x40
call dword [sym.imp.KERNEL32.DLL_OpenThread]
mov esi, eax
test esi, esi
je 0x11133b9
cmp esi, 0xffffffff
je 0x11133b9
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0xac]
push 0
push 4
lea ecx, [ebp - 4]
push ecx
push 9
push esi
mov dword [ebp - 4], 0
call edx
cmp dword [ebp - 4], 0
je 0x11133af
push esi
push edi
call fcn.0104eaa0
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx + 0xa4]
jne 0x11133af
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push edi
call fcn.011131c0
test eax, eax
je 0x11133af
mov dword [ebp - 0xc], 5
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [ebp - 8]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1113c30
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x13cf8], eax
jne 0x1113e1d
push ebx
push edi
push 0x94
push eax
lea eax, [ebp - 0x9c]
push eax
call sub.msvcrt.dll_memset
mov edi, dword [ebp + 0xc]
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x1113ca2
mov eax, dword [edi + 0x80]
imul eax, dword [edi + 0x14]
add eax, eax
cmp eax, 0x1000
jae 0x1113c88
mov eax, 0x1000
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
push ecx
push edx
push eax
push esi
call fcn.0102d3d0
mov ebx, eax
mov dword [ebp + 8], ebx
jmp 0x1113cb7
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push ebx
push ecx
call fcn.0107d490
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], eax
mov ebx, eax
test ebx, ebx
je 0x1113e18
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x88], edx
call dword [sym.imp.msvcrt.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x98], dl
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x90], edx
test eax, eax
je 0x1113d03
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push ebx
call fcn.0102d4c0
push edi
push esi
call fcn.01051480
mov edx, dword [edi + 0x10]
push 0
push 1
push edx
push esi
call fcn.010b4c50
mov eax, dword [edi + 0x10]
push 0
push 1
push 0x80
push 2
push 3
push 0xc0000000
push eax
push esi
call fcn.011004d0
mov ebx, eax
test ebx, ebx
je 0x1113d3f
cmp ebx, 0xffffffff
jne 0x1113d67
mov ecx, dword [edi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov edx, dword [edi + 0x10]
push 0
push 1
push 0x80
push 2
push 7
push 0xc0000000
push edx
push esi
call fcn.011004d0
mov ebx, eax
test ebx, ebx
je 0x1113dfe
cmp ebx, 0xffffffff
je 0x1113dfe
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0x8890]
push ecx
push edx
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x9c], 0x58505850
call fcn.0102e5d0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [esi + 0x8890]
push ecx
push 0xffffffffffffffff
push eax
call fcn.0102e5d0
mov ecx, dword [esi + 0x268]
push 0
lea edx, [ebp - 8]
push edx
mov dword [ebp - 0x10], eax
push 0x94
lea eax, [ebp - 0x9c]
push eax
push ebx
call ecx
test eax, eax
je 0x1113df5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0
lea edx, [ebp - 8]
push edx
mov edx, dword [esi + 0x268]
push eax
push ecx
push ebx
call edx
test eax, eax
je 0x1113df5
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x1c0]
push ebx
call eax
push edi
push esi
call fcn.01113bd0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1114a40
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x188], 0
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
jne 0x1114afa
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x3550]
push 1
add ecx, 0x168
push ecx
call edi
test eax, eax
jne 0x1114afa
mov edx, dword [esi + 0x18]
mov eax, dword [edx]
lea ecx, [eax + 0x272]
push ecx
push eax
call fcn.010c3030
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 0x3550]
mov dword [eax + 0x16c], 1
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [esi + 0x18]
push eax
add ecx, 0x12998
push ecx
call edi
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 0x3550]
mov eax, dword [eax + 0x8018]
test eax, eax
je 0x1114acc
push 1
add eax, 0x64
push eax
call edi
mov esi, dword [esi + 0x18]
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push 0x11143f0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x1114b15
mov edx, dword [esi + 0x1c0]
push eax
call edx
pop edi
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x3550]
mov eax, dword [eax + 0x8018]
test eax, eax
je 0x1114b15
push 1
add eax, 0x64
push eax
call edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x1115450
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push 1
add ecx, 0x1296c
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0
push 0
push 0
push 0
push 0x22e038
push ecx
call fcn.0108fe70
mov eax, dword [esi]
mov edi, dword [eax]
lea edx, [ebp + 8]
push edx
push 0
push eax
push fcn.010cbfb0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x11154af
push eax
mov eax, dword [edi + 0x1c0]
call eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push edx
call fcn.010bd9e0
mov eax, dword [esi]
mov ecx, dword [0x117f0a0]
mov eax, dword [eax]
push ecx
push eax
call fcn.010f3010
mov edi, eax
test edi, edi
je 0x11154f5
mov edx, dword [esi]
mov eax, dword [edx]
push edi
add eax, 0x12a0c
push 0
push eax
call fcn.01106c50
add esp, 0xc
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x111a2d0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
push 0x43601
push 0
push 0
push 0
push 0
push 0
push 0x420
mov esi, dword [ebp + 8]
push 0x2c7
push 0xaf
push 0x2d
push 0
push 0
push 0x107a030
push 0x1119410
push 0x1076190
push 0x10dd860
push 0
mov eax, 0x3c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [eax + 0xf34]
mov edx, dword [eax + 0x185c]
push 0
push 0
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0x1e28]
push 0
push 0x16
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x16d0]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0x1860]
push 0xa
mov dword [ebp - 0x2c], edx
mov edx, dword [eax + 0x1e2c]
mov eax, dword [eax + 0x1e30]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x24], edx
push 7
lea edx, [ebp - 0x38]
push edx
push esi
mov dword [ebp - 0x18], 0x71
mov dword [ebp - 0x14], 0xe6
mov dword [ebp - 0x10], 0x3f
mov dword [ebp - 0xc], 0x70
mov dword [ebp - 8], 0x32
mov dword [ebp - 0x20], eax
call fcn.0105bad0
mov dword [eax + 0x4ac], 0
mov dword [eax + 0x498], 0x1c
mov dword [eax + 0x49c], 0
mov dword [eax + 0x4a0], 2
mov ecx, dword [esi + 0x88]
cmp dword [ecx], 0
jne 0x111a3d9
mov dword [ecx], eax
jmp 0x111a3e2
mov ecx, dword [ecx + 4]
mov dword [ecx + 0x4c8], eax
mov edx, dword [esi + 0x88]
mov dword [edx + 4], eax
mov ecx, dword [esi]
lea edx, [ebp + 8]
push edx
push 0
push esi
push fcn.010e5cd0
push 0
mov dword [ecx + 0x2883c], eax
mov edi, dword [esi + 4]
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x111a419
push eax
mov eax, dword [edi + 0x1c0]
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x111ad20
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
push esi
mov dword [ebp - 4], 0
call fcn.010b1fb0
push 0x80
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
mov ecx, dword [ebp + 0xc]
push 0
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push esi
call fcn.0111ab60
mov edi, eax
test edi, edi
jne 0x111ad7f
push eax
push 1
lea edx, [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push esi
call fcn.0111ab60
mov edi, eax
test edi, edi
je 0x111ae28
mov ecx, dword [ebp + 0x10]
push 0
push 0
push ecx
push edi
push ebx
push esi
call fcn.011006b0
test eax, eax
jne 0x111ada6
mov edx, dword [ebp + 0x10]
push 1
push eax
push edx
push edi
push ebx
push esi
call fcn.011006b0
test eax, eax
je 0x111ae14
push 0
push 0
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
call fcn.0111ab60
test eax, eax
je 0x111ae14
mov ecx, dword [ebp + 0x10]
mov edx, edi
mov esi, eax
cmp ecx, 4
jb 0x111add9
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x111ae04
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x111adc5
test ecx, ecx
je 0x111adfd
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x111ae04
cmp ecx, 1
jbe 0x111adfd
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x111ae04
cmp ecx, 2
jbe 0x111adfd
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x111ae04
mov dword [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
test edi, edi
je 0x111ae28
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x111bec0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
push 0
push 0
push 1
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x2ee84], eax
call edi
cmp dword [esi + 0x2ee84], 0
mov dword [esi + 0x2ee88], eax
je 0x111bf26
test eax, eax
je 0x111bf26
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x111bde0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x2ee8c], eax
test eax, eax
je 0x111bf26
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
pop edi
pop esi
pop ebp
ret 4

Function at 0x111e5c0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push esi
push 0x213
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x111e63f
mov ecx, dword [ebp + 0xc]
push edi
test ecx, ecx
je 0x111e5fd
mov edi, 0x210
sub ecx, esi
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub edi, 1
jne 0x111e5f2
mov eax, dword [ebp + 8]
mov dword [esi + 0x20c], eax
mov edi, dword [eax]
lea eax, [ebp + 0xc]
push eax
push 0
push esi
push 0x111e540
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x111e632
mov ecx, dword [edi + 0x1c0]
push eax
call ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1120310
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x4c]
push esi
push edi
test eax, eax
je 0x112036b
mov esi, dword [ebp + 0x10]
push 0x100c804
push esi
call fcn.0102a960
test eax, eax
je 0x112033d
cmp dword [ebx + 0x54], 0
jne 0x112036b
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0111ffa0
mov edi, eax
test edi, edi
je 0x112036e
mov eax, dword [ebp + 0x10]
push edi
push eax
push ebx
push esi
call fcn.0108e440
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x112036e
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebx + 0x20]
push ecx
push edi
push 0x1f
push ebx
push esi
call edx
add esp, 0x14
cmp dword [ebx + 0x44], 0
je 0x11204ec
cmp dword [ebx + 0x48], 0
je 0x11203b7
push edi
push esi
call fcn.0102ce10
mov edi, eax
test edi, edi
je 0x11203b7
push edi
push ebx
push esi
call fcn.0108dd00
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [ebp + 0x14]
mov edi, dword [sym.imp.msvcrt.dll__wtoi64]
push eax
call edi
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], edx
test edx, edx
jl 0x11204ec
jg 0x11203dd
test esi, esi
jbe 0x11204ec
mov ecx, dword [ebp + 0x14]
push 0x3a
push ecx
call fcn.0102aa50
test eax, eax
je 0x11204ec
add eax, 2
push eax
call edi
add esp, 4
mov dword [ebp - 8], eax
test edx, edx
jl 0x11204ec
jg 0x112040e
test eax, eax
jbe 0x11204ec
mov edi, dword [ebx + 0x100d0]
test edi, edi
je 0x112043a
mov edx, dword [ebp - 0xc]
xor ecx, ecx
push ecx
mov eax, edi
push eax
push edx
push esi
call fcn.01178940
xor ecx, ecx
push ecx
mov ecx, edi
push ecx
push edx
push eax
call fcn.011788a0
mov dword [ebp - 0x10], eax
jmp 0x112045c
mov eax, dword [ebp - 0xc]
push 0
push 0x10000
push eax
push esi
call fcn.01178940
push 0
push 0x10000
push edx
push eax
call fcn.011788a0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x100cc]
sub edi, eax
add edi, dword [ebp - 8]
add edi, esi
push edi
push eax
push edx
push 4
push ecx
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x11204ec
mov eax, dword [ebp - 8]
add eax, 2
push eax
call fcn.01028090
mov edi, eax
test edi, edi
je 0x11204e5
mov eax, dword [ebp - 8]
sub esi, dword [ebp - 0x10]
push eax
add esi, ebx
push esi
add eax, 2
push eax
push edi
call fcn.01178ecc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add esp, 0x10
lea edx, [ebp + 0xc]
push edx
push eax
push edi
push ecx
call fcn.01048390
mov esi, eax
test esi, esi
je 0x11204d8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push 0
push edx
push esi
push eax
push ecx
call fcn.011007d0
push esi
call fcn.01047230
jmp 0x11204df
mov dword [ebp + 0xc], 0
push edi
call fcn.01047230
push ebx
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1122730
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push 0xd
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x11227eb
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x112275f
xor eax, eax
jmp 0x1122774
cmp word [ecx], 0
mov eax, ecx
je 0x1122770
add eax, 2
cmp word [eax], 0
jne 0x1122767
sub eax, ecx
sar eax, 1
push eax
push ecx
mov dword [esi + 8], eax
call fcn.0102ab30
mov dword [esi + 4], eax
test eax, eax
je 0x11227df
mov edi, dword [ebp + 8]
push ebx
lea ebx, [edi + 0x9cc]
push ebx
mov dword [esi], edi
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
mov edi, dword [edi]
lea eax, [ebp + 0xc]
push eax
push 0
push esi
push fcn.01122550
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x11227cb
mov ecx, dword [edi + 0x1c0]
push eax
call ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop ebx
pop edi
pop esi
pop ebp
ret 8
push esi
call fcn.01122550
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop ebx
pop edi
pop esi
pop ebp
ret 8
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebp
ret 8

Function at 0x1122fc0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push eax
call fcn.010cac40
test eax, eax
jne 0x112301f
mov ecx, dword [esi]
push ecx
call fcn.010cac40
test eax, eax
jne 0x112301f
push edi
mov edi, dword [esi]
cmp dword [edi + 0x81a4], 0x1771
jb 0x1122ffb
push 1
push eax
push esi
call fcn.010d2370
jmp 0x112301e
lea edx, [ebp + 8]
push edx
push 0
push edi
push 0x10d2730
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x112301e
push eax
mov eax, dword [edi + 0x1c0]
call eax
pop edi
mov ecx, dword [esi]
mov eax, dword [ecx + 0x3550]
test eax, eax
je 0x1123081
push 0
add eax, 0x70
push eax
push esi
call fcn.010c2370
mov edx, dword [esi]
mov eax, dword [edx + 0x3550]
push 0
add eax, 0x70
push eax
push esi
call fcn.010c2370
mov eax, dword [esi]
mov ecx, dword [eax + 0x3550]
push 0
push 0
push 0
push 0x1001d5c
add ecx, 0x4ac
push ecx
push 0
push 1
push eax
call fcn.010c20c0
mov edx, dword [esi]
push 0x1017ec0
push connect
push edx
call fcn.010b3980
pop esi
pop ebp
ret 4
Function at 0x1123090
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x314
push ebx
push esi
push 0x803
push 8
mov ebx, 3
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1123265
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
push 0x3ff
push esi
push eax
push 0
push ecx
call fcn.010b53b0
cmp eax, 2
je 0x11230f9
mov edx, dword [ebp + 0x10]
mov eax, dword [edi]
push 0x3ff
push esi
push edx
push 0
push eax
call fcn.010b53b0
cmp eax, ebx
jne 0x1123254
mov edx, dword [edi]
lea ecx, [ebp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0x22e078
push edx
call fcn.0108fe70
mov eax, dword [ebp + 0x20]
mov ecx, dword [edi]
push esi
push eax
push ecx
call fcn.0111ad20
test eax, eax
je 0x1123223
mov ebx, dword [ebp + 0xc]
push esi
push ebx
push edi
call fcn.010c2ee0
test eax, eax
je 0x1123223
push ebx
push edi
call fcn.010c2e60
cmp dword [ebp + 0x18], 0
je 0x11231b1
push 0x20a
lea edx, [ebp - 0x314]
push 0
push edx
call sub.msvcrt.dll_memset
push 0x1001d8c
push esi
push 0x1020f14
lea eax, [ebp - 0x314]
push 0x103
push eax
call fcn.0102aaf0
add esp, 0x20
lea ecx, [ebp - 0x314]
push ecx
call fcn.0102a730
mov ecx, dword [edi]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x314]
push eax
push 1
push 0x100222c
push 0x101c268
push connect
push ecx
call fcn.010b2fe0
xor ebx, ebx
jmp 0x1123254
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x112320a
push 0x105
lea edx, [ebp - 0x108]
push 0
push edx
call sub.msvcrt.dll_memset
push ebx
push 0x1001d14
push 0x1001d90
push 0x1020f00
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.01029620
mov edx, dword [edi]
add esp, 0x24
push 5
push 0x3e8
lea ecx, [ebp - 0x108]
push ecx
push esi
push edx
call fcn.0102b6f0
xor ebx, ebx
jmp 0x1123254
mov eax, dword [edi]
push 5
push 0x3e8
push 0x1001d90
push esi
push eax
call fcn.0102b6f0
xor ebx, ebx
jmp 0x1123254
mov ecx, dword [edi]
push ecx
call fcn.010b21f0
test eax, eax
je 0x1123236
mov ebx, 2
jmp 0x1123254
cmp dword [ebp + 0x14], 0
je 0x1123243
mov ebx, 1
jmp 0x1123254
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
push edx
push esi
push eax
push edi
call fcn.010c2f90
mov ebx, eax
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1123a10
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 8]
push 1
lea eax, [edi + 0x9f4]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
jne 0x1123aa6
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 4], esi
mov dword [ebp + 8], esi
call ebx
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
push edi
mov dword [ebp - 8], eax
call fcn.011236b0
test eax, eax
je 0x1123ab0
inc esi
cmp esi, 0xf
jg 0x1123a7a
call ebx
sub eax, dword [ebp - 8]
cmp eax, 0x7530
ja 0x1123a7a
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 4]
push ecx
push edi
call fcn.011236b0
test eax, eax
jne 0x1123a56
test esi, esi
je 0x1123a90
mov edx, dword [edi]
push edi
mov dword [edx + 0x157d8], 1
call fcn.01112ed0
mov eax, dword [edi]
push eax
call fcn.010c4510
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1123f60
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push 1
push edi
call fcn.01093a30
mov eax, dword [edi]
mov ecx, dword [eax + 0x3538]
push 0
push ecx
push eax
call fcn.01113f20
mov eax, dword [edi]
mov ecx, dword [eax + 0x3538]
test ecx, ecx
je 0x1123f96
push ecx
push eax
call fcn.01051480
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, eax
test esi, esi
jbe 0x1123faf
mov dl, al
sub dl, 0x40
xor byte [eax + ecx], dl
inc eax
cmp eax, esi
jb 0x1123fa2
push esi
push ecx
push edi
call fcn.01105520
pop edi
pop esi
pop ebp
ret 0xc