joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bda0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x4c]
add ecx, 0x493e0
mov dword [ebp - 4], eax
cmp eax, ecx
jbe 0x46be10
cmp dword [edi + 0x10], 0
jle 0x46bdff
push esi
lea ecx, [edi + 4]
call fcn.005942c0
mov esi, eax
test esi, esi
je 0x46bdfe
mov edx, dword [esi + 8]
push edx
call fcn.0046c890
mov eax, dword [esi + 4]
add esp, 4
push eax
lea ecx, [edi + 0x20]
call fcn.0041a980
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
push 0x5d0d08
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x4c], ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x46be20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x400
mov dword [ebp - 0x414], eax
mov esi, ecx
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x404]
push 0
push eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x410], edx
call fcn.00599ee0
mov eax, edi
add esp, 0xc
mov dword [ebp - 0x408], 0
lea ecx, [eax + 1]
jmp 0x46be80
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x46be80
sub eax, ecx
push eax
push edi
mov ecx, esi
call fcn.0046bb00
xor edx, edx
mov ecx, eax
div dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x40c], ecx
mov edx, dword [eax + edx*4]
test edx, edx
je 0x46bec7
lea esp, [esp]
cmp dword [edx], ecx
je 0x46bebd
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x46beb0
jmp 0x46bec7
cmp dword [edx + 4], 0
jne 0x46bf76
cmp dword [esi + 0x20], 0xcd
jb 0x46befa
push 0x33
mov ecx, esi
call fcn.0046bcc0
lea ecx, [ebp - 0x404]
push str.____delete_from_Cache__n
push ecx
call fcn.0059a4c2
add esp, 8
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18c]
push 0
push 0
push 0
push edi
push eax
call edx
mov dword [ebp - 0x408], eax
test eax, eax
je 0x46bf76
mov ecx, dword [esi]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x114]
push ecx
call eax
mov eax, dword [esi]
mov edx, dword [ebp - 0x408]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10c]
call eax
mov ecx, esi
call fcn.0046bb60
test eax, eax
je 0x46bf57
mov ecx, dword [ebp - 0x408]
mov edx, dword [ebp - 0x40c]
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
push eax
lea ecx, [esi + 4]
call fcn.00594230
mov eax, dword [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x408]
push ecx
lea ecx, [esi + 0x20]
call fcn.00585200
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x418]
mov esi, dword [esi]
mov edx, dword [esi]
push eax
mov eax, dword [ebp - 0x414]
push ecx
mov ecx, dword [edx + 0x18c]
push eax
push edi
push esi
call ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00599821
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46d4a0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9fb0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6ac30c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi], vtable.CEventMap.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
lea ecx, [esi + 0x70]
mov dword [ebp - 4], ebx
mov byte [esi + 0x36], bl
call fcn.004b0340
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 1
call fcn.004b0340
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 2
call fcn.004b0340
lea ecx, [esi + 0xd0]
mov byte [ebp - 4], 3
call fcn.004b0340
push 0x3e8
lea ecx, [esi + 4]
mov byte [ebp - 4], 4
call fcn.004d6390
push 0x2e
lea eax, [esi + 0x34]
push ebx
push eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xf0], ebx
call fcn.00599ee0
add esp, 0xc
mov dword [esi + 0x6c], ebx
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
Function at 0x476f30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
xor edi, edi
lea esi, [ebx + 0x264]
lea ecx, [ecx]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi - 0x14]
cmp eax, 0x64
jb 0x476f61
cmp dword [esi], 0
je 0x476f61
push edi
mov ecx, ebx
call fcn.00476c80
mov dword [esi], 0
inc edi
add esi, 4
cmp edi, 4
jl 0x476f40
mov eax, dword [0x6d44d8]
lea esi, [eax + 0x258]
mov edi, eax
mov eax, dword [esi]
cmp dword [eax + 0x220], 0
je 0x476fa8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x25c]
cmp eax, 0x64
jb 0x476fa8
mov esi, dword [esi]
xor ecx, ecx
mov dword [esi + 0x220], 0
mov word [esi + 0x218], cx
pop edi
pop esi
pop ebx
ret

