joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100110a5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10010cea
push eax
push esi
push dword [ebp + 8]
call fcn.10010c9f
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10010cea
push eax
push esi
push dword [ebp + 8]
call fcn.10010c9f
add esp, 0x30
Function at 0x423542
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x423551
pop dword [ebp - 0x18]
mov eax, 0xd2c7d8b0
add eax, 0x2d7a5ca1
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x53bd0
push 0
mov eax, 0xe20ce584
add eax, 0x1e37cd2c
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0xceb7bd38
add ecx, 0x3148990a
mov edx, eax
mov ebx, 0x488e00
add ebx, dword [ebp - 0x18]
mov esi, 0x1fb37bcc
sub esi, 0xeb7b258c
sub dword [ebp - 4], eax
mov edi, dword [ebx]
add dword [ebp - 8], edx
xor edi, esi
add dword [ebp - 0xc], edx
mov dword [edx], edi
xor dword [ebp - 8], ebx
add edx, 4
add ebx, 0x69bbf6e0
add ebx, 0x96440924
loop 0x4235aa
add eax, 0x5a8660c5
sub eax, 0x5a8514ea
mov ebx, eax
add eax, 0x1100a3d6
add eax, 0xeeff5c2f
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10007073
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007073
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10007073
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10007073
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10007073
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10007073
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10007073
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10007073
push 0xd008
push edi
call fcn.10007073
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10007073
int3

Function at 0x10007073
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10007082
pop dword [ebp - 0x34]
mov eax, 0x6390c497
add eax, 0xac6fabeb
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x38121
push 0
mov eax, 0xe8079e06
add eax, 0x27f9a25e
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x442a
mov edx, eax
mov ebx, 0xe570fc87
sub ebx, 0xd56f7687
add ebx, dword [ebp - 0x34]
mov esi, 0x3a82e8cb
add esi, 0x2d6d006c
xor dword [ebp - 0x20], eax
mov edi, dword [ebx]
xor dword [ebp - 4], 0x30871cbd
sub edi, esi
sub dword [ebp - 0x2c], 0x1de74497
mov dword [edx], edi
sub dword [ebp - 0x2c], 0xa67ffabf
add edx, 4
add ebx, 4
loop 0x100070db
add eax, 0x85b375ef
sub eax, 0x85b27274
mov ebx, eax
add eax, 0xa481a57a
sub eax, 0xa481a575
mov ecx, 0xbd604194
add ecx, 0x529fbe6c
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x401729
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x40302c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push ecx
call fcn.004015e1
xor esi, esi
cmp dword [section..data], 5
jbe 0x4017a1
mov ecx, dword [0x40300c]
mov edx, 0x20000
and ecx, edx
mov eax, esi
or eax, ecx
je 0x4017a1
mov ecx, dword [0x403014]
mov eax, ecx
and eax, edx
cmp esi, dword [0x403010]
jne 0x4017a1
cmp eax, ecx
jne 0x4017a1
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], 0x401108
push eax
push 3
push esi
push esi
push 0x401221
push section..data
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x12
mov dword [ebp - 0xc], esi
call fcn.00401688
push 1
push esi
push esi
push 0x40111c
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004017d0
leave
ret 0x10

