joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4124a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x490848
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00404f70
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
xor edx, edx
mov dword [esi + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov dword [esp + 0x24], edx
mov byte [ecx + 4], dl
call fcn.00404950
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

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

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x412e71
cmp byte [eax], 0
je 0x412e71
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x412e71
and al, 0x10
cmp al, 0x10
setne al
ret
xor al, al
ret
Function at 0x41a9d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x491419
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x2c]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [esi], 0x49b204
mov dword [esp + 0x24], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 3
mov dword [esi + 0x2c], edi
call fcn.00415920
mov ebx, eax
mov dword [esp + 0x14], ebx
call fcn.0048c910
neg ebx
sbb ebx, ebx
test ebx, fcn.00409280
mov dword [esp + 0x18], eax
je 0x41aa64
push str.mutex
lea ecx, [esp + 0x18]
push ecx
call fcn.00412da0
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4

Function at 0x41aa90
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
push 0xffffffffffffffff
push 0
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
push 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4b2b8c
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
push 0
je 0x41aae1
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
add esp, 8
ret
mov edx, dword [esi + 4]
push edx
push 0x403250
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
add esp, 8
ret
Function at 0x41b860
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x491698
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x41b8b5
mov ecx, esi
call fcn.0041ad70
xor esi, esi
call fcn.0048c910
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx], esi
xor eax, eax
jmp 0x41b919
mov ecx, dword [0x4b2b48]
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [0x4b2b48]
push edx
push eax
call ebp
mov ebx, dword [esp + 0x2c]
push ebx
push 1
mov ecx, esi
mov dword [esp + 0x2c], edi
call fcn.0041b300
test eax, eax
je 0x41b909
cmp edi, 0xffffffff
je 0x41b8fb
add edi, 1
push ebx
push 1
mov ecx, esi
call fcn.0041b300
test eax, eax
jne 0x41b8f3
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4b2b48]
push ecx
push edx
call ebp
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x420870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490848
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00404f70
test edi, edi
mov dword [esp + 0x18], 0
je 0x4208b4
add edi, 0x28
jmp 0x4208b6
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x4208ce
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4222c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x491b48
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
mov dword [edi], ecx
lea esi, [edi + 8]
push eax
lea edx, [esp + 0x30]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], eax
push edx
mov ecx, esi
mov dword [esp + 0x24], eax
mov byte [esi + 4], al
call fcn.00404950
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
jb 0x422346
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004604e8
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x422980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x491cd3
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x14]
push eax
push esi
call fcn.0041e2b0
mov edi, eax
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, ebx
je 0x4229e7
cmp edi, eax
jbe 0x4229ce
call fcn.00460956
cmp dword [esi + 0x18], 0x10
jb 0x4229d9
mov eax, dword [esi + 4]
jmp 0x4229dc
lea eax, [esi + 4]
cmp byte [eax + edi], 0x2f
mov byte [esp + 0x17], 1
je 0x4229eb
mov byte [esp + 0x17], bl
push edi
push esi
call fcn.0041e060
add esp, 8
cmp edi, ebx
mov ebp, eax
jbe 0x422a2e
lea ebx, [edi - 1]
mov edi, edi
cmp ebx, ebp
je 0x422a2c
cmp ebx, dword [esi + 0x14]
jbe 0x422a0e
call fcn.00460956
cmp dword [esi + 0x18], 0x10
jb 0x422a19
mov eax, dword [esi + 4]
jmp 0x422a1c
lea eax, [esi + 4]
cmp byte [ebx + eax], 0x2f
jne 0x422a2c
sub edi, 1
sub ebx, 1
test edi, edi
ja 0x422a00
xor ebx, ebx
cmp edi, 1
jne 0x422a5d
cmp ebp, ebx
jne 0x422a5d
cmp byte [esp + 0x17], 0
je 0x422a5d
mov edi, 0xf
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], 0
mov dword [esp + 0x78], ebx
lea eax, [esp + 0x54]
lea ebx, [edi - 0xe]
jmp 0x422ab3
push edi
push ebx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0041fa50
mov ecx, 2
mov edi, 0xf
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], 0
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x78], ecx
jb 0x422a95
mov eax, dword [eax + 4]
jmp 0x422a98
add eax, 4
push eax
lea ecx, [esp + 0x20]
call fcn.004207b0
lea eax, [esp + 0x1c]
mov dword [esp + 0x78], 3
mov ebx, 6
mov esi, dword [esp + 0x80]
push 0xffffffffffffffff
xor ebp, ebp
push ebp
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebp
push eax
mov ecx, esi
mov dword [esp + 0x24], ebx
mov byte [esi + 4], 0
call fcn.00404950
or ebx, 8
test bl, 4
je 0x422b01
and ebx, 0xfffffffb
cmp dword [esp + 0x34], 0x10
jb 0x422af4
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004604e8
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
test bl, 2
je 0x422b2a
and ebx, 0xfffffffd
cmp dword [esp + 0x50], 0x10
jb 0x422b1d
mov edx, dword [esp + 0x3c]
push edx
call fcn.004604e8
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
test bl, 1
je 0x422b43
cmp dword [esp + 0x6c], 0x10
jb 0x422b43
mov eax, dword [esp + 0x58]
push eax
call fcn.004604e8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
Function at 0x423700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491d88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00404e00
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x42374a
add edi, 0x28
jmp 0x42374c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x423764
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4237a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491d88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00404e00
mov dword [esi], vtable.boost::gregorian::bad_year.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x4237ea
add edi, 0x28
jmp 0x4237ec
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x423804
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x423840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491d88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00404e00
mov dword [esi], vtable.boost::gregorian::bad_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x42388a
add edi, 0x28
jmp 0x42388c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x4238a4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x426430
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0
push 0
push 1
push 0
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, dword [esp + 0x20]
mov ebx, eax
test ebx, ebx
mov dword [esi + 4], ebx
jne 0x42648e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x14], edi
call fcn.0048c910
neg edi
sbb edi, edi
test edi, fcn.00409280
mov dword [esp + 0x18], eax
je 0x42648e
push str.thread.entry_event
lea eax, [esp + 0x18]
push eax
call fcn.00412da0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp + 8], eax
mov dword [esi + 8], eax
cmp dword [ebp + 8], 0
jne 0x4264e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x14], edi
call fcn.0048c910
neg edi
sbb edi, edi
test edi, fcn.00409280
mov dword [esp + 0x18], eax
je 0x4264e2
push str.thread.exit_event
lea ecx, [esp + 0x18]
push ecx
call fcn.00412da0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push 0
push esi
push 0x41dc20
push eax
push 0
mov dword [esp + 0x28], 0
call fcn.00462684
add esp, 0x18
test eax, eax
mov dword [ebp + 4], eax
jne 0x426560
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
test ebx, ebx
je 0x42652a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x426538
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], edi
call fcn.0048c910
neg edi
sbb edi, edi
test edi, fcn.00409280
mov dword [esp + 0x18], eax
je 0x426560
push str.thread
lea ecx, [esp + 0x18]
push ecx
call fcn.00412da0
test ebx, ebx
je 0x426574
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x428980
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x492521
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
mov al, byte [esp + 0x38]
mov dword [esi + 8], edx
lea edx, [esp + 0x3c]
mov dword [esi + 4], ecx
mov edi, 1
lea ecx, [esi + 0x10]
push edx
mov dword [esp + 0x24], edi
mov byte [esi + 0xc], al
call fcn.00427780
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x14], edi
push edx
mov edi, ecx
push edi
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x34], 0
call fcn.004245d0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004604e8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x42bdf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x4b0650]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x194]
push ebx
mov ebx, dword [esp + 0x19c]
push ebp
mov ebp, dword [esp + 0x1a4]
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [esp + 0x19c]
push 0x64
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esp + 0x30], eax
call fcn.00460a00
mov edx, ebx
shr edx, 8
movzx eax, dl
movzx ecx, bl
shl ecx, 8
or eax, ecx
shl eax, 8
mov edx, ebx
shr edx, 0x10
movzx ecx, dl
or eax, ecx
shl eax, 8
shr ebx, 0x18
or eax, ebx
push eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov edx, eax
shr edx, 0x10
mov ch, dl
mov edx, eax
shr edx, 0x18
mov cl, dl
push ecx
mov ecx, eax
shr ecx, 8
movzx eax, al
movzx edx, cl
shl eax, 8
or edx, eax
push edx
mov ecx, esi
movzx edx, si
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfA]
shr ecx, 0x10
push ecx
push edx
push edi
push str._X__X__X__X__X_X
lea eax, [esp + 0x54]
push 0x63
push eax
call esi
lea ecx, [esp + 0x5c]
push ecx
push str.CLSID_sLocalServer32
lea edx, [esp + 0xc8]
push 0x103
push edx
call esi
add esp, 0x40
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x94]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42bf19
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push ebp
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x42bf1d
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x42bf2a
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004604af
add esp, 0x188
ret
Function at 0x42cad0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi + 0x30], eax
jne 0x42caec
pop esi
pop ecx
ret
push edi
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x42c1a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x42cb14
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x42d410
Capabilities:
Accept command line arguments

