joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403bf0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push str.Program_FilesInternet_Exploreriexplore.exe
push ecx
mov byte [esp + 0xa], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x108]
lea edx, [esp]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
add esp, 0x104
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x404ac0
Capabilities:
Get common file path
Get disk information
Get hostname
Get memory capacity
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1d60
call fcn.0040fc60
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [str._vTz5]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x44c3cc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0x9e3779b9
mov dword [ebp - 0x1c], edx
call fcn.00404ab0
mov ecx, dword [0x44c3d0]
mov edx, dword [0x44c3d4]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], 0x20
jmp 0x404b30
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov esi, dword [ebp - 0xc]
mov eax, dword [0x45a8c4]
shl esi, 4
add esi, dword [ebp - 0x24]
cmp eax, 0xfa9
jne 0x404b5c
mov dword [0x45a8c0], 0xedeb2e40
jmp 0x404b77
cmp eax, 0x3eb
jne 0x404b77
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x45a350], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x20]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x45a8c4], 0x9e6
mov dword [0x45a8bc], 0xf4ea3dee
jne 0x404bb2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x45a8c4], 0x213
jne 0x404c53
push 0
lea eax, [ebp - 0x1560]
push eax
push 0
push 0x4047c8
push 0
push 0
call ebx
lea ecx, [ebp - 0x960]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x1160]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
push 0
lea ecx, [ebp - 0x1d60]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
lea edx, [ebp - 0x30]
push edx
push 0
lea eax, [ebp - 0x4c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
lea ecx, [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub edi, dword [ebp - 4]
cmp dword [0x45a8c4], 0xc
jne 0x404c71
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 8]
mov edx, edi
shr edx, 5
lea ecx, [eax + edi]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
xor eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
sub dword [ebp - 8], eax
sub dword [ebp - 0x14], 1
jne 0x404b30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404cc0
Capabilities:
Create pipe
Create process on windows
Get thread local storage value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1408
call fcn.0040fc60
mov eax, dword [0x45a8c4]
mov ecx, dword [0x45a354]
shr eax, 3
test eax, eax
jbe 0x404ddc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov edi, edi
cmp dword [0x45a8c4], 0x959
jne 0x404dc2
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
lea ecx, [ebp - 0x1408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0xc08]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00404ac0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x404d00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408e2c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b540]
jne 0x408e36
repz ret
jmp fcn.0040d0eb

Function at 0x40c123
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040a4cd
and dword [ebp - 4], 0
cmp dword [0x4515a0], 0
mov ebx, eax
jne 0x40c1d4
push 0x4024fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c285
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4024f0
push edi
call esi
test eax, eax
je 0x40c285
push eax
call fcn.0040a45b
mov dword [esp], 0x4024e0
push edi
mov dword [0x4515a0], eax
call esi
push eax
call fcn.0040a45b
mov dword [esp], 0x4024cc
push edi
mov dword [0x4515a4], eax
call esi
push eax
call fcn.0040a45b
mov dword [esp], 0x4024b0
push edi
mov dword [0x4515a8], eax
call esi
push eax
call fcn.0040a45b
pop ecx
mov dword [0x4515b0], eax
test eax, eax
je 0x40c1d4
push 0x402498
push edi
call esi
push eax
call fcn.0040a45b
pop ecx
mov dword [0x4515ac], eax
mov eax, dword [0x4515ac]
cmp eax, ebx
je 0x40c22c
cmp dword [0x4515b0], ebx
je 0x40c22c
push eax
call fcn.0040a4d6
push dword [0x4515b0]
mov esi, eax
call fcn.0040a4d6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c22c
test edi, edi
je 0x40c22c
call esi
test eax, eax
je 0x40c223
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c223
test byte [ebp - 0xc], 1
jne 0x40c22c
or dword [ebp + 0x10], 0x200000
jmp 0x40c265
mov eax, dword [0x4515a4]
cmp eax, ebx
je 0x40c265
push eax
call fcn.0040a4d6
pop ecx
test eax, eax
je 0x40c265
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c265
mov eax, dword [0x4515a8]
cmp eax, ebx
je 0x40c265
push eax
call fcn.0040a4d6
pop ecx
test eax, eax
je 0x40c265
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4515a0]
call fcn.0040a4d6
pop ecx
test eax, eax
je 0x40c285
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c287
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x10016010
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1002e1e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, 4
call fcn.10029770
mov ebx, esp
lea eax, [ebp - 0x28]
push 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100160ed
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
lea edi, [eax - 1]
not edi
and edi, ebx
sub edi, eax
lea eax, [esi + 0x2000]
cmp edi, eax
jb 0x100160ed
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100160ed
add esi, dword [ebp - 0x1c]
test dword [ebp - 0x18], 0x1000
je 0x10016070
test dword [ebp - 0x14], 0x100
mov esi, dword [ebp - 0x28]
je 0x100160b2
mov eax, 1
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100290a0
mov esp, ebp
pop ebp
ret
cmp edi, esi
jb 0x100160ed
mov edi, dword [ebp - 8]
push 4
push 0x1000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea eax, [ebp - 0xc]
push eax
push 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100290a0
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100290a0
mov esp, ebp
pop ebp
ret

