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

Disassembly:
push 0xffffffffffffffff
push 0x490568
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.00404e90
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.00404870
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 0x412dd0
Capabilities:
Check if file exists
Get file attributes

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

Disassembly:
push 0xffffffffffffffff
push 0x491139
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], 0x49b20c
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.00415870
mov ebx, eax
mov dword [esp + 0x14], ebx
call fcn.0048c660
neg ebx
sbb ebx, ebx
test ebx, fcn.0040c240
mov dword [esp + 0x18], eax
je 0x41ab34
push str.mutex
lea ecx, [esp + 0x18]
push ecx
call fcn.00412d20
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 0x41ab70
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 0x41abc1
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 0x41ab60
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 0x41b980
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4913b8
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 0x41b9d5
mov ecx, esi
call fcn.0041ae50
xor esi, esi
call fcn.0048c660
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx], esi
xor eax, eax
jmp 0x41ba39
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.0041b420
test eax, eax
je 0x41ba29
cmp edi, 0xffffffff
je 0x41ba1b
add edi, 1
push ebx
push 1
mov ecx, esi
call fcn.0041b420
test eax, eax
jne 0x41ba13
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 0x420a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490568
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.00404e90
test edi, edi
mov dword [esp + 0x18], 0
je 0x420a94
add edi, 0x28
jmp 0x420a96
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 0x420aae
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 0x422360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4918a8
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.00404870
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 0x4223e6
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00460238
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 0x422a20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x491a03
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.0041e280
mov edi, eax
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, ebx
je 0x422a87
cmp edi, eax
jbe 0x422a6e
call fcn.004606a6
cmp dword [esi + 0x18], 0x10
jb 0x422a79
mov eax, dword [esi + 4]
jmp 0x422a7c
lea eax, [esi + 4]
cmp byte [eax + edi], 0x2f
mov byte [esp + 0x17], 1
je 0x422a8b
mov byte [esp + 0x17], bl
push edi
push esi
call fcn.0041e030
add esp, 8
cmp edi, ebx
mov ebp, eax
jbe 0x422ace
lea ebx, [edi - 1]
mov edi, edi
cmp ebx, ebp
je 0x422acc
cmp ebx, dword [esi + 0x14]
jbe 0x422aae
call fcn.004606a6
cmp dword [esi + 0x18], 0x10
jb 0x422ab9
mov eax, dword [esi + 4]
jmp 0x422abc
lea eax, [esi + 4]
cmp byte [ebx + eax], 0x2f
jne 0x422acc
sub edi, 1
sub ebx, 1
test edi, edi
ja 0x422aa0
xor ebx, ebx
cmp edi, 1
jne 0x422afd
cmp ebp, ebx
jne 0x422afd
cmp byte [esp + 0x17], 0
je 0x422afd
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 0x422b53
push edi
push ebx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.0041f9c0
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 0x422b35
mov eax, dword [eax + 4]
jmp 0x422b38
add eax, 4
push eax
lea ecx, [esp + 0x20]
call fcn.00420990
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.00404870
or ebx, 8
test bl, 4
je 0x422ba1
and ebx, 0xfffffffb
cmp dword [esp + 0x34], 0x10
jb 0x422b94
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00460238
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
test bl, 2
je 0x422bca
and ebx, 0xfffffffd
cmp dword [esp + 0x50], 0x10
jb 0x422bbd
mov edx, dword [esp + 0x3c]
push edx
call fcn.00460238
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
test bl, 1
je 0x422be3
cmp dword [esp + 0x6c], 0x10
jb 0x422be3
mov eax, dword [esp + 0x58]
push eax
call fcn.00460238
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 0x423710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491ab8
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.00404d20
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x42375a
add edi, 0x28
jmp 0x42375c
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 0x423774
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 0x4237b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491ab8
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.00404d20
mov dword [esi], vtable.boost::gregorian::bad_year.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x4237fa
add edi, 0x28
jmp 0x4237fc
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 0x423814
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 0x423850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491ab8
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.00404d20
mov dword [esi], vtable.boost::gregorian::bad_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x42389a
add edi, 0x28
jmp 0x42389c
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 0x4238b4
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 0x4264c0
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 0x42651e
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.0048c660
neg edi
sbb edi, edi
test edi, fcn.0040c240
mov dword [esp + 0x18], eax
je 0x42651e
push str.thread.entry_event
lea eax, [esp + 0x18]
push eax
call fcn.00412d20
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 0x426572
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.0048c660
neg edi
sbb edi, edi
test edi, fcn.0040c240
mov dword [esp + 0x18], eax
je 0x426572
push str.thread.exit_event
lea ecx, [esp + 0x18]
push ecx
call fcn.00412d20
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push 0
push esi
push 0x41dc40
push eax
push 0
mov dword [esp + 0x28], 0
call fcn.004623d4
add esp, 0x18
test eax, eax
mov dword [ebp + 4], eax
jne 0x4265f0
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 0x4265ba
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x4265c8
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], edi
call fcn.0048c660
neg edi
sbb edi, edi
test edi, fcn.0040c240
mov dword [esp + 0x18], eax
je 0x4265f0
push str.thread
lea ecx, [esp + 0x18]
push ecx
call fcn.00412d20
test ebx, ebx
je 0x426604
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 0x428cc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x492251
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.00427760
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.00424590
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00460238
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 0x42c1d0
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.00460750
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 0x42c2f9
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 0x42c2fd
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x42c30a
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.004601ff
add esp, 0x188
ret
Function at 0x42ceb0
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 0x42cecc
pop esi
pop ecx
ret
push edi
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x42c580
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x42cef4
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 0x42d7f0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
cmp byte [0x4b2a60], 0
push esi
mov esi, ecx
je 0x42d805
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.0042d3e0
cmp al, 1
jne 0x42d835
mov edx, dword [esp + 0xc]
push edx
mov ecx, esi
call fcn.0042d300
pop esi
pop ecx
ret 4
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
Function at 0x42d9a0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x492978
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 0x42db8f
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.00404950
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [esp + 0x54], ebp
call fcn.00402f10
mov eax, dword [esp + 0x18]
mov ebx, 0x10
cmp dword [esp + 0x2c], ebx
jae 0x42da14
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.00403d10
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x54], 0xffffffff
jb 0x42da40
mov eax, dword [esp + 0x18]
push eax
call fcn.00460238
add esp, 4
lea edi, [esi + 0x24]
cmp edi, ebp
je 0x42da4c
lea eax, [esi + 0x2c]
jmp 0x42da4e
xor eax, eax
mov ecx, dword [esp + 0x5c]
push ecx
push eax
call fcn.00407be0
add esp, 8
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call fcn.00405650
cmp dword [esp + 0x2c], ebx
mov ebp, dword [eax + 0x14]
jb 0x42da7e
mov eax, dword [esp + 0x18]
push eax
call fcn.00460238
add esp, 4
test ebp, ebp
jbe 0x42dabd
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00405650
cmp dword [eax + 0x18], ebx
jb 0x42da98
mov eax, dword [eax + 4]
jmp 0x42da9b
add eax, 4
mov edx, dword [esi]
push edx
push ebp
push 1
push eax
call fcn.00462f08
add esp, 0x10
cmp dword [esp + 0x2c], ebx
jb 0x42dabd
mov eax, dword [esp + 0x18]
push eax
call fcn.00460238
add esp, 4
add dword [esi + 0x20], ebp
cmp dword [esi + 0x20], 0x4000000
jb 0x42db84
mov ecx, dword [esi]
push ecx
mov dword [esi + 0x20], 0
call fcn.00462bf9
push str..bak
lea edi, [esi + 4]
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.00409e90
add esp, 0x10
cmp dword [eax + 0x18], ebx
jb 0x42dafc
mov eax, dword [eax + 4]
jmp 0x42daff
add eax, 4
push eax
call fcn.00462da4
add esp, 4
cmp dword [esp + 0x2c], ebx
jb 0x42db1b
mov eax, dword [esp + 0x18]
push eax
call fcn.00460238
add esp, 4
push str..bak
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.00409e90
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x42db38
mov eax, dword [eax + 4]
jmp 0x42db3b
add eax, 4
cmp dword [edi + 0x18], ebx
jb 0x42db45
mov ecx, dword [edi + 4]
jmp 0x42db48
lea ecx, [edi + 4]
push eax
push ecx
call fcn.00462d4c
add esp, 8
cmp dword [esp + 0x48], ebx
jb 0x42db65
mov edx, dword [esp + 0x34]
push edx
call fcn.00460238
add esp, 4
cmp dword [edi + 0x18], ebx
jb 0x42db6f
mov edi, dword [edi + 4]
jmp 0x42db72
add edi, 4
push 0x40
push 0x49b628
push edi
call fcn.00462c75
add esp, 0xc
mov dword [esi], eax
mov eax, dword [esi]
push eax
call fcn.00462b2b
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