Disassembly:
push ecx
cmp byte [0x4b2a60], 0
push esi
mov esi, ecx
je 0x42d425
or eax, 0xffffffff
pop esi
pop ecx
ret 4
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea ecx, [esp + 4]
push ecx
push eax
mov ecx, esi
call fcn.0042d000
cmp al, 1
jne 0x42d455
mov edx, dword [esp + 0xc]
push edx
mov ecx, esi
call fcn.0042cf20
pop esi
pop ecx
ret 4
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
Function at 0x42d7d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x492c78
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0650]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
cmp dword [esi], ebp
je 0x42d9bf
push ebp
push 0x49a44b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
call fcn.00404a30
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [esp + 0x54], ebp
call fcn.00402fe0
mov eax, dword [esp + 0x18]
mov ebx, 0x10
cmp dword [esp + 0x2c], ebx
jae 0x42d844
lea eax, [esp + 0x18]
mov ecx, dword [edi + 0x40]
mov edx, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00403e20
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x54], 0xffffffff
jb 0x42d870
mov eax, dword [esp + 0x18]
push eax
call fcn.004604e8
add esp, 4
lea edi, [esi + 0x24]
cmp edi, ebp
je 0x42d87c
lea eax, [esi + 0x2c]
jmp 0x42d87e
xor eax, eax
mov ecx, dword [esp + 0x5c]
push ecx
push eax
call fcn.00407c90
add esp, 8
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00405730
cmp dword [esp + 0x2c], ebx
mov ebp, dword [eax + 0x14]
jb 0x42d8ae
mov eax, dword [esp + 0x18]
push eax
call fcn.004604e8
add esp, 4
test ebp, ebp
jbe 0x42d8ed
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00405730
cmp dword [eax + 0x18], ebx
jb 0x42d8c8
mov eax, dword [eax + 4]
jmp 0x42d8cb
add eax, 4
mov edx, dword [esi]
push edx
push ebp
push 1
push eax
call fcn.004631b8
add esp, 0x10
cmp dword [esp + 0x2c], ebx
jb 0x42d8ed
mov eax, dword [esp + 0x18]
push eax
call fcn.004604e8
add esp, 4
add dword [esi + 0x20], ebp
cmp dword [esi + 0x20], 0x4000000
jb 0x42d9b4
mov ecx, dword [esi]
push ecx
mov dword [esi + 0x20], 0
call fcn.00462ea9
push str..bak
lea edi, [esi + 4]
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.00409f50
add esp, 0x10
cmp dword [eax + 0x18], ebx
jb 0x42d92c
mov eax, dword [eax + 4]
jmp 0x42d92f
add eax, 4
push eax
call fcn.00463054
add esp, 4
cmp dword [esp + 0x2c], ebx
jb 0x42d94b
mov eax, dword [esp + 0x18]
push eax
call fcn.004604e8
add esp, 4
push str..bak
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.00409f50
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x42d968
mov eax, dword [eax + 4]
jmp 0x42d96b
add eax, 4
cmp dword [edi + 0x18], ebx
jb 0x42d975
mov ecx, dword [edi + 4]
jmp 0x42d978
lea ecx, [edi + 4]
push eax
push ecx
call fcn.00462ffc
add esp, 8
cmp dword [esp + 0x48], ebx
jb 0x42d995
mov edx, dword [esp + 0x34]
push edx
call fcn.004604e8
add esp, 4
cmp dword [edi + 0x18], ebx
jb 0x42d99f
mov edi, dword [edi + 4]
jmp 0x42d9a2
add edi, 4
push 0x40
push 0x49b600
push edi
call fcn.00462f25
add esp, 0xc
mov dword [esi], eax
mov eax, dword [esi]
push eax
call fcn.00462ddb
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4