Function at 0x1001d380
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
push 0
push 2
mov dword [esi + 0x14], 0
mov byte [edi], 0
push dword [esi + 8]
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov edx, eax
test edx, edx
jne 0x1001d3ca
cmp dword [ebp - 4], 1
jbe 0x1001d3ca
xor ecx, ecx
cmp byte [edi], 0x3a
setne cl
mov dword [esi + 0x14], ecx
xor eax, eax
test edx, edx
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10022e20
Capabilities:
Check http status code

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ac50
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002e1e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
push edx
xor edi, edi
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], edi
nop
push eax
push dword [ebp - 0x24]
push 0
push 0
push esi
mov esi, dword [0x1002e664]
mov ecx, esi
call dword [0x1002f300]
call esi
test eax, eax
jne 0x10022ed5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10022eb4
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x10022ed5
test byte [0x1002e63c], 2
je 0x1002302f
cmp dword [0x100315b0], 0
jne 0x10023010
jmp 0x1002302f
mov esi, dword [0x1002e668]
lea eax, [ebp - 0x28]
push 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 4
push eax
push 0x20000013
push dword [ebp - 0x18]
mov ecx, esi
call dword [0x1002f300]
call esi
test eax, eax
je 0x10022fb9
mov eax, dword [ebp - 0x2c]
cmp eax, 0x194
ja 0x10022f69
je 0x10022f62
cmp eax, 0xc8
je 0x10022f5e
cmp eax, 0x191
jne 0x10022f86
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [0x1002e660]
mov ecx, esi
push 0
push 7
push 0
push dword [ebp - 0x18]
push eax
call dword [0x1002f300]
call esi
cmp eax, 0x2f00
jne 0x10022f57
mov esi, dword [ebp - 0x18]
inc ebx
mov eax, dword [ebp - 0x20]
cmp ebx, 3
jl 0x10022e80
mov edi, 0x800a2010
jmp 0x10022f8b
xor edi, edi
jmp 0x10022fb9
mov edi, 0x800a2011
jmp 0x10022f8b
cmp eax, 0x1f4
jne 0x10022f86
cmp dword [ebp + 8], 0
je 0x10022f86
mov ecx, dword [ebp - 0x18]
call fcn.10022ae0
mov edi, eax
test edi, edi
js 0x10022f8b
jmp 0x10022fb9
mov edi, 0x800a20ff
test byte [0x1002e63c], 2
je 0x10023055
cmp dword [0x100315ac], 0
jne 0x10023036
jmp 0x10023055
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test edi, edi
jns 0x10022ff2
test byte [0x1002e63c], 2
je 0x10023055
cmp dword [0x100315a8], 0
je 0x10023055
mov eax, dword [0x100315a8]
push 0x1e3
push edi
push eax
push 0x78c00
jmp 0x10023047
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100290a0
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x100315b0]
push 0x1a8
push esi
push eax
mov eax, dword [0x10031100]
push 0x6a000
push eax
call fcn.1001cc20
add esp, 0x14
mov ecx, esi
call fcn.10026e70
mov eax, dword [0x100315ac]
push 0x1d9
push edi
push eax
push 0x76400
mov eax, dword [0x10031100]
push eax
call fcn.1001cc20
add esp, 0x14
mov ecx, edi
call fcn.10026e70
int3
Function at 0x10026d36
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x1002e688]
push esi
push edi
test eax, eax
jne 0x10026d4f
call fcn.10026de4
test eax, eax
je 0x10026d9b
mov eax, dword [0x1002e688]
cmp eax, 1
jne 0x10026d6b
push 0xd
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10026d9b
jmp 0x10026de1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov ecx, eax
test ecx, ecx
je 0x10026d84
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, ecx
jmp 0x10026de1
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10026d9f
xor eax, eax
jmp 0x10026de1
mov eax, dword [esi]
push dword [0x1002e688]
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x10026dc5
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x10026de1
lea edi, [esi + 0xff0]
push esi
push dword [0x1002e688]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10026dcb
mov eax, esi
pop edi
pop esi
ret

Function at 0x100294b0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x100294ee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100294e6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100294f0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100294d6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100295c0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x100295d6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x100295f1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x1001907f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100190af
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100190ad
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x100190d8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100190d8
push 0
push 0
push 0x1be7
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esp, ebp
pop ebp
ret
Function at 0x10034e5d
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10034ea9
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov eax, dword [eax]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x10034ec9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10034ec9
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esp, ebp
pop ebp
ret

Function at 0x10035e03
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10035e80
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 1
push 0x6dde
push 0x2c27
push 0x6f26
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
push dword [eax]
push 0x5789
mov eax, dword [ebp - 0x28]
push dword [eax]
call fcn.10035069
add esp, 0x28
jmp 0x10035e8d
push 0x733
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esp, ebp
pop ebp
ret
Function at 0x10035f2a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 1
lea eax, [ebp + 8]
push eax
push 0x190a
lea eax, [ebp - 0x10]
push eax
call fcn.10035d20
add esp, 0x10
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10035f5f
xor eax, eax
jmp 0x10036092
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0x3020
call fcn.10035da2
add esp, 0x14
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10035f8c
xor eax, eax
jmp 0x10036092
push dword [ebp - 8]
push 0x44ef
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.10033194
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x10035faf
xor eax, eax
jmp 0x10036092
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
push 1
call fcn.10035e03
add esp, 0x18
push 0x3772
push 0x5c08
push dword [ebp - 4]
push dword [ebp - 8]
push 0x27f3
push dword [ebp + 8]
push 0
call fcn.10036096
add esp, 0x1c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
push 1
lea eax, [ebp - 4]
push eax
push 0x4e69
lea eax, [ebp - 0x1c]
push eax
call fcn.10035e91
add esp, 0x10
push dword [ebp - 4]
call fcn.1003308b
pop ecx
test eax, eax
jne 0x10036023
xor eax, eax
jmp 0x10036092
push 0
push 0x7c68
push dword [ebp - 4]
call fcn.100337f0
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1003607a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x10036054
xor eax, eax
jmp 0x10036092
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1003606d
xor eax, eax
jmp 0x10036092
push 1
lea eax, [ebp - 4]
push eax
call fcn.10035eeb
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1003608b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x1003608f
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret