joyce8/EMBER2024-capa huggingface dataset:
Function at 0x558688
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.0054aaa6
mov edi, dword [ebp + 0x10]
pop ecx
push 1
pop esi
sub eax, edi
je 0x55874e
dec eax
push edi
push ebx
mov dword [ebp - 4], eax
call fcn.0054b85c
pop ecx
pop ecx
cmp eax, 3
jne 0x558721
push edi
push ebx
call fcn.0054ab61
pop ecx
pop ecx
push 0
push edi
push ebx
test eax, eax
je 0x5586e3
call fcn.0054b6b3
push edx
push eax
push str._lld
push dword [ebp + 0xc]
call fcn.0051e85c
add esp, 0x1c
jmp 0x5586fe
call fcn.0054b77c
fstp qword [esp + 4]
mov dword [esp], str._.14g
push dword [ebp + 0xc]
call fcn.0051e85c
add esp, 0x10
test esi, esi
je 0x558706
test eax, eax
jg 0x558749
xor esi, esi
mov eax, dword [ebp - 4]
inc edi
test eax, eax
jne 0x5586a7
test esi, esi
jne 0x55874e
push esi
push esi
push ebx
call fcn.0054c106
add esp, 0xc
jmp 0x558751
lea eax, [ebp + 0x10]
push eax
push edi
push ebx
call fcn.0054be65
add esp, 0xc
test esi, esi
je 0x558706
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 1
push eax
call fcn.0050b0c5
add esp, 0x10
cmp eax, dword [ebp + 0x10]
jne 0x558706
xor esi, esi
inc esi
jmp 0x558708
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x558aa1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.004fcf30
mov eax, dword [0x5bf23c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1014]
push esi
mov esi, dword [ebp + 0xc]
push edi
push ecx
push eax
call fcn.0054bd59
pop ecx
pop ecx
mov edi, 0x1000
lea eax, [ebp - 0x1014]
push edi
push eax
call fcn.0054c68f
push esi
push edi
push 1
push eax
call fcn.0050b830
add dword [ebp - 0x100c], eax
add esp, 0x18
cmp eax, edi
je 0x558ad4
lea eax, [ebp - 0x1014]
push eax
call fcn.0054c70e
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004fc837
mov esp, ebp
pop ebp
ret
Function at 0x5628a1
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x5bf23c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x5bfcc4], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x5bfcb4
jne 0x56292b
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00502d60
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x444]
call fcn.004077b0
push eax
mov ecx, edi
call fcn.00418e10
push 0
push 1
lea ecx, [ebp - 0x444]
call fcn.00407ca0
push ebx
lea ecx, [ebp - 0x42c]
call fcn.00407830
cmp dword [0x5bfcc8], 8
lea ecx, [ebp - 0x444]
cmovae edi, dword [0x5bfcb4]
push edi
call fcn.004077b0
push str._install_path_
lea ecx, [ebp - 0x45c]
call fcn.004077b0
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.005627ec
add esp, 0xc
lea ecx, [ebp - 0x45c]
xor ebx, ebx
push ebx
push 1
call fcn.00407ca0
push ebx
push 1
lea ecx, [ebp - 0x444]
call fcn.00407ca0
push 0x208
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00502d60
add esp, 0xc
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
call fcn.004077b0
cmp dword [esi + 0x14], 8
mov byte [ebp - 0x45d], 0x5c
mov byte [ebp - 0x45e], 0x2f
jb 0x5629fe
mov ecx, dword [esi]
jmp 0x562a00
mov ecx, esi
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
jb 0x562a10
mov ecx, dword [esi]
jmp 0x562a12
mov ecx, esi
lea edx, [ebp - 0x45d]
push edx
lea edx, [ebp - 0x45e]
push edx
push eax
push ecx
call fcn.004efcf4
add esp, 0x10
lea ecx, [ebp - 0x42c]
push ebx
push 1
call fcn.00407ca0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fc837
mov esp, ebp
pop ebp
ret
Function at 0x562a4b
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5bf23c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x230]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x22c
push 0
push eax
call fcn.00502d60
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x562aea
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x562adf
cmp dword [edi + 0x14], 8
jb 0x562ab0
mov eax, dword [edi]
jmp 0x562ab2
mov eax, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x562ad2
lea eax, [ebp - 0x228]
mov ecx, ebx
push eax
call fcn.005633f6
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x562aa6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fc837
mov esp, ebp
pop ebp
ret