Function at 0x401d30
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x402058
call fcn.00401f90
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x401d90
cmp eax, 0xffffffff
je 0x401d90
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x401d89
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x401d89
cmp edx, 0x10000000
jae 0x401d89
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x401d86
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x401e10
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x401e4e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x401e46
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x401e50
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x401e36
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x401f30
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x401f61
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x401f61
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x401f61
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4022e0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x144
mov ecx, 0x41
xor eax, eax
push ebp
push esi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x154]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
je 0x4023bf
dec eax
je 0x402371
dec eax
jne 0x402421
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x23
push 0
call fcn.004038d0
add esp, 0x14
lea ecx, [esp + 0xc]
push ecx
call edi
cmp byte [esp + eax + 0xb], 0x5c
je 0x402347
mov byte [esp + eax + 0xc], 0x5c
mov byte [esp + eax + 0xd], 0
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402421
mov eax, dword [esp + 0x158]
mov byte [eax], 0
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x144
ret
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0xc]
push edx
call edi
cmp byte [esp + eax + 0xb], 0x5c
je 0x402399
mov byte [esp + eax + 0xc], 0x5c
mov byte [esp + eax + 0xd], 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402421
mov ecx, dword [esp + 0x158]
pop edi
pop esi
xor eax, eax
mov byte [ecx], 0
pop ebp
add esp, 0x144
ret
lea edx, [esp + 0xc]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0xc]
push eax
call edi
cmp byte [esp + eax + 0xb], 0x5c
je 0x4023e3
mov byte [esp + eax + 0xc], 0x5c
inc eax
lea esi, [esp + eax + 0xc]
push str.Temp
push esi
call ebp
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402415
mov edx, dword [esp + 0x158]
pop edi
pop esi
xor eax, eax
mov byte [edx], 0
pop ebp
add esp, 0x144
ret
push 0x409368
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.24030323194678614213282020
call edi
dec eax
cmp eax, 8
jl 0x402365
mov al, byte [eax + str.24030323194678614213282020]
cmp al, 0x30
jl 0x402365
cmp al, 0x39
jg 0x402365
movsx esi, al
sub esi, 0x30
and esi, 0x80000003
jns 0x40245b
dec esi
or esi, 0xfffffffc
inc esi
push str.24030323194678614213282020
add esi, 4
call edi
sub eax, esi
dec eax
xor ecx, ecx
lea edx, [eax + str.24030323194678614213282020]
mov al, byte [edx]
test al, al
je 0x40248d
test esi, esi
jle 0x40248d
add al, al
inc al
dec esi
mov byte [esp + ecx + 0x110], al
inc edx
inc ecx
cmp ecx, 0x40
jb 0x402470
lea eax, [esp + ecx + 0x111]
push 0x409364
push eax
mov byte [esp + ecx + 0x118], 0x2e
call ebp
lea ecx, [esp + 0xc]
push ecx
call edi
mov edx, 0x104
lea ecx, [esp + 0xc]
sub edx, eax
lea eax, [esp + 0x110]
push edx
push eax
push ecx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + eax + 0x14]
push edx
call esi
mov ecx, dword [esp + 0x158]
lea eax, [esp + 0xc]
push 0x103
push eax
push ecx
call esi
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x144
ret
Function at 0x402530
Capabilities:
Rebuild import table

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x88
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x40b9a4], eax
je 0x402785
mov ecx, 0x22
xor eax, eax
lea edi, [esp + 0x10]
push 0x30
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push str.24030323194678614213282020
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [0x40b9a4]
mov edx, dword [0x40ba14]
mov eax, dword [0x40ba18]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Load
push ecx
mov dword [esp + 0x48], 0x40ba1c
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], fcn.00404530
mov dword [esp + 0x58], fcn.00404740
mov dword [esp + 0x5c], fcn.00404840
mov dword [esp + 0x60], fcn.00404870
mov dword [esp + 0x64], fcn.00403f00
mov dword [esp + 0x68], fcn.00403ff0
mov dword [esp + 0x6c], fcn.00404070
mov dword [esp + 0x70], fcn.00404080
mov dword [esp + 0x74], fcn.004040a0
mov dword [esp + 0x78], fcn.00404200
mov dword [esp + 0x7c], fcn.00404260
mov dword [esp + 0x80], fcn.004042f0
mov dword [esp + 0x84], 0x404390
mov dword [esp + 0x88], 0x4043f0
mov dword [esp + 0x8c], fcn.00404420
mov dword [esp + 0x90], fcn.00404490
mov dword [esp + 0x94], fcn.00401280
mov dword [esp + 0x98], fcn.004021c0
mov dword [esp + 0x9c], fcn.00402fc0
call esi
mov edx, dword [0x40b9a4]
push 0x409384
push edx
mov ebp, eax
call esi
mov edi, eax
mov eax, dword [0x40b9a4]
push str.Stop
push eax
call esi
mov ecx, dword [0x40b9a4]
push str.Unload
push ecx
mov ebx, eax
call esi
mov esi, eax
mov al, byte [0x409080]
cmp al, 0xb9
jne 0x40269e
push 0x50
push 0x409080
push 0x409080
call fcn.00403ae0
add esp, 0xc
test ebp, ebp
jne 0x4026b9
mov edx, dword [esp + 0xa4]
push edx
push str.Load
push 0x409080
jmp 0x402759
test edi, edi
jne 0x4026d4
mov edx, dword [esp + 0xa4]
push edx
push 0x409384
push 0x409080
jmp 0x402759
test ebx, ebx
jne 0x4026ec
mov edx, dword [esp + 0xa4]
push edx
push str.Stop
push 0x409080
jmp 0x402759
test esi, esi
jne 0x402704
mov edx, dword [esp + 0xa4]
push edx
push str.Unload
push 0x409080
jmp 0x402759
lea edx, [esp + 0x10]
push edx
push 0x88
call ebp
test eax, eax
je 0x40272a
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
push eax
push ecx
call edi
call esi
jmp 0x40276e
cmp byte [0x4090d0], 0xb9
jne 0x402747
push 0x6c
push 0x4090d0
push 0x4090d0
call fcn.00403ae0
add esp, 0xc
mov edx, dword [esp + 0xa4]
push edx
push str.Load
push 0x4090d0
mov eax, dword [esp + 0xa8]
push 0x83
push eax
call fcn.00404840
add esp, 0x14
mov ecx, dword [0x40b9a4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x40b9a4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
sub ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
pop edi
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
test eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408933
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
and edx, edi
dec edi
call main
sub edi, edx
sub edi, edi
xor dword [ebx], eax
sub edx, edi
sub esp, 4
mov dword [esp], 0xe76604bb
pop edx
inc ebx
sub edx, 0xcb7469fc
dec edi
cmp ebx, ecx
jne fcn.00408933
sub edi, 0xbd03b615
and edx, edi
ret
Function at 0x25815b05
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x25815b14
pop dword [ebp - 0x3c]
mov eax, 0x25815b14
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xfd612dbc
sub dword [ebp - 0x4c], 0xaf0ee871
mov dword [ebp - 0x48], 0x7a1ca21b
sub dword [ebp - 0x48], 0x47e955d6
mov dword [ebp - 0x44], 0x807cb39f
sub dword [ebp - 0x44], 0x34306f71
mov dword [ebp - 0x40], 0x6219e788
add dword [ebp - 0x40], 0x9de61878
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x4ab96e53
sub eax, 0x25379e0f
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x37a7fe0b
sub dword [ebp - 0x4c], 0xc33594b5
mov dword [ebp - 0x48], 0x1fe92fe5
add dword [ebp - 0x48], 0x21833190
mov dword [ebp - 0x44], 0x6060c94f
add dword [ebp - 0x44], 0x30ea31d
mov dword [ebp - 0x40], 0x5eea81c1
add dword [ebp - 0x40], 0xa1157e3f
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3d849
push 0
call eax
mov ecx, 0x4be6
xor edi, edi
add edi, eax
mov edx, 0x25829600
add edx, dword [ebp - 0x3c]
mov esi, 0xd529fb80
sub dword [ebp - 0x2c], eax
mov ebx, dword [edx]
xor dword [ebp - 0x28], edx
sub ebx, esi
add dword [ebp - 0x28], eax
mov dword [edi], ebx
mov dword [ebp - 0x34], 0x50473d5f
add edi, 0x69675bb1
add edi, 0x9698a453
add edx, 0xb5c4c192
sub edx, 0xb5c4c18e
loop 0x25815c1c
add eax, 0x1226b
xor ebx, ebx
add ebx, eax
add eax, 0xeb415230
sub eax, 0xeb41522b
mov ecx, 0xd37316a9
sub ecx, 0xadf316a9
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467246
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
push 0xc
mov dword [esp + 0x10], esi
mov dword [esi], 0x46b36c
mov dword [esi + 4], 0x46b368
mov byte [esi + 0xc], al
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
push 0x19018
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x46b360
mov dword [esi + 4], 0x46b35c
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x30], bl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x24], 1
je 0x402032
mov ecx, eax
call fcn.00410b70
jmp 0x402034
xor eax, eax
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x34], bl
mov dword [esi + 0x28], eax
call dword [0x477ddc]
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x4020a8
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push closesocket
lea ecx, [esp + 0x38]
push 0x477df8
mov al, 0x37
push ecx
push ebx
mov byte [esp + 0x44], 0x23
mov byte [esp + 0x45], 0x33
mov byte [esp + 0x46], 0x32
mov byte [esp + 0x47], al
mov byte [esp + 0x48], al
mov byte [esp + 0x49], 0x30
mov byte [esp + 0x4a], bl
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0x34], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x3c], ebx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x402340
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46727b
push eax
mov dword fs:[0], esp
sub esp, 0x824
lea eax, [esp + 0xc]
push ebp
push eax
xor ebp, ebp
push 0x46b47c
push 1
push ebp
push 0x46b50c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x402382
or eax, 0xffffffff
jmp 0x4024b3
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
lea edx, [esp + 4]
push 0
push edx
mov ecx, dword [eax]
push 0x46b4fc
push eax
mov dword [esp + 0x840], 0
call dword [ecx + 0xc]
test eax, eax
je 0x4023d0
mov eax, dword [esp + 4]
mov dword [esp + 0x830], 0xffffffff
test eax, eax
je 0x4023c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
jmp 0x4024b3
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0xc]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x402498
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x473070
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x40246e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 0
mov word [esp + 0x24], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x402464
mov ecx, dword [esp + 0x28]
push eax
push eax
lea eax, [esp + 0x38]
push 0x800
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
inc ebp
call esi
mov edx, dword [esp + 0x28]
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x402406
pop edi
pop esi
mov eax, dword [esp + 4]
mov dword [esp + 0x830], 0xffffffff
test eax, eax
je 0x4024b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebp
mov ecx, dword [esp + 0x828]
pop ebp
mov dword fs:[0], ecx
add esp, 0x830
ret 4