joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001345
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x1002bbcc]
push ebx
push esi
lea esi, [ecx + 0x2464]
mov edx, dword [esi]
push edi
xor eax, eax
xor edi, edi
mov dword [ebp - 4], ecx
mov ebx, 0x20000
cmp edx, 0x1fff6
ja 0x100013bd
mov edi, ebx
sub edi, edx
mov eax, 0x100a
cmp edi, eax
ja 0x1000137d
mov eax, edi
push 0
push eax
mov eax, dword [ecx + 0x2460]
add eax, edx
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x1000139e
or eax, 0xffffffff
jmp 0x1000141e
cmp eax, 0xffffffff
jne 0x100013bb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x100013b7
cmp eax, 0x2733
jne 0x10001396
xor eax, eax
jmp 0x1000141e
mov edi, eax
mov ecx, dword [esi]
lea edx, [ecx + edi]
cmp edx, ebx
jbe 0x100013ce
mov dword [esi], 4
jmp 0x100013d2
add ecx, eax
mov dword [esi], ecx
mov ecx, dword [esi]
mov ebx, dword [ebp - 4]
mov edi, dword [ebx + 0x2460]
cmp ecx, 0xa
jb 0x1000141b
mov eax, dword [edi + 6]
test eax, eax
je 0x10001423
cmp eax, 0x100a
ja 0x10001427
cmp ecx, eax
jb 0x1000141b
push ebx
call fcn.1000194b
pop ecx
test eax, eax
js 0x1000142c
mov eax, dword [edi + 6]
sub dword [esi], eax
mov eax, dword [ebx + 0x2460]
mov edx, dword [edi + 6]
mov ecx, dword [esi]
add edx, eax
call fcn.10011172
cmp dword [esi], 0
ja 0x100013d2
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
push 0xfffffffffffffff9
jmp 0x10001429
push 0xfffffffffffffff8
pop eax
jmp 0x1000141e
push 0xfffffffffffffffd
jmp 0x10001429

Function at 0x100023c9
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x1002ccd4], 0
je 0x10002419
mov eax, dword [0x1002bbc8]
test eax, eax
je 0x10002419
push eax
mov dword [0x1002ccd0], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x1002ccd4]
push 0x4e20
push dword [eax]
call dword [0x1002cf1c]
test eax, eax
je 0x10002419
mov eax, dword [0x1002ccd4]
push 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x1002ccd4]
and dword [eax], 0
ret
Function at 0x100027af
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0xa]
mov dword [ebp - 4], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
lea eax, [ebp - 0x7c]
push 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x80], 0x1000005
call fcn.10011150
lea eax, [ebp - 0x78]
push 2
push eax
lea eax, [ebp - 0x12]
call fcn.10011150
push 0xa
lea eax, [ebp - 0x80]
push eax
push dword [edi + 6]
push 4
call fcn.10001286
add esp, 0x20
mov byte [edi + 0x20], 2
xor eax, eax
leave
ret

