joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402370
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp edi, 1
jle 0x402408
movzx eax, byte [section..data]
test al, 1
jne 0x4025d0
xor ebx, ebx
jmp 0x4023a7
add ebx, 1
cmp edi, ebx
je 0x4023f1
mov edx, eax
and edx, 1
je 0x4023a0
mov eax, dword [esi + ebx*4]
add ebx, 1
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], 0x405597
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x4055c4
mov dword [esp + 4], 0x404000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
movzx eax, byte [section..data]
mov edx, eax
and edx, 1
cmp edi, ebx
jne 0x4023a7
test dl, dl
jne 0x4025a0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x10], 0
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
sub esp, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
sub esp, 0x24
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x405fa8
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x405fc8
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
jne 0x4023f9
mov dword [esp], str.ROOTCIMV2
call dword [sym.imp.oleaut32.dll_SysAllocString]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x402567
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov edx, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x24
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 4
test esi, esi
jne 0x402567
mov esi, 0x405c20
xor ebx, ebx
mov edi, esi
lea esi, [esi]
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
cmp ebx, eax
cmovb ebx, eax
add edi, 0x14
cmp edi, 0x405e78
jne 0x402528
add ebx, 1
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebp - 0x10]
mov edx, esi
mov ecx, ebx
add esi, 0x14
call sym._output_item
cmp esi, 0x405e78
jne 0x402550
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x402579
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x40559b
mov dword [esp + 8], 0x4055c4
mov dword [esp + 4], 0x404000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str.stub:
mov dword [esp + 8], 0x4055c4
mov dword [esp + 4], 0x404000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
movzx eax, byte [section..data]
jmp 0x402397
Function at 0x402640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x402698
cmp byte [esi + ebx - 1], 0xa
je 0x40266c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x408084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x402c40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov edi, dword [0x408094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x402e00
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x408094]
movzx eax, al
bt eax, esi
jae 0x402e60
mov ecx, dword [0x408084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x402d05
test byte [0x404018], 8
jne 0x402da0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x404028], 8
jne 0x402d50
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x402cd4
cmp esi, 3
jbe 0x402d10
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x4068a8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x402cd4
mov ecx, dword [0x408094]
test ecx, ecx
je 0x402e40
mov dword [esp], 0x404028
call dword [0x408094]
test al, 8
je 0x402cab
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x402cab
mov ebx, dword [0x408094]
test ebx, ebx
je 0x402e20
mov dword [esp], 0x404018
call dword [0x408094]
test al, 8
je 0x402c96
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x402c9e
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x408094
call sym._load_func.part.0
jmp 0x402c5d
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x408094
call sym._load_func.part.0
jmp 0x402daa
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x408094
call sym._load_func.part.0
jmp 0x402d5e
mov eax, 0xffffffff
jmp 0x402d05
Function at 0x402fc0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x41acc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x41ace2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ace9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41acd8
mov eax, 1
add ebx, ebx
jne 0x41acfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41acf0
jne 0x41ad0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41acf0
xor ecx, ecx
sub eax, 3
jb 0x41ad20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ad92
mov ebp, eax
add ebx, ebx
jne 0x41ad2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41ad38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41ad5c
inc ecx
add ebx, ebx
jne 0x41ad48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41ad3d
jne 0x41ad59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ad7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41ad6d
jmp 0x41acde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ad7c
add edi, ecx
jmp 0x41acde
pop esi
mov edi, esi
mov ecx, 0x455
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ad9a
cmp byte [edi], 0
jne 0x41ad9a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ad9f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41ae0e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x205bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20644]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41adcc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2064c]
or eax, eax
je 0x41ae08
mov dword [ebx], eax
add ebx, 4
jmp 0x41ade9
call dword [esi + 0x20648]
mov ebp, dword [esi + 0x20650]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41ae42
sub esp, 0xffffff80
jmp 0x409b60
Function at 0x10003ce0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100de66c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.10070b90
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.10070b90
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10003d43
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x10003d48
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x10003d66
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x10003d68
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x10003d7c
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x100e34cc]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10030b57
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10008520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10008579
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10008579
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000856a
cmp esi, edx
jae 0x10008579
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10008558
cmp esi, edx
jae 0x10008579
cmp word [esi], 0
je 0x10008579
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1000c290
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096d2b
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x100de66c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push esi
call fcn.10032cb0
lea ecx, [ebp - 0x70]
call fcn.10045800
mov dword [ebp - 4], 0
test esi, esi
jne 0x1000c2e1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c300
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.1000f750
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.10045d80
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x1000c367
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c35d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c4cb
push edx
push ecx
call fcn.100307d8
add esp, 8
call fcn.100331e0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000c4a1
push 0x58
push 0x100a7728
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10009d20
push 3
push 0x100a7724
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10009d20
mov byte [ebp - 4], 3
call fcn.100331e0
mov edi, eax
lea ecx, [ebp - 0x108]
push 0x3c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10003fe0
mov esi, eax
push str.command_line:
push esi
mov byte [ebp - 4], 4
call fcn.10005200
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.10045d70
cmp dword [eax + 0x14], 8
jb 0x1000c408
mov eax, dword [eax]
test eax, eax
mov ecx, 0x100a279c
cmovne ecx, eax
push ecx
push esi
call fcn.10002f30
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x108]
call fcn.10005390
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000c45f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c455
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c4d0
push edx
push ecx
call fcn.100307d8
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x1000c4a1
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c497
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c4d5
push edx
push ecx
call fcn.100307d8
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.10045900
mov eax, 1
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.10030b57
mov esp, ebp
pop ebp
ret 8
call fcn.10073f6e
call fcn.10073f6e
call fcn.10073f6e
int3
Function at 0x1000ddf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096f36
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100de66c]
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 esi, 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 esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000de9c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000de9c
call fcn.1000bf70
mov esi, eax
jmp 0x1000df8c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1000debf
call fcn.1000bf70
jmp 0x1000df7f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1000dedd
call fcn.1000bf70
jmp 0x1000df7f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x1000defe
mov esi, 0x8007000e
jmp 0x1000df81
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000be40
jmp 0x1000df28
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1000df3f
mov esi, 0x8007000e
jmp 0x1000df81
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1000df5f
call fcn.1000bf70
jmp 0x1000df7f
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.1000dc50
mov esi, eax
test edi, edi
je 0x1000df8c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000dfb0
lea ecx, [ebp - 0x418]
call fcn.1000c5f0
nop word [eax + eax]
mov eax, esi
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.10030b57
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000e8f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096feb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100de66c]
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]
call fcn.100331e0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000ea5f
push 0x58
push 0x100a7798
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.10009d20
push 3
push 0x100a7794
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10009d20
mov byte [ebp - 4], 1
call fcn.100331e0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x41
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10003fe0
mov esi, eax
push str.Start
push esi
mov byte [ebp - 4], 2
call fcn.10002f30
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10005390
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1000ea00
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e9f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000eacd
push edx
push ecx
call fcn.100307d8
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1000ea4d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ea43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ead2
push edx
push ecx
call fcn.100307d8
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp dword [ebx + 8], 0
je 0x1000ea69
xor eax, eax
jmp 0x1000eaaf
push str.http:__s.ludashi.com_url2_pidpidmidmidmid2mid2appverappvermodvermodvertypetypeactionaction
push 0x100a78ec
push 1
call fcn.10006170
mov ecx, eax
call fcn.100343c0
push 1
call fcn.10036930
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0
push ebx
push 0x1000ee30
push 0
push 0
call fcn.10076c1b
mov dword [ebx + 8], eax
add esp, 0x1c
mov eax, 1
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.10030b57
mov esp, ebp
pop ebp
ret 4
call fcn.10073f6e
call fcn.10073f6e
int3
Function at 0x1001a4f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x1001a607
mov eax, dword [edi + 0x74]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x1001a526
mov ecx, dword [eax + 0x24]
add eax, 0x24
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
push esi
push dword [ebp + 8]
push eax
call dword [ecx + 8]
cmp esi, 0x200
jne 0x1001a54b
push 1
mov dword [edi + 0x70], 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
jne 0x1001a56e
push 0x7f89
jmp 0x1001a55f
cmp esi, 0x2a3
jne 0x1001a590
mov dword [edi + 0x70], 1
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x70], 0
mov dword [eax], 0
cmp dword [edi + 0x70], 0
je 0x1001a5c4
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp esi, 0x20
jne 0x1001a5c1
push 0x7f00
push 0
mov dword [edi + 0x70], 1
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
cmp dword [edi + 0x70], 0
jne 0x1001a630
jmp 0x1001a5c4
mov eax, dword [ebp + 0x18]
mov esi, dword [edi + 0x28]
mov ecx, edi
push 0
push eax
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10008b80
mov dword [edi + 0x28], esi
test eax, eax
jne 0x1001a630
mov eax, dword [ebp + 0xc]
cmp eax, 0x10
jne 0x1001a610
mov ecx, edi
mov dword [edi + 0x70], 1
call fcn.100197d0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [edi + 0x70], 0
jne 0x1001a630
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x402
jne 0x1001a63c
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 0x14]
push ebx
push 0x402
call fcn.10019960
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x1001a607
movzx eax, bx
mov ecx, 0x65
cmp cx, ax
jne 0x1001a674
lea eax, [ebp + 0xc]
shr ebx, 0x10
push eax
push dword [ebp + 0x14]
push ecx
push ebx
mov ecx, edi
call fcn.100190e0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
mov ecx, 0x66
cmp cx, ax
jne 0x1001a6a2
lea eax, [ebp + 0xc]
shr ebx, 0x10
push eax
push dword [ebp + 0x14]
push ecx
push ebx
mov ecx, edi
call fcn.10019600
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
mov ecx, 0x67
cmp cx, ax
jne 0x1001a607
lea eax, [ebp + 0xc]
shr ebx, 0x10
push eax
push dword [ebp + 0x14]
push ecx
push ebx
mov ecx, edi
call fcn.10019440
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18