joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100111d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1003fbca
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1009ca94]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10057ea8]
cmp eax, dword [ecx + 4]
jg 0x1001121d
mov ecx, dword [ebp - 0xc]
mov eax, 0x10052520
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x10057ea8
call fcn.1001894f
add esp, 4
cmp dword [0x10057ea8], 0xffffffff
jne 0x1001120a
mov dword [ebp - 4], 0
push 0x1000c2a0
push 0x1000c080
push 0x26
push 0x38
mov dword [0x10052520], 0x10041a10
push 0x10052928
mov dword [0x10052520], 0x10041b10
mov dword [ebp - 0x10], 0x10052528
call fcn.10018a7c
mov byte [ebp - 4], 1
mov dword [0x10053178], 0x10097f10
mov byte [ebp - 4], 2
push 0x1000c2a0
push 0x1000c080
push 0x3a
push 0x38
push 0x10057180
mov dword [ebp - 0x14], 0x10053180
call fcn.10018a7c
mov byte [ebp - 4], 3
mov dword [0x10057e30], 0x10057f00
mov byte [ebp - 4], 4
mov ecx, 0x10057e58
mov dword [0x10057e38], 4
mov dword [0x10057e3c], 0
mov dword [0x10057e40], 0
mov dword [0x10057e48], 0x100052a0
mov dword [0x10057e4c], 0
mov dword [0x10057e50], 0
mov dword [ebp - 0x18], 0x10057e50
mov dword [0x10057e54], 0
call fcn.10012590
mov byte [ebp - 4], 6
mov byte [0x10057e70], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x10011364
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10012d10
lea eax, [ebp - 0x218]
push eax
call fcn.10027850
lea eax, [ebp - 0x218]
push str._RESERVELOWMEM
push eax
call fcn.10019f10
add esp, 0x18
push 1
push 0x2000
push 1
push 0xffeeffee
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x10011364
push 8
push 8
mov dword [0x10057e74], 0
mov dword [0x10057e78], 0
mov dword [0x10057e7c], 0
mov dword [0x10057e80], 0
mov dword [0x10057e84], 0
mov dword [0x10057e88], 0
mov dword [0x10057e8c], 0
mov dword [0x10057e90], 0
mov dword [0x10057e94], 0
mov dword [0x10057e9c], 0
mov dword [0x10057ea0], 0
call fcn.10027539
add esp, 8
mov dword [0x10057e44], eax
test al, 7
je 0x10011405
push str.__size_t__m_nLogicalBytesAllocated____8___0
push 0x7e3
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0memstd.cpp
call fcn.10009c70
add esp, 0xc
test al, al
jne 0x10011405
int3
mov eax, dword [0x10057e44]
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0
push 0x100402b0
call fcn.10018278
mov dword [ebp - 4], 0xffffffff
push 0x10057ea8
call fcn.100188fe
add esp, 8
jmp 0x1001120a
Function at 0x10011820
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.1000a9c0
add esp, 4
test al, al
jne 0x10011a05
push str._nocrashdialog
call fcn.1000a9c0
add esp, 4
test al, al
jne 0x10011a05
call fcn.10012780
test al, al
jne 0x1001186b
call fcn.1000a420
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10042510
call fcn.1000a9c0
add esp, 4
test al, al
je 0x10011885
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x1005109c], 0
je 0x10011a05
mov esi, dword [0x10098f24]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0x10098f24
test esi, esi
je 0x10011936
lea ebx, [ebx]
mov edi, dword [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.10027a0d
add esp, 8
test eax, eax
jne 0x10011923
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x100118e1
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
cmp ebx, ecx
jl 0x100118ed
cmp ebx, dword [esi + 0x204]
jle 0x100118f1
test al, al
jne 0x10011923
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x10011a05
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x10011a05
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.10017f57
add esp, 8
jmp 0x1001192c
lea eax, [esi + 0x20c]
mov dword [ebp - 4], eax
mov esi, edi
test edi, edi
jne 0x100118b0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [0x10098f28], edi
mov dword [0x10098f2c], ebx
mov dword [0x10098f30], esi
mov byte [0x10098f1e], 0
mov dword [0x10098f34], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x100117e0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x10098f34]
test eax, eax
jne 0x100119e3
push esi
push ebx
push edi
push str.File:__s_nLine:__d_n_Ts_n_nClick_Abort_to_break_in_the_debugger__Retry_to_continue_or_Ignore_to_disable_assert_dialogs_for_this_process.
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.10009560
add esp, 0x18
mov byte [ebp - 5], 0
lea eax, [ebp - 0x804]
push 0x12002
push str.Assert_Dialog
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 3
jne 0x100119cb
pop edi
pop esi
mov byte [0x10098f1e], 1
mov al, byte [0x10098f1e]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x100119f9
mov al, byte [0x10098f1e]
pop edi
pop esi
mov byte [0x1005109c], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x10011440
push eax
push 0x65
push dword [0x10098f20]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x10098f1e]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10012560
Capabilities:
Allocate thread local storage

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x1001258c
push str.Out_of_thread_local_storage__n
push 0xa8c
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.10009c70
add esp, 0xc
test al, al
jne 0x1001258c
int3
mov eax, esi
pop esi
ret
Function at 0x10012650
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x1001265f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
ret
cmp byte [0x10099224], 0
jne 0x1001268b
push str.Bad_thread_local:_Get_n
push 0xac1
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
mov byte [0x10099224], 1
call fcn.10009c70
add esp, 0xc
test al, al
jne 0x1001268b
int3
xor eax, eax
ret