Function at 0x10002cca
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
lea esi, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffe1
call fcn.10011370
lea esi, [ebp - 0x10]
call fcn.10011370
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, esi
push 1
mov dword [ebp - 0x1c], eax
push 0x10
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.10007370
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10002d1e
push 0xffffffffffffffe0
pop eax
jmp 0x10002d96
push 0x3e8
push dword [edi]
call dword [0x1002cf1c]
test eax, eax
je 0x10002d59
cmp eax, 0xffffffff
je 0x10002d72
lea esi, [ebp - 0x18]
call fcn.10011370
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, 0xf0
adc eax, 0
cmp dword [ebp - 0x14], eax
jg 0x10002d79
jl 0x10002d1e
cmp dword [ebp - 0x18], ecx
jae 0x10002d79
jmp 0x10002d1e
lea eax, [ebp - 4]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x10002d79
mov dword [ebp - 4], 0xffffffdf
jmp 0x10002d79
mov dword [ebp - 4], 0xffffffde
cmp dword [ebp - 4], 0xffffffe1
jne 0x10002d89
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 1
mov eax, edi
call fcn.100072cb
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
leave
ret
Function at 0x10002f80
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
xor ebx, ebx
jmp 0x10002fde
lea esi, [esp + 0x10]
call fcn.10011370
mov ecx, dword [0x1002bc00]
mov eax, dword [0x1002bc04]
add ecx, 0x3840
adc eax, ebx
cmp eax, dword [esp + 0x14]
jg 0x100030c7
jl 0x10002fc2
cmp ecx, dword [esp + 0x10]
jae 0x100030c7
push ebx
push dword [0x1002bbf4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x10002ff0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [0x1002bbdc]
call fcn.100133d0
pop ecx
pop ecx
test eax, eax
js 0x10002f90
mov esi, 0x1002bc00
call fcn.10011370
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push ebx
push ebx
push 0x1002bbf4
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor eax, eax
lea edi, [esp + 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x1002bc08]
push 0x31
mov dword [esp + 0x1c], eax
call fcn.10011cff
pop ecx
test eax, eax
jne 0x10003044
call fcn.10013e29
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push 0x10002a44
push eax
call fcn.10002d9a
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jl 0x1000308f
push dword [0x1002bc90]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x27
call fcn.10011ce8
push 0x1002cfe4
push ebx
call fcn.10011efc
add esp, 0x10
cmp dword [0x1002cd0c], ebx
je 0x1000308f
mov dword [0x1002cd00], 1
cmp dword [esp + 0x1c], ebx
je 0x100030a0
lea eax, [esp + 0x1c]
push eax
call fcn.10013efb
pop ecx
push dword [0x1002bbf4]
call dword [0x1002cddc]
push dword [0x1002bbdc]
mov dword [0x1002bbf4], ebx
call fcn.100133f4
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x100030c0
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.10011370
mov ecx, dword [0x1002bbe8]
mov eax, dword [0x1002bbec]
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 [0x1002bbf0]
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 [0x1002bbd8]
call fcn.100133d0
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 [0x1002bc08]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.10013d3a
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 0x1002bbf0
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, 0x1002bbe8
call fcn.10011370
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 [0x1002bc90]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x27
call fcn.10011ce8
push 0x1002cfe4
push ebx
call fcn.10011efc
add esp, 0x10
push dword [0x1002bbf0]
call dword [0x1002cddc]
push dword [0x1002bbd8]
mov dword [0x1002bbf0], ebx
call fcn.100133f4
pop ecx
xor eax, eax
lea esi, [ebp - 0x14]
call fcn.100110a9
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.10011cff
pop ecx
test eax, eax
je 0x100040e8
xor eax, eax
jmp 0x10004193
push edi
mov edi, 0x936
call fcn.10013190
mov edi, 0x35a5
mov dword [ebp - 8], eax
call fcn.10013190
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 [0x1002ce58]
lea eax, [ebp - 8]
call fcn.100132d0
lea eax, [ebp - 0xc]
call fcn.100132d0
push 0x10020be8
push 0x32
call fcn.10011ce8
push 0x1002cfe4
push esi
call fcn.10011efc
add esp, 0x10
mov edi, 0x21f3
call fcn.10013190
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x1000418f
call fcn.1001606c
lea eax, [ebp - 0xc]
call fcn.100132d0
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 0x1002cfe4
push str..pipe_ssp
lea eax, [ebp - 0x10c]
push 0x100
push eax
call fcn.100111ca
mov edi, 0x80000
push edi
call fcn.10011093
xor ebx, ebx
add esp, 0x14
mov dword [0x1002bc1c], eax
cmp eax, ebx
jne 0x1000517f
push 0xfffffffffffffff5
pop eax
jmp 0x100051ec
push esi
lea esi, [ebp - 0xc]
call fcn.100176fa
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 [0x1002ee20], eax
cmp eax, 0xffffffff
jne 0x100051cd
mov dword [0x1002ee20], ebx
push 0xfffffffffffffffe
jmp 0x1000517c
call fcn.1001751c
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 [0x1002ee1c]
push dword [ecx + eax]
push str.p_08x
push 0x20
lea eax, [ebp - 0x20]
push eax
call fcn.100111ca
add esp, 0x10
xor eax, eax
je 0x10005ad0
jmp 0x10005aca
lea eax, [ebp - 0x20]
push eax
call fcn.100177ff
pop ecx
test eax, eax
je 0x10005b6e
push 0x2710
mov eax, dword [ebp + 8]
shl eax, 4
mov ecx, dword [0x1002ee1c]
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 [0x1002ee1c]
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 [0x1002ee1c]
push dword [ecx + eax + 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp + 8]
shl eax, 4
mov ecx, dword [0x1002ee1c]
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 [0x1002cab4], eax
call fcn.1001310d
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.10017b68
pop ecx
pop ecx
test eax, eax
je 0x10006af3
call fcn.100119e7
call fcn.10014883
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 [0x1002cf24], 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.100111ca
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 [0x1002cea8]
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 0x10020de0
call fcn.1001379e
lea eax, [ebp - 0x11c]
push str.Publisher
push eax
call fcn.10016742
mov dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push str.DisplayName
push eax
call fcn.10016742
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.10011298
test eax, eax
je 0x10007162
push str.Update
push ebx
call fcn.10013555
pop ecx
pop ecx
test eax, eax
jne 0x10007149
push str.Hotfix
push ebx
call fcn.10013555
pop ecx
pop ecx
test eax, eax
je 0x10007162
xor eax, eax
lea esi, [ebp - 4]
call fcn.100110a9
xor eax, eax
lea esi, [ebp - 0x10]
call fcn.100110a9
jmp 0x100071e6
lea eax, [ebp - 0x11c]
push str.DisplayVersion
push eax
call fcn.10016742
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
cmp ebx, edi
je 0x100071b9
cmp eax, edi
jne 0x10007185
mov eax, 0x10020bc1
push eax
push ebx
push 0x10020edc
lea eax, [ebp - 0x51c]
push 0x200
push eax
call fcn.100111ca
lea eax, [ebp - 0x51c]
push eax
push dword [ebp + 8]
call fcn.100149ee
add esp, 0x1c
xor eax, eax
lea esi, [ebp - 0x10]
call fcn.100110a9
cmp dword [ebp - 0x14], edi
je 0x100071c8
xor eax, eax
lea esi, [ebp - 0x14]
call fcn.100110a9
cmp dword [ebp - 4], edi
je 0x100071d7
xor eax, eax
lea esi, [ebp - 4]
call fcn.100110a9
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 [0x1002cd08]
xor ebx, ebx
call fcn.100133d0
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 [0x1002bc48]
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 [0x1002bc48]
push ebx
add eax, edi
call fcn.100072cb
pop ecx
mov eax, dword [0x1002bc48]
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.10011093
pop ecx
mov ecx, dword [0x1002bc48]
mov dword [edi + ecx + 0xc], eax
mov eax, dword [0x1002bc48]
mov eax, dword [edi + eax + 0xc]
cmp eax, ebx
je 0x100074e1
push esi
push eax
mov eax, dword [ebp + 0xc]
call fcn.10011150
mov eax, dword [0x1002bc48]
pop ecx
pop ecx
mov dword [edi + eax + 0x10], esi
jmp 0x10007431
mov dword [edi + eax + 0xc], ebx
mov eax, dword [0x1002bc48]
mov dword [edi + eax + 0x10], ebx
mov eax, dword [0x1002bc48]
mov ecx, dword [ebp + 8]
mov dword [edi + eax + 8], ecx
mov eax, dword [0x1002bc48]
mov ecx, dword [ebp + 0x14]
push 1
push ebx
mov dword [edi + eax + 0x14], ecx
call fcn.1001338f
pop ecx
pop ecx
mov ecx, dword [0x1002bc48]
mov dword [edi + ecx + 0x1c], eax
mov eax, dword [0x1002bc48]
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 [0x1002bc48]
mov dword [edi + ecx], eax
mov eax, dword [0x1002bc48]
mov ecx, dword [eax + edi]
cmp ecx, ebx
jne 0x100074bb
push dword [eax + edi + 0x1c]
call dword [0x1002cddc]
mov eax, dword [0x1002bc48]
lea esi, [eax + edi + 0xc]
cmp dword [esi], ebx
je 0x100074ac
mov eax, dword [eax + edi + 0x10]
call fcn.100110a9
add edi, dword [0x1002bc48]
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 [0x1002bc48]
push dword [edi + eax + 0x1c]
inc dword [0x1002bc44]
call fcn.100133f4
mov eax, dword [0x1002bc48]
pop ecx
lea ebx, [edi + eax]
pop esi
push dword [0x1002cd08]
call fcn.100133f4
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 [0x1002bc48]
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 [0x1002bc48]
push 0
push dword [esi + eax]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x1002bc48]
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.100165f8
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, 0x1002cfe4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
xor eax, eax
call fcn.10016df1
mov ecx, eax
add ecx, dword [ebp + 8]
lea eax, [ebp - 0xa64]
call fcn.100125e7
push eax
push 0xa
push 0xc
pop eax
lea ebx, [ebp - 0xa0]
call fcn.100134a0
push 0x2e
pop ecx
push esi
push 0x10020eec
mov ebx, 0x1002d560
push ebx
mov word [ebp + eax*2 - 0xa8], cx
call fcn.10013746
push esi
lea ecx, [ebp - 0xa0]
push ecx
mov esi, 0x10020c38
push esi
push eax
mov dword [ebp - 0x1c], eax
call fcn.10013746
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.10018764
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.100142f5
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.10014547
pop ecx
pop ecx
test eax, eax
jns 0x100078b1
mov dword [ebp - 4], 0xfffffffb
jmp 0x10007906
lea edi, [ebp + 8]
call fcn.100145f9
push 0
lea eax, [ebp - 0xa0]
push eax
push esi
push ebx
call fcn.10013746
push dword [ebp - 0x10]
mov edi, eax
mov dword [ebp - 0x20], eax
call fcn.100162b4
add esp, 0x14
test eax, eax
jns 0x100078e4
mov dword [ebp - 4], 0xfffffff9
push 0xfffffffffffffffe
pop eax
lea esi, [ebp - 0x20]
call fcn.100110a9
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.100145f9
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x14]
call fcn.100110a9
mov eax, dword [ebp - 0x18]
pop edi
pop ebx
test eax, eax
jg 0x1000792a
xor eax, eax
lea esi, [ebp - 0xc]
call fcn.100110a9
push 0xfffffffffffffffe
pop eax
lea esi, [ebp - 0x1c]
call fcn.100110a9
push 0xfffffffffffffffe
pop eax
lea esi, [ebp - 0x10]
call fcn.100110a9
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.10011cff
pop ecx
test eax, eax
je 0x10007a8c
push 0
call fcn.100148ef
push eax
push 0x10020ef4
push 0x1002d560
call fcn.10013746
mov edi, eax
add esp, 0x10
mov dword [esp + 0xc], edi
test edi, edi
je 0x10007a8c
push 0x1388
push 0x1002ebc8
call fcn.1001338f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10007a80
push edi
call fcn.10016413
pop ecx
test eax, eax
jne 0x100079f5
push 0x93a80
push 0x2b
call fcn.10012246
pop ecx
pop ecx
test eax, eax
jne 0x100079ec
call fcn.10007200
push 0x2b
call fcn.100122e7
mov dword [esp], 0x1002cfe4
push 0
call fcn.10011efc
pop ecx
pop ecx
push edi
call fcn.100151bb
pop ecx
mov ebx, eax
push esi
call fcn.100133f4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jle 0x10007a80
lea esi, [esp + 0x10]
call fcn.10011370
push 0x33
call fcn.10011cff
pop ecx
test eax, eax
jne 0x10007a62
push 0x12
call fcn.10011cff
pop ecx
test eax, eax
jne 0x10007a31
call fcn.10013e01
test eax, eax
je 0x10007a62
xor esi, esi
call fcn.10011370
push eax
push edi
push str._s._u
lea eax, [esp + 0x24]
push 0x104
push eax
call fcn.1001120a
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.1001634c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10007998
push 0xfffffffffffffffe
pop eax
lea esi, [esp + 0xc]
call fcn.100110a9
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 0x1002d99c
push 6
mov edi, eax
push 0xa
pop eax
lea ebx, [ebp - 0x18]
call fcn.10013448
mov eax, ebx
push eax
call fcn.1001368d
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 0x10020f40
push esi
push eax
call fcn.1001120a
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.1001120a
add esp, 0x14
lea eax, [ebp - 0x41c]
push eax
push dword [edi + 0x628]
call fcn.10018691
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.10016413
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 [0x1002bc6c]
xor eax, eax
lea esi, [ebp - 8]
call fcn.100110a9
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret