joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100030cb
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
jmp 0x1000311b
lea esi, [ebp - 0xc]
call fcn.10011475
mov ecx, dword [0x1002cbe8]
mov eax, dword [0x1002cbec]
add ecx, 0xe10
adc eax, ebx
cmp eax, dword [ebp - 8]
jg 0x10003158
jl 0x100030ff
cmp ecx, dword [ebp - 0xc]
jae 0x10003158
push ebx
push dword [0x1002cbf0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x1000312d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [0x1002cbd8]
call fcn.100134d3
pop ecx
pop ecx
test eax, eax
js 0x100030d8
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x1002cc08]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.10013e65
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x10003160
or edi, 0xffffffff
jmp 0x100031c4
push 0xfffffffffffffffe
pop eax
jmp 0x100031ee
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push ebx
push ebx
push 0x1002cbf0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov esi, 0x1002cbe8
call fcn.10011475
lea eax, [ebp - 0x1c]
push 0x1000298c
push eax
call fcn.10002d9a
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jl 0x100031c4
push dword [0x1002cc90]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x27
call fcn.10011deb
push 0x1002dfe4
push ebx
call fcn.10011fff
add esp, 0x10
push dword [0x1002cbf0]
call dword [0x1002dddc]
push dword [0x1002cbd8]
mov dword [0x1002cbf0], ebx
call fcn.100134f7
pop ecx
xor eax, eax
lea esi, [ebp - 0x14]
call fcn.100111ae
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100040c9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
push 0x32
mov dword [ebp - 0x10], esi
call fcn.10011e02
pop ecx
test eax, eax
je 0x100040e8
xor eax, eax
jmp 0x10004193
push edi
mov edi, 0x524
call fcn.10013293
mov edi, 0x7f7
mov dword [ebp - 8], eax
call fcn.10013293
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], esi
je 0x1000418f
cmp eax, esi
je 0x1000418f
lea eax, [ebp - 4]
push eax
push 2
push esi
push dword [ebp - 8]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10004147
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [0x1002de58]
lea eax, [ebp - 8]
call fcn.100133d3
lea eax, [ebp - 0xc]
call fcn.100133d3
push 0x10020bf8
push 0x32
call fcn.10011deb
push 0x1002dfe4
push esi
call fcn.10011fff
add esp, 0x10
mov edi, 0x3224
call fcn.10013293
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x1000418f
call fcn.100162ab
lea eax, [ebp - 0xc]
call fcn.100133d3
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x1000513b
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push edi
push 0x1002dfe4
push str..pipe_ssp
lea eax, [ebp - 0x10c]
push 0x100
push eax
call fcn.100112cf
mov edi, 0x80000
push edi
call fcn.10011198
xor ebx, ebx
add esp, 0x14
mov dword [0x1002cc1c], eax
cmp eax, ebx
jne 0x1000517f
push 0xfffffffffffffff5
pop eax
jmp 0x100051ec
push esi
lea esi, [ebp - 0xc]
call fcn.10017939
pop esi
test eax, eax
jns 0x10005190
mov dword [ebp - 0xc], ebx
xor eax, eax
cmp eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
sbb eax, eax
and eax, ecx
push eax
push ebx
push edi
push edi
push 0xff
push 6
push 0x80003
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [0x1002fe20], eax
cmp eax, 0xffffffff
jne 0x100051cd
mov dword [0x1002fe20], ebx
push 0xfffffffffffffffe
jmp 0x1000517c
call fcn.1001775b
push ebx
push ebx
push ebx
push 0x100051f0
call fcn.10007370
add esp, 0x10
neg eax
sbb eax, eax
and eax, 4
add eax, 0xfffffffd
pop edi
pop ebx
leave
ret

