joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100254c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c09e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1017d4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], vtable.ILayerWindow.0
mov dword [edi], vtable.CLayerWindowBase_class_CInputWnd__class_ATL::CWinTraits__2046689280__0__.0
mov dword [edi + 0x24], vtable.CLayerWindowBase_class_CInputWnd__class_ATL::CWinTraits__2046689280__0__.1.0
mov dword [edi + 0x2c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x48]
mov dword [edi + 0x38], 1
mov dword [edi + 0x3c], 0xff
mov ecx, esi
mov dword [edi + 0x40], 1
mov dword [edi + 0x44], 0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10027730
mov dword [esi], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x50], 0
call fcn.10004f20
mov ecx, eax
test ecx, ecx
je 0x100256a8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x54], eax
push 0xa4
mov byte [ebp - 4], 4
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 1
mov dword [edi + 0x6c], 0
call fcn.10037460
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x100255f4
mov ecx, eax
call fcn.1007a360
test eax, eax
jne 0x100255f6
xor eax, eax
mov dword [edi + 0x44], eax
lea esi, [edi + 0x78]
mov dword [edi], vtable.CInputWnd.0
mov dword [edi + 0x24], vtable.CInputWnd.1.0
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 6
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], ebx
lea ebx, [esi + 0x24]
mov byte [ebp - 4], 7
mov dword [esi], vtable.CEditExImpl_class_CEditEx__class_WTL::CEditT_class_ATL::CWindow___class_ATL::CWinTraits_1442840576__0__.0
mov dword [ebp - 0x18], ebx
call fcn.10004f20
mov ecx, eax
test ecx, ecx
je 0x100256b2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov eax, 0x1013e290
mov byte [ebp - 4], 8
mov ecx, ebx
test eax, 0xffff0000
jne 0x10025674
movzx eax, ax
push eax
call fcn.10023f20
jmp 0x10025680
push 0
push 0x1013e290
call fcn.100056e0
mov dword [esi + 0x28], 0
mov eax, edi
mov dword [esi + 0x54], 0
mov dword [esi], vtable.CEditEx.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100042d0
push 0x80004005
call fcn.100042d0
int3
Function at 0x10026400
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c1ab
mov eax, dword fs:[0]
push eax
mov eax, 0x2008
call fcn.10084a10
mov eax, dword [0x1017d4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2010]
push 0x2000
push 0
push eax
mov dword [ebp - 0x2014], esi
call fcn.100ce270
add esp, 0xc
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10026474
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.10004f20
mov ecx, eax
test ecx, ecx
je 0x100264f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x100264aa
movzx eax, ax
mov ecx, esi
push eax
call fcn.10023f20
jmp 0x100264d1
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100264b3
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100056e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100845e8
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100042d0
int3
Function at 0x10028a40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x58], 0x740068
push edi
mov dword [ebp - 0x54], 0x700074
mov dword [ebp - 0x50], 0x2f003a
mov dword [ebp - 0x4c], 0x61002f
mov dword [ebp - 0x48], 0x690070
mov dword [ebp - 0x44], 0x6c002e
mov dword [ebp - 0x40], 0x640075
mov dword [ebp - 0x3c], 0x730061
mov dword [ebp - 0x38], 0x690068
mov dword [ebp - 0x34], 0x63002e
mov dword [ebp - 0x30], 0x6d006f
mov dword [ebp - 0x2c], 0x67002f
mov dword [ebp - 0x28], 0x2f006d
mov dword [ebp - 0x24], 0x6e0061
mov dword [ebp - 0x20], 0x690074
mov dword [ebp - 0x1c], 0x690076
mov dword [ebp - 0x18], 0x750072
mov dword [ebp - 0x14], 0x3f0073
mov dword [ebp - 0x10], 0x5f0070
mov dword [ebp - 0xc], 0x3d0061
mov dword [ebp - 8], 0x640025
mov word [ebp - 4], ax
call fcn.10013020
mov ecx, eax
test ecx, ecx
je 0x10028b3d
mov eax, dword [ecx]
push 2
push 0x2a
call dword [eax]
test eax, eax
je 0x10028b47
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
cmp dword [eax - 8], 0x2a
jl 0x10028b33
mov dword [eax - 0xc], 0x2a
xor eax, eax
mov ecx, dword [esi]
push 0x54
mov word [ecx + 0x54], ax
lea eax, [ebp - 0x58]
push eax
push 0x54
push dword [esi]
call fcn.1002e240
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.100042d0
push 0x80004005
call fcn.100042d0
call fcn.10005b80
int3
Function at 0x1002abd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c7f0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1017d4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1003f260
mov esi, eax
push str.SETUPDATA
push 0xd7
push dword [0x101826e4]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x10]
test eax, eax
jne 0x1002acbe
push str.InitPackInfo_failed__exit
call fcn.1002f640
add esp, 4
push 4
push 0x10140568
push 0
call fcn.100364c0
cmp eax, 6
jne 0x1002ac51
push 1
push 0
push 0
push str.http:__www.ludashi.com
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.10013020
mov ecx, eax
test ecx, ecx
je 0x1002ad72
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
mov dword [ebp - 4], 0
push str._sInitPackInfo:_d
lea eax, [ebp - 0x10]
push eax
call fcn.10012b90
mov edx, dword [ebp - 0x10]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002acac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.InitPackInfo_success
call fcn.1002f640
mov eax, dword [esi]
add esp, 4
push str.Security_dll.ldsprj
push str.SETUPCONFIG
push 0xd5
push dword [0x101826e4]
push esi
call dword [eax + 0xc]
test eax, eax
jne 0x1002ad50
push str.InitConfig_failed__exit
call fcn.1002f640
add esp, 4
push 4
push 0x10140568
push 0
call fcn.100364c0
cmp eax, 6
jne 0x1002ad22
push 1
push 0
push 0
push str.http:__www.ludashi.com
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.10013020
mov ecx, eax
test ecx, ecx
je 0x1002ad7c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
mov dword [ebp - 4], 1
push str._sInitConfig:_d
jmp 0x1002ac7e
push str.InitConfig_success
call fcn.1002f640
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100042d0
push 0x80004005
call fcn.100042d0
int3
Function at 0x1002b610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c928
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x1017d4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10012f20
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x1002b65a
xor bl, bl
jmp 0x1002b6f7
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x14], esi
call fcn.10004430
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.1002a3b0
mov eax, dword [ebp - 0x10]
mov edx, 1
add esp, 4
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x1002b6a1
push 0x104
lea ecx, [ebp - 0x10]
call fcn.100052b0
mov eax, dword [ebp - 0x10]
push str.LdsSecurity.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
push eax
call fcn.100ec86a
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1002b729
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax - 8]
jg 0x1002b729
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + ecx*2], dx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
push esi
push str.Installed:__d
call fcn.1002f640
mov eax, dword [ebp - 0x10]
add esp, 8
test esi, esi
setne bl
lea esi, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002b716
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.100042d0
int3
Function at 0x1002c140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012c996
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x1017d4e4]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x1002c1ec
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x1002c1ec
call fcn.10011a10
mov edi, eax
jmp 0x1002c30b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1002c20f
call fcn.10011a10
jmp 0x1002c2fe
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1002c22d
call fcn.10011a10
jmp 0x1002c2fe
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x1002c24e
mov edi, 0x8007000e
jmp 0x1002c300
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x1002c344
jb 0x1002c26c
cmp eax, 0xffffffff
ja 0x1002c344
cmp eax, 0x400
jbe 0x1002c281
push eax
lea ecx, [ebp - 0x418]
call fcn.10029340
jmp 0x1002c2a7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x1002c2a7
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1002c2be
mov edi, 0x8007000e
jmp 0x1002c300
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1002c2de
call fcn.10011a10
jmp 0x1002c2fe
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1002bfa0
mov edi, eax
test esi, esi
je 0x1002c30b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1002c324
lea ecx, [ebp - 0x418]
call fcn.1002a4e0
mov eax, edi
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.100845e8
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.100042d0
int3
Function at 0x10033880
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [esi + 0xa8]
call fcn.10027060
push dword [ebp + 8]
push str.quit___d
call fcn.1002f640
add esp, 8
call fcn.1003f260
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
xor esi, esi
call fcn.10023320
mov ecx, eax
call fcn.10021cc0
test eax, eax
mov ecx, 1
cmovne esi, ecx
call fcn.1003f260
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
call fcn.1003f260
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
call fcn.1003cc20
pop esi
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]