Function at 0x10012700
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x10012718
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret 4
cmp byte [0x10099225], 0
jne 0x10012744
push str.Bad_thread_local:_Set_n
push 0xad8
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
mov byte [0x10099225], 1
call fcn.10009c70
add esp, 0xc
test al, al
jne 0x10012744
int3
pop ebp
ret 4

Function at 0x10014b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
mov esi, dword [ebp + 8]
call fcn.10014720
test al, al
je 0x10014ce1
push ebx
push edi
call fcn.10014700
mov edi, eax
mov dword [ebp - 4], ebp
mov dword [ebp - 8], esp
push 0x108
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10019db0
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 3
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x1009b38c
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
jle 0x10014c7a
lea esp, [esp]
push 0
push dword [0x1009b3c4]
lea eax, [ebp - 0x118]
push dword [0x1009b3c0]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x1009b3a8]
test eax, eax
je 0x10014c7a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x10014c7a
cmp edi, dword [ebp + 0x10]
jle 0x10014c75
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x10014c75
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [esi + edx*8], eax
mov dword [esi + edx*8 + 4], ecx
inc dword [esi + 0xa0]
inc edi
cmp edi, ebx
jl 0x10014c10
push 0x1009b38c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esi + 0xa0]
xor edi, edi
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
test ebx, ebx
jle 0x10014cdf
xor ecx, ecx
xor edx, edx
lea esp, [esp]
shld edx, ecx, 2
shl ecx, 2
mov eax, edx
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], eax
xor ecx, dword [esi + edi*8]
mov edx, dword [esi + edi*8 + 4]
inc edi
xor edx, eax
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], edx
cmp edi, ebx
jl 0x10014cb0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10015300
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ff5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x10015491
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.100108e0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1001544c
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x14], edx
cmp edi, esi
jne 0x100153d2
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10015442
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1001540c
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
cmp edx, eax
je 0x10015404
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x18]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
jmp 0x1001543f
cmp edi, edx
je 0x1001541c
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1001546d
cmp edi, edx
jne 0x10015410
mov ebx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0x18]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0x10]
mov eax, ecx
cmp ecx, esi
jne 0x10015381
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1001543f
push str.invalid_hash_bucket_count
call fcn.10017ee7
int3
Function at 0x100154a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003fb4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x1001564d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.10017f57
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x1001558e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x10015550
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x1001563d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x1001563d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x100155a0
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x100155a3
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x1001563d
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.10017f57
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x10015621
cmp edi, esi
je 0x10015638
mov eax, dword [ebp + 0xc]
jmp 0x100155f7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x1001563d
mov edx, dword [ebp - 0x10]
jmp 0x100155b0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10016510
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1009935c], 0
push ebx
jne 0x10016524
xor eax, eax
jmp 0x10016537
lea eax, [ebp - 4]
push eax
push 3
push str.BCreateDirectory
call fcn.100144a0
add esp, 0xc
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x1004333c
mov dword [ebp - 8], 0
call fcn.100166e0
push 0
lea ecx, [ebp - 0x10]
call fcn.10016620
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1001657b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1001657b
xor bl, bl
jmp 0x1001657d
mov bl, 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x1001658d
push eax
call fcn.10017f6e
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1001659d
push eax
call fcn.10017f6e
add esp, 4
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x100165ad
push ecx
call fcn.10014460
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100165c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x1004333c
mov dword [ebp - 4], 0
call fcn.100166e0
lea ecx, [ebp - 0xc]
call fcn.10016620
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [ebp - 4]
setne bl
test eax, eax
je 0x10016607
push eax
call fcn.10017f6e
add esp, 4
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x10016617
push ecx
call fcn.10017f6e
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10032904
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003277a

Function at 0x1003cde0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003ce0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003ce0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10014e30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100b7b1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.100ab9dc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10014eb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100a8984
mov eax, dword [eax]
push 0x10121d4c
push eax
call fcn.1009b0e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100abc67
test bl, bl
je 0x10014eb2
push 0x10121d4c
lea ecx, [esp + 0xc]
call fcn.100abff7
push 0x10121d58
lea ecx, [esp + 0xc]
call fcn.100abff7
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x10014eee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100abc67
jmp 0x10014fb9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x10014f72
lea edx, [esp + 0x7c]
push 0x10121d54
push edx
call fcn.1009b0e4
add esp, 8
test eax, eax
je 0x10014f72
lea eax, [esp + 0x7c]
push 0x10121d50
push eax
call fcn.1009b0e4
add esp, 8
test eax, eax
je 0x10014f72
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10014f02
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.100abc67
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x100157b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10015812
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x10015820
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100b7b9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x10131e10]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x10015958
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10015886
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100abc67
xor eax, eax
jmp 0x100159cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100abda4
push esi
lea ecx, [esp + 0xc]
call fcn.100ac033
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x10121d8c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x100159ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.100157b0
test eax, eax
jne 0x100159ad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.100157b0
test eax, eax
jne 0x100159ad
lea eax, [esp + 0x14]
push 0x10121d68
push eax
call fcn.1009c180
mov esi, eax
add esp, 8
test esi, esi
jne 0x1001598c
lea ecx, [esp + 0x14]
push 0x10121d64
push ecx
call fcn.1009c100
mov esi, eax
add esp, 8
test esi, esi
jne 0x1001598c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1001598f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100abd54
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1001589e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100abc67
xor eax, eax
jmp 0x100159cf
mov byte [esi], 0
push 0x10121d60
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.100abc67
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4