Function at 0x10005aa2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
shl eax, 4
mov ecx, dword [0x1002fe1c]
push dword [ecx + eax]
push str.p_08x
push 0x20
lea eax, [ebp - 0x20]
push eax
call fcn.100112cf
add esp, 0x10
xor eax, eax
je 0x10005ad0
jmp 0x10005aca
lea eax, [ebp - 0x20]
push eax
call fcn.10017a3e
pop ecx
test eax, eax
je 0x10005b6e
push 0x2710
mov eax, dword [ebp + 8]
shl eax, 4
mov ecx, dword [0x1002fe1c]
push dword [ecx + eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10005b0e
xor eax, eax
je 0x10005b0c
jmp 0x10005b06
jmp 0x10005b55
cmp dword [ebp - 0x24], 0x102
jne 0x10005b37
xor eax, eax
je 0x10005b1d
jmp 0x10005b17
push 1
mov eax, dword [ebp + 8]
shl eax, 4
mov ecx, dword [0x1002fe1c]
push dword [ecx + eax + 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x10005b55
xor eax, eax
je 0x10005b3d
jmp 0x10005b37
push 1
mov eax, dword [ebp + 8]
shl eax, 4
mov ecx, dword [0x1002fe1c]
push dword [ecx + eax + 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp + 8]
shl eax, 4
mov ecx, dword [0x1002fe1c]
and dword [ecx + eax + 4], 0
xor eax, eax
je 0x10005b6c
jmp 0x10005b66
jmp 0x10005b74
xor eax, eax
je 0x10005b74
jmp 0x10005b6e
xor eax, eax
leave
ret

Function at 0x10006ac9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push esi
jne 0x10006b2f
xor esi, esi
push esi
push 0x80000
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 3
mov dword [0x1002dab4], eax
call fcn.10013210
pop ecx
test eax, eax
jns 0x10006af7
xor eax, eax
jmp 0x10006b32
cmp dword [ebp + 0x10], esi
je 0x10006b2f
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.10017da7
pop ecx
pop ecx
test eax, eax
je 0x10006af3
call fcn.10011aea
call fcn.10014ac2
lea eax, [ebp + 0x10]
push eax
push esi
push esi
push 0x10006693
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1002df24], eax
xor eax, eax
inc eax
pop esi
pop ebp
ret 0xc
Function at 0x1000700b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea eax, [ebp - 0x21c]
xor edi, edi
push 0xfe
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.100112cf
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x21c]
push eax
push reloc.WS2_32.dll_bind
call dword [0x1002dea8]
test eax, eax
je 0x1000705e
or eax, 0xffffffff
jmp 0x100071fd
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x10007084
push 0xfffffffffffffffe
pop eax
jmp 0x100071fd
cmp dword [ebp - 8], edi
je 0x100071f1
push ebx
push esi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x31c]
push eax
mov eax, dword [ebp - 8]
dec eax
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x18], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x100071e6
push edi
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x100
lea eax, [ebp - 0x11c]
push eax
push 0x10020df0
call fcn.100138a1
lea eax, [ebp - 0x11c]
push str.Publisher
push eax
call fcn.10016981
mov dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push str.DisplayName
push eax
call fcn.10016981
add esp, 0x28
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 4], edi
je 0x10007162
cmp ebx, edi
je 0x10007162
mov eax, dword [ebp - 4]
mov esi, str.Microsoft
call fcn.1001139d
test eax, eax
je 0x10007162
push str.Update
push ebx
call fcn.10013658
pop ecx
pop ecx
test eax, eax
jne 0x10007149
push str.Hotfix
push ebx
call fcn.10013658
pop ecx
pop ecx
test eax, eax
je 0x10007162
xor eax, eax
lea esi, [ebp - 4]
call fcn.100111ae
xor eax, eax
lea esi, [ebp - 0x10]
call fcn.100111ae
jmp 0x100071e6
lea eax, [ebp - 0x11c]
push str.DisplayVersion
push eax
call fcn.10016981
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
cmp ebx, edi
je 0x100071b9
cmp eax, edi
jne 0x10007185
mov eax, 0x10020bd1
push eax
push ebx
push 0x10020eec
lea eax, [ebp - 0x51c]
push 0x200
push eax
call fcn.100112cf
lea eax, [ebp - 0x51c]
push eax
push dword [ebp + 8]
call fcn.10014c2d
add esp, 0x1c
xor eax, eax
lea esi, [ebp - 0x10]
call fcn.100111ae
cmp dword [ebp - 0x14], edi
je 0x100071c8
xor eax, eax
lea esi, [ebp - 0x14]
call fcn.100111ae
cmp dword [ebp - 4], edi
je 0x100071d7
xor eax, eax
lea esi, [ebp - 4]
call fcn.100111ae
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
dec dword [ebp - 8]
jne 0x1000708f
pop esi
pop ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
leave
ret
Function at 0x10007370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 0x7530
push dword [0x1002dd08]
xor ebx, ebx
call fcn.100134d3
pop ecx
pop ecx
test eax, eax
jns 0x10007394
xor eax, eax
jmp 0x100074f1
push edi
mov dword [ebp - 4], ebx
xor edi, edi
mov eax, dword [0x1002cc48]
mov eax, dword [edi + eax]
cmp eax, ebx
je 0x100073bf
push eax
call fcn.100072b1
pop ecx
test eax, eax
jne 0x100073c9
mov eax, dword [0x1002cc48]
push ebx
add eax, edi
call fcn.100072cb
pop ecx
mov eax, dword [0x1002cc48]
cmp dword [edi + eax], ebx
je 0x100073dc
inc dword [ebp - 4]
add edi, 0x20
cmp edi, 0x1000
jb 0x1000739a
jmp 0x100074e2
mov edi, dword [ebp - 4]
shl edi, 5
push esi
cmp dword [ebp + 0xc], ebx
je 0x10007424
mov esi, dword [ebp + 0x10]
push esi
call fcn.10011198
pop ecx
mov ecx, dword [0x1002cc48]
mov dword [edi + ecx + 0xc], eax
mov eax, dword [0x1002cc48]
mov eax, dword [edi + eax + 0xc]
cmp eax, ebx
je 0x100074e1
push esi
push eax
mov eax, dword [ebp + 0xc]
call fcn.10011255
mov eax, dword [0x1002cc48]
pop ecx
pop ecx
mov dword [edi + eax + 0x10], esi
jmp 0x10007431
mov dword [edi + eax + 0xc], ebx
mov eax, dword [0x1002cc48]
mov dword [edi + eax + 0x10], ebx
mov eax, dword [0x1002cc48]
mov ecx, dword [ebp + 8]
mov dword [edi + eax + 8], ecx
mov eax, dword [0x1002cc48]
mov ecx, dword [ebp + 0x14]
push 1
push ebx
mov dword [edi + eax + 0x14], ecx
call fcn.10013492
pop ecx
pop ecx
mov ecx, dword [0x1002cc48]
mov dword [edi + ecx + 0x1c], eax
mov eax, dword [0x1002cc48]
add eax, edi
lea ecx, [eax + 4]
push ecx
push ebx
push eax
push 0x10007328
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x1002cc48]
mov dword [edi + ecx], eax
mov eax, dword [0x1002cc48]
mov ecx, dword [eax + edi]
cmp ecx, ebx
jne 0x100074bb
push dword [eax + edi + 0x1c]
call dword [0x1002dddc]
mov eax, dword [0x1002cc48]
lea esi, [eax + edi + 0xc]
cmp dword [esi], ebx
je 0x100074ac
mov eax, dword [eax + edi + 0x10]
call fcn.100111ae
add edi, dword [0x1002cc48]
push 8
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x100074e1
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1002cc48]
push dword [edi + eax + 0x1c]
inc dword [0x1002cc44]
call fcn.100134f7
mov eax, dword [0x1002cc48]
pop ecx
lea ebx, [edi + eax]
pop esi
push dword [0x1002dd08]
call fcn.100134f7
pop ecx
mov eax, ebx
pop edi
pop ebx
leave
ret

Function at 0x100074f4
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, eax
cmp esi, 0x7f
ja 0x1000753e
mov eax, dword [0x1002cc48]
shl esi, 5
mov eax, dword [esi + eax]
test eax, eax
jne 0x10007510
push 0xfffffffffffffffe
pop eax
pop esi
ret
push eax
call fcn.100072b1
pop ecx
test eax, eax
je 0x1000752b
mov eax, dword [0x1002cc48]
push 0
push dword [esi + eax]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x1002cc48]
push 1
add eax, esi
call fcn.100072cb
pop ecx
xor eax, eax
pop esi
ret
or eax, 0xffffffff
pop esi
ret
Function at 0x10007790
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa64
push esi
xor esi, esi
cmp dword [ebp + 8], 1
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
je 0x100077b9
cmp dword [ebp + 8], 2
je 0x100077b9
or eax, 0xffffffff
jmp 0x1000794b
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call fcn.10016837
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, esi
jne 0x100077d6
push 0xfffffffffffffffe
pop eax
jmp 0x1000794b
push ebx
push edi
mov edi, 0x1002dfe4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
xor eax, eax
call fcn.10017030
mov ecx, eax
add ecx, dword [ebp + 8]
lea eax, [ebp - 0xa64]
call fcn.100126ea
push eax
push 0xa
push 0xc
pop eax
lea ebx, [ebp - 0xa0]
call fcn.100135a3
push 0x2e
pop ecx
push esi
push 0x10020efc
mov ebx, 0x1002e560
push ebx
mov word [ebp + eax*2 - 0xa8], cx
call fcn.10013849
push esi
lea ecx, [ebp - 0xa0]
push ecx
mov esi, 0x10020c48
push esi
push eax
mov dword [ebp - 0x1c], eax
call fcn.10013849
add esp, 0x2c
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.100189a3
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
jg 0x10007875
mov dword [ebp - 4], 0xfffffffd
jmp 0x10007914
push 2
push edi
push 2
push dword [ebp - 0x10]
call fcn.10014534
mov edi, eax
add esp, 0x10
mov dword [ebp + 8], edi
test edi, edi
jne 0x10007897
mov dword [ebp - 4], 0xfffffffc
jmp 0x10007914
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.10014786
pop ecx
pop ecx
test eax, eax
jns 0x100078b1
mov dword [ebp - 4], 0xfffffffb
jmp 0x10007906
lea edi, [ebp + 8]
call fcn.10014838
push 0
lea eax, [ebp - 0xa0]
push eax
push esi
push ebx
call fcn.10013849
push dword [ebp - 0x10]
mov edi, eax
mov dword [ebp - 0x20], eax
call fcn.100164f3
add esp, 0x14
test eax, eax
jns 0x100078e4
mov dword [ebp - 4], 0xfffffff9
push 0xfffffffffffffffe
pop eax
lea esi, [ebp - 0x20]
call fcn.100111ae
cmp dword [ebp - 4], 0
jne 0x10007904
push 0x2deb8b96
call fcn.1000655a
cmp dword [ebp - 4], 0
pop ecx
jge 0x10007914
cmp dword [ebp + 8], 0
je 0x10007914
lea edi, [ebp + 8]
call fcn.10014838
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x14]
call fcn.100111ae
mov eax, dword [ebp - 0x18]
pop edi
pop ebx
test eax, eax
jg 0x1000792a
xor eax, eax
lea esi, [ebp - 0xc]
call fcn.100111ae
push 0xfffffffffffffffe
pop eax
lea esi, [ebp - 0x1c]
call fcn.100111ae
push 0xfffffffffffffffe
pop eax
lea esi, [ebp - 0x10]
call fcn.100111ae
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x1000794e
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
push ebx
push esi
push edi
xor ebx, ebx
push 0x31
inc ebx
call fcn.10011e02
pop ecx
test eax, eax
je 0x10007a8c
push 0
call fcn.10014b2e
push eax
push 0x10020f04
push 0x1002e560
call fcn.10013849
mov edi, eax
add esp, 0x10
mov dword [esp + 0xc], edi
test edi, edi
je 0x10007a8c
push 0x1388
push 0x1002fbc8
call fcn.10013492
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10007a80
push edi
call fcn.10016652
pop ecx
test eax, eax
jne 0x100079f5
push 0x93a80
push 0x2b
call fcn.10012349
pop ecx
pop ecx
test eax, eax
jne 0x100079ec
call fcn.10007200
push 0x2b
call fcn.100123ea
mov dword [esp], 0x1002dfe4
push 0
call fcn.10011fff
pop ecx
pop ecx
push edi
call fcn.100153fa
pop ecx
mov ebx, eax
push esi
call fcn.100134f7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jle 0x10007a80
lea esi, [esp + 0x10]
call fcn.10011475
push 0x33
call fcn.10011e02
pop ecx
test eax, eax
jne 0x10007a62
push 0x12
call fcn.10011e02
pop ecx
test eax, eax
jne 0x10007a31
call fcn.10013f64
test eax, eax
je 0x10007a62
xor esi, esi
call fcn.10011475
push eax
push edi
push str._s._u
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.1001130f
add esp, 0x14
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x10007998
push edi
call fcn.100030cb
pop ecx
test eax, eax
js 0x10007a80
mov eax, edi
call fcn.1001658b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10007998
push 0xfffffffffffffffe
pop eax
lea esi, [esp + 0xc]
call fcn.100111ae
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000802f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push ebx
push esi
push edi
push 0x1002e99c
push 6
mov edi, eax
push 0xa
pop eax
lea ebx, [ebp - 0x18]
call fcn.1001354b
mov eax, ebx
push eax
call fcn.10013790
mov ebx, eax
add esp, 0xc
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x1000806b
push 0xa
pop eax
jmp 0x1000815d
push dword [ebp + 0x10]
mov esi, 0x1ff
push dword [ebp + 0xc]
lea eax, [ebp - 0x81c]
push 0x10020f50
push esi
push eax
call fcn.1001130f
add esp, 0x14
push 0
lea eax, [ebp - 0x81c]
push 0
push eax
call fcn.10007e2b
add esp, 0xc
test eax, eax
je 0x100080aa
push 2
pop edi
jmp 0x10008140
push ebx
lea eax, [ebp - 0x81c]
push eax
push str._s_s.exe
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.1001130f
add esp, 0x14
lea eax, [ebp - 0x41c]
push eax
push dword [edi + 0x628]
call fcn.100188d0
pop ecx
pop ecx
test eax, eax
jns 0x100080e3
push 3
jmp 0x100080a4
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x41c]
push eax
call fcn.10016652
pop ecx
test eax, eax
je 0x100080df
lea eax, [ebp - 0x41c]
push eax
push edi
call dword [edi + 0x624]
push ebx
push dword [edi + 0x62c]
lea eax, [ebp - 0x41c]
push eax
push dword [ebp + 8]
call fcn.10007f7f
add esp, 0x18
test eax, eax
jne 0x1000813e
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 5
jmp 0x100080a4
xor edi, edi
push 1
push 0
lea eax, [ebp - 0x81c]
push eax
call dword [0x1002cc6c]
xor eax, eax
lea esi, [ebp - 8]
call fcn.100111ae
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000865e
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
and dword [esp + 4], 0
push ebx
push esi
push edi
push 0xa
pop ecx
xor eax, eax
push 0x50
lea edi, [esp + 0x1c]
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x630]
add esp, 0xc
xor esi, esi
mov dword [esp + 0x14], esi
lea edi, [esp + 0x40]
test ebx, ebx
je 0x100086fd
cmp dword [esp + esi*4 + 0x18], 0
jne 0x100086f4
mov eax, dword [ebp + 8]
push 1
push dword [ebx + 4]
call dword [eax + 0x620]
pop ecx
pop ecx
test eax, eax
je 0x100086c3
mov ebx, dword [ebx]
jmp 0x100086f8
mov eax, dword [ebp + 8]
mov dword [edi], eax
lea eax, [esp + 0x14]
push eax
xor eax, eax
push eax
push edi
push 0x10008425
push eax
push eax
mov dword [esp + esi*8 + 0x5c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100087b7
inc dword [esp + 0x10]
mov dword [esp + esi*4 + 0x18], eax
mov ebx, dword [ebx]
inc esi
add edi, 8
cmp esi, 0xa
jb 0x100086a0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x100087b3
push 0x112a880
push 0
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, esi
jb 0x10008731
cmp eax, 0x80
jb 0x10008746
lea ecx, [esi + 0x80]
cmp eax, ecx
jae 0x10008746
lea esi, [esp + 0x40]
lea edx, [esp + 0x18]
mov ecx, eax
call fcn.1000862b
dec dword [esp + 0x10]
jmp 0x100087a1
cmp eax, 0x102
jne 0x100087b7
xor edi, edi
test esi, esi
je 0x100087a1
push 1
push dword [esp + edi*4 + 0x1c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + edi*8 + 0x44]
push 4
push 0
push 0
push dword [eax + 4]
push esi
call dword [esi + 0x61c]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [esp + 0x40]
lea edx, [esp + 0x18]
mov ecx, edi
call fcn.1000862b
dec dword [esp + 0x10]
inc edi
cmp edi, dword [esp + 0x10]
jb 0x10008753
test ebx, ebx
jne 0x10008696
cmp dword [esp + 0x10], ebx
ja 0x10008696
xor eax, eax
jmp 0x100087ba
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100087c1
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor eax, eax
xor esi, esi
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x1002c9a8]
mov dword [ebp - 4], esi
cmp dword [eax], esi
jne 0x100087f9
push 0x1002c9a8
call fcn.10013047
pop ecx
test eax, eax
jns 0x100087f9
xor eax, eax
jmp 0x10008914
push 0x650
call fcn.10011198
mov edi, eax
pop ecx
mov dword [ebp - 8], edi
cmp edi, esi
je 0x100087f2
mov dword [edi + 0x618], 0x10004f81
push ebx
push dword [ebp + 8]
mov dword [edi + 0x61c], 0x10004e40
mov dword [edi + 0x620], 0x10004d39
mov dword [edi + 0x624], 0x10004c72
lea esi, [edi + 0x628]
call fcn.10013723
pop ecx
mov ebx, 0x10020ca8
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x10008866
push ebx
call fcn.10013723
pop ecx
mov dword [edi + 0x62c], eax
jmp 0x1000886d
and dword [edi + 0x62c], 0
cmp dword [esi], 0
jne 0x1000888a
xor eax, eax
call fcn.100111ae
xor eax, eax
lea esi, [ebp - 8]
call fcn.100111ae
xor eax, eax
jmp 0x10008913
lea eax, [ebp - 4]
push eax
lea ebx, [edi + 0x18]
mov esi, 0x200
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 4]
push eax
lea eax, [edi + 0x218]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test ebx, ebx
je 0x1000890a
lea eax, [ebp - 0x1c]
push eax
push 0x64
push ebx
call dword [0x1002cc64]
test eax, eax
jne 0x10008901
cmp dword [ebp - 0x14], eax
je 0x10008901
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
mov ecx, eax
add ecx, ecx
mov eax, 0x1fe
cmp ecx, eax
ja 0x100088ed
push dword [ebp - 0x14]
call esi
add eax, eax
push eax
lea eax, [edi + 0x418]
push eax
mov eax, dword [ebp - 0x14]
call fcn.10011255
pop ecx
pop ecx
jmp 0x1000890a
xor eax, eax
mov word [edi + 0x418], ax
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x1000a43d
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 6
push 1
xor edi, edi
push 2
mov dword [ebp - 4], edi
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000a460
xor eax, eax
jmp 0x1000a4d0
push esi
mov esi, 0x1300
push esi
call fcn.10011198
pop ecx
mov dword [ebp - 8], eax
cmp eax, edi
je 0x1000a4a1
push edi
push edi
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push edi
push edi
push 0x4004747f
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x1000a4a1
mov eax, dword [ebp - 4]
push 0x4c
xor edx, edx
pop ecx
div ecx
mov dword [0x1002dd14], eax
cmp eax, edi
jne 0x1000a4b6
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, esi
lea esi, [ebp - 8]
call fcn.100111ae
xor eax, eax
jmp 0x1000a4cf
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1000a4cc
mov ecx, dword [0x1002dd14]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x1000a7b9
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x15
call fcn.10011e02
pop ecx
test eax, eax
jne 0x1000a859
push esi
push edi
mov eax, 0xbd7
call fcn.10013320
push eax
push 1
xor edi, edi
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
cmp esi, edi
je 0x1000a802
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000a804
push esi
call dword [0x1002dddc]
xor esi, esi
lea eax, [ebp - 4]
call fcn.100133be
cmp esi, edi
je 0x1000a857
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1002cc90]
mov esi, eax
cmp eax, edi
jne 0x1000a829
call fcn.10006bc8
mov esi, eax
cmp esi, edi
jbe 0x1000a857
push 0xc
call fcn.10011198
pop ecx
cmp eax, edi
je 0x1000a857
mov ecx, dword [ebp + 8]
push edi
push edi
push eax
push 0x1000a740
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
push edi
push edi
mov dword [eax], esi
mov dword [eax + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
leave
ret