Function at 0x562afb
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x5bf23c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x260]
push 0x22c
xor ebx, ebx
push ebx
push eax
call fcn.00502d60
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x562b3e
xor al, al
jmp 0x562bad
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x562ba0
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004077b0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00415fe0
pop ecx
pop ecx
push eax
mov ecx, edi
call fcn.004234a0
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.004080b0
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00407ca0
lea eax, [ebp - 0x260]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x562b57
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fc837
mov esp, ebp
pop ebp
ret
Function at 0x563c3a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
push edi
push ecx
push str.kernel32.dll
mov dword [ebx], ecx
mov dword [eax], ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x563caf
push esi
push edi
call fcn.004fcac3
pop ecx
mov esi, eax
xor eax, eax
push esi
push edi
push eax
push str.kernel32.dll
mov dword [ebp + 8], eax
mov dword [ebp - 4], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x563ca7
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x5a1858
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x563ca7
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [ebx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push esi
call fcn.004fcabe
pop ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x563cb5
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x24], 9
je 0x563cd7
cmp word [ebp - 0x24], 6
je 0x563cd7
xor al, al
jmp 0x563cd9
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x10009cc6
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], 0xfd814383
xor esi, esi
mov dword [ebp - 8], ebx
push edi
inc esi
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov dword [ebp - 0xc], 0xfc0336ae
push esi
lea ecx, [ebp - 0x24]
call fcn.1000ecc1
mov dword [ebp - 0x18], 0xfffffff9
mov dword [ebp - 8], ebx
jmp 0x10009d0d
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x34], 0x8b10
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x10009cff
mov dword [ebp - 8], ebx
jmp 0x10009d28
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
mov dword [eax + ecx*4], 0x16709e14
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x10009d18
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x28], ebx
je 0x10009d3a
cmp dword [ebp - 0x30], ebx
jne 0x10009d3c
mov esi, ebx
mov dword [ebp - 8], esi
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x30]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
sete cl
xor edx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
setg dl
sub edx, dword [ebp - 0x30]
jne 0x10009d70
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp - 0x30], ebx
jge 0x10009d86
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [ebp - 0xc]
imul eax, ecx
test eax, eax
je 0x10009dad
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10009dba
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x10009dba
mov dword [ebp - 0x14], 0x38140a97
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x24]
call fcn.1004fc57
pop ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
cmp byte [edi], bl
je 0x10009dd8
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
mov dword [ebp - 0x18], 0xfffffffe
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10009dee
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
pop edi
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
pop esi
pop ebx
je 0x10009e07
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_DrawMenuBar]
mov esp, ebp
pop ebp
ret
Function at 0x10016668
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10067958
call fcn.10066e98
sub esp, 0x10
push ebx
push esi
mov dword [ebp - 0x1c], 0x659b
cmp dword [ebp - 0x1c], 0x6734
push edi
mov dword [ebp - 0x10], esp
jle 0x100166e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
xor esi, esi
mov dword [ebp - 0x18], esi
mov ebx, esi
mov dword [ebp - 0x14], 0x799b
xor edi, edi
xor esi, esi
lea eax, [esi + edi]
mov ecx, 0x1065a9f8
xor eax, ebx
cdq
push edx
push eax
call fcn.1000ea85
inc esi
cmp esi, 0x6eca
jl 0x100166a7
inc edi
cmp edi, 0x7e1d
jl 0x100166a5
dec ebx
dec dword [ebp - 0x14]
jne 0x100166a3
mov esi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0xebf
jl 0x1001669a
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x63a7
jge 0x100166fc
mov edx, 0x10007b48
mov ecx, 0x1065a9f8
call fcn.10013431
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001770d
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10017731
push 0x2b94
push 0
push 0x690f
call fcn.10019f29
add esp, 0xc
jmp 0x100177a4
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1001779a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001777b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x10017798
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1000ed9f
mov dword [eax], 8
jmp 0x10017770
jmp 0x100177a4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov esp, ebp
pop ebp
ret
Function at 0x10017956
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100179a5
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
push 0x6999
push dword [ebp - 8]
push 0x317d
push 0x695
push 0x1c95
push 0x1d0e
push 0x54be
push dword [ebp - 0xc]
push 1
push 0x70a2
call fcn.10017a02
add esp, 0x28
jmp 0x100179fe
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100179c9
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x100179fe
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x100179f2
mov dword [ebp - 4], 1
jmp 0x100179f6
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10017b0c
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10017b5d
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10017b36
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x10017b5b
push 0x653
push 0
push 0x1a0
push 0x1d37
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtFloodFill]
jmp 0x10017b79
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
call fcn.10017447
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x10017e5f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10017e7b
push 0
push 0x2bac
call fcn.100203ba
pop ecx
pop ecx
jmp 0x10017eab
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10017e9a
push 0x1bad
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x10017eab
push 0
push 0x1a10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov esp, ebp
pop ebp
ret
Function at 0x10017ed2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10017f79
lea eax, [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10017f6d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x34]
imul ecx, dword [ecx], 0xe70
cmp dword [eax], ecx
jge 0x10017f5f
mov dword [ebp - 8], 1
jmp 0x10017f63
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
jmp 0x10017f77
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x10017f96
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push 0
push 0x7ec3
push 0x79f1
call fcn.10017911
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x100184d9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10018500
push 0x1531
push 0x239
push 0
call fcn.10026c31
add esp, 0xc
jmp 0x100185d4
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10018575
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10018550
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jg 0x10018573
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10018571
push 0x1fd4
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x10018545
jmp 0x100185d4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x44]
imul ecx, dword [ecx], 0xe70
cmp dword [eax], ecx
jge 0x100185c8
mov dword [ebp - 0x10], 1
jmp 0x100185cc
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001a6a4
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001a71f
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1001a701
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x1001a71d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1001a71d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x1001a744
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x2c]
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.1001e7bf
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x1001e80e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1001e888
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x1001e876
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001e874
push 0x1721
push 0x23b7
push 0x1728
push 0x33e
push 0x26dd
push 0x207c
push 0x1c05
push 0x2161
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_Arc]
jmp 0x1001e883
push 0x1fd4
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1001e95b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1001e8b9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
jmp 0x1001e95b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jne 0x1001e8ee
mov dword [ebp - 0xc], 1
jmp 0x1001e8f2
and dword [ebp - 0xc], 0
push 0
mov ecx, dword [ebp - 0x3c]
call fcn.1000ed9f
mov eax, dword [ebp - 8]
cmp dword [eax], 0x6ba4
je 0x1001e910
mov dword [ebp - 0x10], 1
jmp 0x1001e914
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
imul eax, ecx
test eax, eax
jne 0x1001e935
mov eax, 0x265e3edf
test eax, eax
jne 0x1001e935
and dword [ebp - 0x14], 0
jmp 0x1001e93c
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jge 0x1001e94f
mov dword [ebp - 0x18], 1
jmp 0x1001e953
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret