joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bb60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43bb93
push esi
call fcn.0043ec50
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43bb8c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43bc19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43bc02
mov eax, dword [esi + 8]
test eax, eax
je 0x43bbb7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43bbfe
cmp eax, 2
je 0x43bc02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43bbaa
cmp eax, 3
je 0x43bbdd
cmp eax, 1
jne 0x43bbaa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43bbaa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43bbaa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043bc40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43bc28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043bc40
add esp, 4
pop esi
ret

Function at 0x45a258
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45a290
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045830c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004582e4
jmp 0x45a29c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45b946
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45b988
call fcn.004613ff
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45b988
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45b97f
xor eax, eax
jmp 0x45b990
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045b996
pop edi
pop esi
pop ebx
ret 4

Function at 0x46192f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46195d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46197b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00461895
jmp 0x46197b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46197b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00461895
test edi, edi
mov eax, edi
jne 0x461965
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
push edi
lea edi, [ebp - 0xac]
mov ecx, 0x2b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov word [ebp - 0x18], 0x4d
mov word [ebp - 0x16], 0x79
mov word [ebp - 0x14], 0x62
mov word [ebp - 0x12], 0x6d
mov word [ebp - 0x10], 0x70
mov word [ebp - 0xe], 0x63
mov word [ebp - 0xc], 0x6c
mov word [ebp - 0xa], 0x61
mov word [ebp - 8], 0x73
mov word [ebp - 6], 0x73
mov word [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push 0x401078
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x535be0
call fcn.00401037
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x535bf4]
push eax
push 0x16
push 0x26
push 1
push 0xfc
push 0x50000000
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
mov ecx, 0x535be0
call fcn.0040105a
mov word [ebp - 0x34], 0x4d
mov word [ebp - 0x32], 0x79
mov word [ebp - 0x30], 0x71
mov word [ebp - 0x2e], 0x78
mov word [ebp - 0x2c], 0x62
mov word [ebp - 0x2a], 0x6d
mov word [ebp - 0x28], 0x70
mov word [ebp - 0x26], 0x63
mov word [ebp - 0x24], 0x6c
mov word [ebp - 0x22], 0x61
mov word [ebp - 0x20], 0x73
mov word [ebp - 0x1e], 0x73
mov word [ebp - 0x1c], 0
lea edx, [ebp - 0x34]
push edx
push 0x401055
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x535bd8
call fcn.00401037
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x535bf4]
push edx
push 0x15
push 0x45
push 0xc1
push 0xd1
push 0x50000000
push 0
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, 0x535bd8
call fcn.0040105a
mov word [ebp - 0x50], 0x4d
mov word [ebp - 0x4e], 0x79
mov word [ebp - 0x4c], 0x78
mov word [ebp - 0x4a], 0x6a
mov word [ebp - 0x48], 0x62
mov word [ebp - 0x46], 0x6d
mov word [ebp - 0x44], 0x70
mov word [ebp - 0x42], 0x63
mov word [ebp - 0x40], 0x6c
mov word [ebp - 0x3e], 0x61
mov word [ebp - 0x3c], 0x73
mov word [ebp - 0x3a], 0x73
mov word [ebp - 0x38], 0
lea ecx, [ebp - 0x50]
push ecx
push 0x40101e
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x535bc8
call fcn.00401037
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x535bf4]
push ecx
push 0x12
push 0x12
push 0x91
push 0x19
push 0x50000000
push 0
lea edx, [ebp - 0x50]
push edx
push 0
mov ecx, 0x535bc8
call fcn.0040105a
mov word [ebp - 0x6c], 0x4d
mov word [ebp - 0x6a], 0x79
mov word [ebp - 0x68], 0x71
mov word [ebp - 0x66], 0x64
mov word [ebp - 0x64], 0x62
mov word [ebp - 0x62], 0x6d
mov word [ebp - 0x60], 0x70
mov word [ebp - 0x5e], 0x73
mov word [ebp - 0x5c], 0x6c
mov word [ebp - 0x5a], 0x61
mov word [ebp - 0x58], 0x73
mov word [ebp - 0x56], 0x73
mov word [ebp - 0x54], 0
lea eax, [ebp - 0x6c]
push eax
push 0x401032
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x535bd0
call fcn.00401037
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x535bf4]
push eax
push 0x15
push 0x45
push 0xc1
push 0x86
push 0x50000000
push 0
lea ecx, [ebp - 0x6c]
push ecx
push 0
mov ecx, 0x535bd0
call fcn.0040105a
pop edi
pop esi
pop ebx
add esp, 0xac
cmp ebp, esp
call fcn.00405210
mov esp, ebp
pop ebp
ret
Function at 0x4515cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
call fcn.004b0072
mov dword [ebp - 4], eax
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x451626
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x451640
push 0xeb
push str.dlgcore.cpp
call fcn.004a2e20
test eax, eax
je 0x451640
int3
xor edx, edx
test edx, edx
jne 0x451626
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0045169b
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00404820
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4523ee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x44]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x40], 0
je 0x452441
call fcn.004b0072
mov dword [ebp - 0x10], eax
push 5
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x40]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x452454
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 1
cmp dword [ebp - 0xc], 0
je 0x4524e8
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dx, word [ecx + 2]
cmp edx, 0xffff
jne 0x45249f
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 0x12]
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 0x14]
mov word [ebp - 0x1c], dx
jmp 0x4524b5
mov eax, dword [ebp - 0xc]
mov cx, word [eax + 0xa]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 0xc]
mov word [ebp - 0x1c], ax
mov ecx, dword [ebp - 0x20]
and ecx, 0x1801
test ecx, ecx
jne 0x4524db
movsx edx, word [ebp - 0x18]
test edx, edx
jne 0x4524db
movsx eax, word [ebp - 0x1c]
test eax, eax
jne 0x4524db
mov dword [ebp - 0x28], 1
jmp 0x4524e2
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x40], 0
jne 0x4524fa
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x44], 0
je 0x452503
mov ecx, dword [ebp - 4]
push ecx
call fcn.00404820
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x40], 0
je 0x452516
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4526af
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
jne 0x4526d2
push 0x33c
push str.dlgcore.cpp
call fcn.004a2e20
test eax, eax
je 0x4526d2
int3
xor eax, eax
test eax, eax
jne 0x4526b8
call fcn.004b0072
mov dword [ebp - 8], eax
push 5
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x45273e
mov eax, dword [ebp + 8]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
test eax, eax
je 0x452720
mov ecx, dword [ebp + 8]
push ecx
push str.ERROR:_Cannot_find_dialog_template_named__s._n
call fcn.004290a5
add esp, 8
jmp 0x452737
mov edx, dword [ebp + 8]
and edx, 0xffff
push edx
push str.ERROR:_Cannot_find_dialog_template_with_IDD_0x_04X._n
call fcn.004290a5
add esp, 8
xor eax, eax
jmp 0x452868
cmp dword [ebp + 0xc], 0
jne 0x45274e
mov eax, 1
jmp 0x452868
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x452781
push str.Warning:_LoadResource_failed_for_dialog_template._n
push 0x52b498
call fcn.004290a5
add esp, 8
mov eax, 1
jmp 0x452868
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 2]
cmp ecx, 0xffff
jne 0x4527aa
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x4527b2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00404820
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, dword [ebp - 0x14]
and edx, 0x10000000
test edx, edx
je 0x452814
mov eax, dword [ebp + 8]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
test eax, eax
je 0x4527f9
mov ecx, dword [ebp + 8]
push ecx
push str.ERROR:_Dialog_named__s_must_be_invisible._n
call fcn.004290a5
add esp, 8
jmp 0x452810
mov edx, dword [ebp + 8]
and edx, 0xffff
push edx
push str.ERROR:_Dialog_with_IDD_0x_04X_must_be_invisible._n
call fcn.004290a5
add esp, 8
xor eax, eax
jmp 0x452868
mov eax, dword [ebp - 0x14]
and eax, 0x40000000
test eax, eax
jne 0x452863
mov ecx, dword [ebp + 8]
shr ecx, 0x10
and ecx, 0xffff
and ecx, 0xffff
test ecx, ecx
je 0x452849
mov edx, dword [ebp + 8]
push edx
push str.ERROR:_Dialog_named__s_must_have_the_child_style._n
call fcn.004290a5
add esp, 8
jmp 0x45285f
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
push str.ERROR:_Dialog_with_IDD_0x_04X_must_have_the_child_style._n
call fcn.004290a5
add esp, 8
xor eax, eax
jmp 0x452868
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x454841
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x454872
push 0x43d
push str.wincore.cpp
call fcn.004a2e20
test eax, eax
je 0x454872
int3
xor edx, edx
test edx, edx
jne 0x45484d
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x4548be
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 1
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00450157
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.004500e3
jmp 0x4548d6
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x38]
mov eax, dword [edx]
call dword [eax + 0x90]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x458130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x4581bc
call fcn.004b0072
mov dword [ebp - 0x10], eax
push pe_nt_image_headers32
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4581bc
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45818f
xor eax, eax
jmp 0x4581ed
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4581b6
push 0xcc5
push str.wincore.cpp
call fcn.004a2e20
test eax, eax
je 0x4581b6
int3
xor edx, edx
test edx, edx
jne 0x45819c
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004581f6
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x4581ea
cmp dword [ebp - 8], 0
je 0x4581ea
mov ecx, dword [ebp - 8]
push ecx
call fcn.00404820
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45c835
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x45c8a0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x70
jne 0x45c8a0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
and eax, 0x4000
test eax, eax
jne 0x45c8a0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x45c8a0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jl 0x45c8a0
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x45c8a0
mov dword [ebp - 4], 1
jmp 0x45c8a7
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x460537
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0xed
push str.filecore.cpp
mov eax, dword [ebp - 8]
push eax
call fcn.0044edc0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0xffffffff
jne 0x460573
push 0xee
push str.filecore.cpp
call fcn.004a2e20
test eax, eax
je 0x460573
int3
xor edx, edx
test edx, edx
jne 0x460556
cmp dword [ebp + 0xc], 0
jne 0x460584
jmp 0x460625
cmp dword [ebp + 8], 0
jne 0x46059e
push 0xf3
push str.filecore.cpp
call fcn.004a2e20
test eax, eax
je 0x46059e
int3
xor eax, eax
test eax, eax
jne 0x460584
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00429036
test eax, eax
jne 0x4605cb
push 0xf4
push str.filecore.cpp
call fcn.004a2e20
test eax, eax
je 0x4605cb
int3
xor eax, eax
test eax, eax
jne 0x4605a4
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x460608
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.004a348a
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00450730
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x460625
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.004a348a
push eax
push 0xffffffffffffffff
push 0xd
call fcn.00450910
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x460d6c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
push str.CLSID
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x460e42
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x460e38
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push str.InProcServer32
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x460e2e
push 0x104
mov ecx, dword [ebp + 0xc]
call fcn.0044ffa8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0x104
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push 0x537c1c
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.004500e3
xor ecx, ecx
cmp dword [ebp - 0x18], 0
sete cl
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x460e4b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x178], 0
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
push 0x800
push 0x160
lea ecx, [ebp - 0x174]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x460eac
mov eax, dword [ebp - 0x16c]
and eax, 0x10000
test eax, eax
jne 0x460eb3
xor eax, eax
jmp 0x460fe3
lea ecx, [ebp - 0x14]
push ecx
push 0x51d8d0
push 0
push 0x51d8e0
lea ecx, [ebp - 4]
call fcn.00460ae7
test eax, eax
jge 0x460ed6
xor eax, eax
jmp 0x460fe3
lea edx, [ebp - 0x10]
push edx
push 0x51f750
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
call dword [ecx]
test eax, eax
jl 0x460fd5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
jne 0x460f10
mov dword [ebp - 0x180], 0
jmp 0x460f5e
mov ecx, dword [ebp - 0x178]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
shl eax, 1
add eax, 3
and al, 0xfc
call fcn.00405490
mov dword [ebp - 0x184], esp
mov edx, dword [ebp - 0x17c]
push edx
mov eax, dword [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
call fcn.00405120
mov dword [ebp - 0x180], eax
push 0
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx + 0x14]
test eax, eax
jl 0x460fc9
push 2
mov ecx, dword [ebp + 8]
call fcn.004a9b6c
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
call dword [ecx + 0x4c]
test eax, eax
jl 0x460fc9
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [eax + 8]
mov eax, 1
jmp 0x460fe3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [eax + 8]
xor eax, eax
lea esp, [ebp - 0x184]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x460fef
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c92ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push esi
push edi
push 1
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.00429036
test eax, eax
jne 0x461038
push 0x216
push str.filecore.cpp
call fcn.004a2e20
test eax, eax
je 0x461038
int3
xor ecx, ecx
test ecx, ecx
jne 0x461010
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x46108e
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x461074
mov ecx, dword [ebp + 0xc]
push ecx
push str.Warning:_could_not_parse_the_path__s._n
call fcn.004290a5
add esp, 8
push 0x104
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
jmp 0x461181
lea ecx, [ebp - 0x1c]
call fcn.004a33e7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00461194
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.004a348a
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x461106
lea ecx, [ebp - 0x1c]
call fcn.004a348a
push eax
push str.Warning:_could_not_get_volume_information__s._n
call fcn.004290a5
add esp, 8
mov dword [ebp - 0x164], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0044f7fc
mov eax, dword [ebp - 0x164]
jmp 0x461181
mov edx, dword [ebp - 0x18]
and edx, 2
test edx, edx
jne 0x46111a
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
mov ecx, dword [ebp - 0x18]
and ecx, 4
test ecx, ecx
jne 0x461162
lea edx, [ebp - 0x15c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0xffffffff
je 0x461162
mov ecx, dword [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x168], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0044f7fc
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8