Function at 0x100342b0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.1003ce00
test al, al
jne 0x100342cc
mov eax, str.normal_install_end
push eax
call fcn.1002f640
add esp, 4
pop esi
ret
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [esi + 0xa8]
call fcn.10027060
push str.abnormal_install__will_prohibit_progress_callback_and_wait_install_finish.
call fcn.1002f640
add esp, 4
call fcn.1003cc20
call fcn.1003f260
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
xor esi, esi
call fcn.10023320
mov ecx, eax
call fcn.10021cc0
test eax, eax
mov ecx, 1
cmovne esi, ecx
call fcn.1003f260
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
call fcn.1003f260
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, str.WaitInstallFinish_end
push eax
call fcn.1002f640
add esp, 4
pop esi
ret
Function at 0x10035330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d6b5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1017d4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], vtable.ILayerWindow.0
lea eax, [esi + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CMessageBox.0
mov dword [esi + 0x20], vtable.CMessageBox.1.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
lea edi, [eax - 0x10]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x100353f9
cmp ecx, dword [edi]
jne 0x100353f9
lock inc dword [eax]
jmp 0x10035427
mov eax, dword [ecx]
lea ebx, [edi + 4]
push 2
push dword [ebx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x100354c3
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov eax, dword [ebx]
inc eax
push eax
push dword [ebp + 8]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.100044c0
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
push 0xa4
mov byte [ebp - 4], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
call fcn.10037460
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x100354a8
mov ecx, eax
call fcn.1007a360
test eax, eax
jne 0x100354aa
xor eax, eax
mov dword [esi + 0x28], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10005b80
int3
Function at 0x100384e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d9db
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x1017d4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x828], edi
cmp word [0x10183028], 0
jne 0x1003861a
push 0x20219
push str.SOFTWARELdsSecurity
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
call fcn.10015d20
mov ebx, dword [ebp - 0x824]
test eax, eax
jne 0x1003860f
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push str.FROM
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003860f
mov eax, dword [ebp - 0x818]
cmp eax, 1
je 0x100385ac
cmp eax, 2
jne 0x1003860f
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x100385c9
test al, 1
jne 0x1003860f
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x100385d2
jmp 0x1003860f
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x10183028
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x10038602
movzx eax, word [esi + ecx]
test ax, ax
je 0x10038602
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100385e4
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test ebx, ebx
je 0x1003861a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10013020
mov ecx, eax
test ecx, ecx
je 0x1003868a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x10183028
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.100042f0
test al, al
jne 0x1003866c
mov ecx, 0x10183028
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10038650
sub ecx, edx
sar ecx, 1
push ecx
push 0x10183028
mov ecx, edi
call fcn.100056e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100845e8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100042d0
int3
Function at 0x100392c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012dbeb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x1017d4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x828], ebx
cmp word [0x10182828], 0
jne 0x100393fa
push 0x20219
push str.SOFTWARELdsSecurity
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
call fcn.10015d20
mov edi, dword [ebp - 0x824]
test eax, eax
jne 0x100393ef
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push 0x1013db44
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100393ef
mov eax, dword [ebp - 0x818]
cmp eax, 1
je 0x1003938c
cmp eax, 2
jne 0x100393ef
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x100393a9
test al, 1
jne 0x100393ef
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x100393b2
jmp 0x100393ef
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x10182828
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x100393e2
movzx eax, word [esi + ecx]
test ax, ax
je 0x100393e2
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100393c4
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x100393fa
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10182828
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x1003944b
mov ecx, 0x10182828
mov esi, str.noset
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x1003943e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1003943e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10039420
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.10013020
mov ecx, eax
test ecx, ecx
je 0x100394ba
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x10182828
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.100042f0
test al, al
jne 0x1003949c
mov ecx, 0x10182828
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039480
sub ecx, edx
sar ecx, 1
push ecx
push 0x10182828
mov ecx, ebx
call fcn.100056e0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100845e8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100042d0
int3
Function at 0x1003d670
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x1017d4e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 0x4c0], ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x1003d74b
test ecx, ecx
je 0x1003d74b
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1003d74b
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x1003d74b
xor ecx, ecx
movzx edx, ax
nop dword [eax + eax]
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1003d736
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea eax, [ebp - 0xd4]
push ebx
push eax
push dword [ebp - 0x4c4]
call fcn.100eff0d
add esp, 0xc
test eax, eax
je 0x1003d75e
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x1003d6e0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100845e8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 0x4c0]
call fcn.1003e490
xor ecx, ecx
test edi, edi
je 0x1003d77c
cmp edi, 0x7fffffff
jbe 0x1003d781
mov ecx, 0x80070057
test ecx, ecx
js 0x1003d7b7
mov eax, dword [ebp - 0x4c0]
mov esi, edi
test edi, edi
je 0x1003d79f
cmp word [eax], 0
je 0x1003d79f
add eax, 2
sub esi, 1
jne 0x1003d791
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x1003d7b9
xor esi, esi
test ecx, ecx
js 0x1003d80a
mov eax, dword [ebp - 0x4c0]
mov edx, edi
lea ecx, [eax + esi*2]
sub edx, esi
je 0x1003d7fd
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7ffffffe
add esi, eax
lea eax, [ebx + ebx]
sub eax, ecx
add edi, eax
test esi, esi
je 0x1003d7fd
movzx eax, word [edi + ecx]
test ax, ax
je 0x1003d7fd
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x1003d7e4
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100845e8
mov esp, ebp
pop ebp
ret