Function at 0x477300
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x268], edi
test esi, esi
je 0x477448
test edi, edi
je 0x477448
push ebx
lea eax, [ebp - 0x25c]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x4773ef
cmp byte [ebp - 0x25c], 0
je 0x4773ef
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esi, [ebp - 0x25c]
jmp 0x477370
push 0x5d1818
push esi
call ebx
test eax, eax
je 0x4773db
push 0x5d1814
push esi
call ebx
test eax, eax
je 0x4773db
mov cl, byte [esi]
mov dl, byte [esi + 1]
push 0x64
lea eax, [ebp - 0x68]
mov byte [ebp - 0x260], cl
push eax
lea ecx, [ebp - 0x260]
push ecx
mov byte [ebp - 0x25f], dl
mov byte [ebp - 0x25e], 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x4773f7
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x264]
mov edi, eax
push edi
lea eax, [ebp - 0x68]
push eax
push ecx
call fcn.0059ce28
add esp, 0xc
test eax, eax
je 0x47740c
add esi, 4
cmp byte [esi], 0
jne 0x477370
mov esi, dword [ebp - 0x264]
mov edi, dword [ebp - 0x268]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599821
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x268]
lea edx, [ebp - 0x260]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x264]
add eax, edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599821
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00599821
mov esp, ebp
pop ebp
ret 8

Function at 0x477590
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push 0
push 0x477460
push 0
push 0
mov esi, ecx
call fcn.0059cf07
add esp, 0x18
mov dword [esi + 0x90], eax
pop esi
ret
Function at 0x477680
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7a8
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x80], 0
je 0x4778a1
mov eax, dword [0x6d8ae0]
mov ecx, eax
sub ecx, dword [esi + 0x84]
cmp ecx, 0x2710
jb 0x4776e8
cmp dword [esi + 0x88], 0
jne 0x4776e8
mov dword [esi + 0x88], 1
mov edx, dword [0x6d3f8c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x6d8ae0]
mov dword [esi + 0x84], eax
mov eax, dword [0x6d8ae0]
mov esi, dword [esi + 0x8c]
test esi, esi
je 0x477705
sub eax, esi
cmp eax, 0x2710
jb 0x477705
mov dword [0x6d7aa4], 1
mov ecx, dword [0x6d3f94]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x477867
push 0x46a
lea edx, [ebp - 0x4dc]
push 0
push edx
mov dword [0x6d7aa4], 1
call fcn.00599ee0
lea edx, [ebp - 0x4b6]
push 0x5d1844
push edx
mov dword [ebp - 0x4d9], 0x2000243
call fcn.0059a4c2
lea eax, [ebp - 0x2a5]
push str.ResumeThread_CheckThreadHandle_FAILED
push eax
call fcn.0059a4c2
mov ecx, dword [0x6d8f5c]
add ecx, 0x131
push ecx
lea edx, [ebp - 0x2b6]
push edx
call fcn.0059a4c2
mov eax, dword [0x6d8f5c]
mov ecx, dword [eax + 0x129]
add esp, 0x24
lea edx, [ebp - 0x93]
mov dword [ebp - 0x4ba], ecx
push edx
mov ecx, 0x6d41c0
call fcn.0047f910
lea eax, [ebp - 0xa5]
push eax
mov ecx, 0x6d41c0
call fcn.0047c390
push 0x46a
lea ecx, [ebp - 0x4dc]
push ecx
mov ecx, 0x604d20
call fcn.0050f010
mov ecx, dword [0x6d8f5c]
add ecx, 0x131
push ecx
lea edx, [ebp - 0x4a]
push edx
mov byte [ebp - 0x6e], 0
mov dword [ebp - 0x6d], 0x2040243
call fcn.0059a4c2
mov eax, dword [0x6d8f5c]
mov ecx, dword [eax + 0x129]
add esp, 8
lea edx, [ebp - 0x27]
mov dword [ebp - 0x4e], ecx
push edx
mov ecx, 0x6d41c0
call fcn.0047f910
lea eax, [ebp - 0x39]
push eax
mov ecx, 0x6d41c0
call fcn.0047c390
push 0x6a
lea ecx, [ebp - 0x70]
push ecx
mov ecx, 0x604d20
call fcn.0050f010
mov ecx, 0x604d20
call fcn.0050ef10
push 0x230
mov ecx, 0x6c6dd0
call fcn.00448f80
push eax
push 1
push 0xfd1
push 0x604150
call fcn.004c9140
mov edx, dword [0x6d7ff0]
add esp, 0x10
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x2c8
lea eax, [ebp - 0x7a4]
push 0
push eax
call fcn.00599ee0
mov edx, dword [0x6d3f94]
add esp, 0xc
lea ecx, [ebp - 0x7a8]
push ecx
push edx
mov dword [ebp - 0x7a8], 0x10007
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00599821
mov esp, ebp
pop ebp
ret
Function at 0x478440
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba48b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x6ac30c]
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 dword [ebp - 0x238], ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
push ebx
push 0x5cd755
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], ebx
call fcn.0040c070
push edi
push ebx
push 0x400
mov byte [ebp - 0x114], bl
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x4784e2
push 0x104
lea edx, [ebp - 0x218]
push edx
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
jne 0x47851a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x234]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.004130d0
cmp dword [ebp - 0x220], 0x10
jb 0x478597
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00599ae9
add esp, 4
jmp 0x478597
mov ecx, dword [ebp - 0x238]
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.00477300
push edi
test eax, eax
jne 0x478547
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x234]
push ecx
jmp 0x478579
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x478556
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x234]
call fcn.0040c070
lea eax, [ebp - 0x234]
push eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
mov byte [esi], bl
call fcn.004130d0
lea ecx, [ebp - 0x234]
call fcn.00477ae0
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 - 0x10]
xor ecx, ebp
call fcn.00599821
mov esp, ebp
pop ebp
ret 8
Function at 0x47a180
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ba6d8
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x6ac30c]
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 esi, dword [ebp + 8]
push 0x220
xor ebx, ebx
lea eax, [ebp - 0x250]
push ebx
push eax
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0x254], 0x224
call fcn.00599ee0
add esp, 0xc
push esi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x258], edi
cmp edi, 0xffffffff
je 0x47a208
lea ecx, [ebp - 0x254]
push ecx
push edi
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x47a212
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x47a315
xor ebx, ebx
lea eax, [ebp - 0x234]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47a230
sub eax, edx
push eax
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x30]
call fcn.0040c070
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 1
mov edx, esi
cmp ecx, 0x10
jae 0x47a288
lea edx, [ebp - 0x30]
mov eax, edx
mov ebx, dword [ebp - 0x20]
add ebx, eax
cmp ecx, 0x10
jae 0x47a26c
lea esi, [ebp - 0x30]
cmp esi, ebx
je 0x47a292
mov edi, edx
cmp esi, ebx
je 0x47a28c
movsx eax, byte [esi]
push eax
call fcn.0059d0bd
add esp, 4
mov byte [edi], al
inc esi
inc edi
jmp 0x47a272
mov eax, esi
jmp 0x47a25f
mov edi, dword [ebp - 0x258]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x25c]
add ecx, 0x10
call fcn.00479b60
lea edx, [ebp - 0x134]
mov ecx, eax
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x47a2b0
sub edx, esi
push edx
lea edx, [ebp - 0x134]
push edx
call fcn.0040c070
cmp dword [ebp - 0x1c], 0x10
jb 0x47a2d8
mov eax, dword [ebp - 0x30]
push eax
call fcn.00599ae9
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x47a2f4
lea ecx, [ebp - 0x254]
push ecx
push edi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x47a210
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 - 0x14]
xor ecx, ebp
call fcn.00599821
mov esp, ebp
pop ebp
ret 4
Function at 0x47a9e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x80], 0
jne 0x47ab43
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [esi + 0x7c], 0
call edi
push 0
push 0
push 0
push 0
mov dword [0x6d3f8c], eax
call edi
push 0
push 0
push 0
push 0x47a790
push 0
push 0
mov dword [0x6d3f90], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x6d3f94], eax
mov edi, 1
test eax, eax
jne 0x47ab27
push 0x46a
push eax
lea eax, [ebp - 0x470]
push eax
mov dword [0x6d7aa4], edi
call fcn.00599ee0
lea eax, [ebp - 0x44a]
push str.LoadCheckFAILED
push eax
mov dword [ebp - 0x46d], 0x2000243
call fcn.0059a4c2
lea ecx, [ebp - 0x239]
push str.CheckThreadHandle_FAILED
push ecx
call fcn.0059a4c2
mov edx, dword [0x6d8f5c]
add edx, 0x131
push edx
lea eax, [ebp - 0x24a]
push eax
call fcn.0059a4c2
mov ecx, dword [0x6d8f5c]
mov edx, dword [ecx + 0x129]
add esp, 0x24
lea eax, [ebp - 0x27]
push eax
mov ecx, 0x6d41c0
mov dword [ebp - 0x44e], edx
call fcn.0047f910
lea ecx, [ebp - 0x39]
push ecx
mov ecx, 0x6d41c0
call fcn.0047c390
push 0x46a
lea edx, [ebp - 0x470]
push edx
mov ecx, 0x604d20
call fcn.0050f010
mov ecx, 0x604d20
call fcn.0050ef10
push 0x230
mov ecx, 0x6c6dd0
call fcn.00448f80
push eax
push edi
push 0xfd1
push 0x604150
call fcn.004c9140
add esp, 0x10
mov eax, dword [0x6d8ae0]
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], 0
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00599821
mov esp, ebp
pop ebp
ret
Function at 0x47c060
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x130], eax
cmp eax, ebx
je 0x47c26a
cmp byte [eax], bl
je 0x47c26a
lea eax, [ebp - 0x118]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push closesocket
mov dword [ebp - 0x118], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47c26a
mov edx, dword [ebp - 0x118]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x11c]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x47c0ec
mov dword [ebp - 0x11c], 0x64
push edi
xor edi, edi
mov dword [ebp - 0x12c], ebx
cmp dword [ebp - 0x11c], ebx
jbe 0x47c245
push esi
xor eax, eax
push edi
push str._04u
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], al
lea eax, [ebp - 0xc]
push 5
push eax
call fcn.0047b690
mov eax, dword [ebp - 0x118]
add esp, 0x10
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push ebx
lea edx, [ebp - 0xc]
push edx
push eax
mov dword [ebp - 0x114], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47c205
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x124]
push eax
push ebx
push str.NetCfgInstanceId
push ecx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], 0x104
call esi
test eax, eax
je 0x47c197
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47c205
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x47c1be
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47c205
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x124]
push edx
push ebx
push str.Characteristics
push eax
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x120], 4
call esi
mov ecx, dword [ebp - 0x114]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x47c238
inc edi
cmp edi, dword [ebp - 0x11c]
jb 0x47c102
mov eax, dword [ebp - 0x118]
pop esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x12c]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599821
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], edx
pop esi
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x12c]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599821
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00599821
mov esp, ebp
pop ebp
ret 4
Function at 0x47c280
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x47c2c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push ecx
call fcn.0047b690
add esp, 0x10
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 4]
push esi
push edx
call fcn.0059c414
mov esi, eax
add esp, 4
mov dword [ebp - 0xc], esi
cmp esi, edi
jne 0x47c2f0
mov eax, dword [ebp + 8]
push str.GetMAC_Failed__Because_malloc_failed_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 4]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x47c328
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push edx
call fcn.0047b690
push esi
call fcn.0059c3da
add esp, 0x14
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [ebp + 8]
lea esp, [esp]
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x47c367
cmp eax, 8
ja 0x47c367
push eax
lea eax, [esi + 0x194]
push eax
push ebx
call fcn.0059a830
mov edi, dword [esi + 0x190]
add esp, 0xc
lea ecx, [esi + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0047c060
test al, 4
jne 0x47c36d
mov esi, dword [esi]
test esi, esi
jne 0x47c330
mov edx, dword [ebp - 0xc]
push edx
call fcn.0059c3da
add esp, 4
pop ebx
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x4a5210
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff8
push esi
mov esi, ecx
cmp eax, 0x4e
ja case.0x4a522c.10
movzx eax, byte [eax + 0x4a5398]
jmp dword [eax*4 + 0x4a5364]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x4a522c.10
call fcn.0044f030
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044f0b0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044f130
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044f1a0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x4a522c.10
call fcn.0044f210
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044f220
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044ef60
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je case.0x4a522c.10
push 8
call fcn.004c4510
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044f260
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044f450
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x604150
call fcn.004c5270
mov eax, 1
pop esi
pop ebp
ret 0x10
mov dword [esi + 0xc], 1
mov eax, 1
pop esi
pop ebp
ret 0x10
cmp dword [esi + 0xc], 0
je case.0x4a522c.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x4a522c.10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x4a522c.10
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.0044fb60
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x4a8af0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bbd69
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6ac30c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
push 0x64
mov byte [ebp - 4], 3
call fcn.004d6390
push 0x64
lea ecx, [esi + 0x24]
call fcn.004d6390
push 0x64
lea ecx, [esi + 0x48]
call fcn.004d6390
push 0x32
lea ecx, [esi + 0x6c]
call fcn.004d6390
mov dword [esi + 0x90], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
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

Function at 0x4ab9a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [ecx + 0x10], 0
je 0x4ab9ab
jmp fcn.004c4750
ret