joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d840
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47ada3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046e4fc
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00473b92
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004750ae
test eax, eax
je 0x44d95c
mov ecx, dword [esp + 0x3c]
call fcn.00473bbf
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44d920
push edi
mov ecx, esi
call fcn.00471227
mov ecx, esi
call fcn.0044dac0
cmp dword [esp + 0x38], 1
jne 0x44d955
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00471362
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x450380
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4503b3
push esi
call fcn.00453480
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4503ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x450439
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x450422
mov eax, dword [esi + 8]
test eax, eax
je 0x4503d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45041e
cmp eax, 2
je 0x450422
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4503ca
cmp eax, 3
je 0x4503fd
cmp eax, 1
jne 0x4503ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4503ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4503ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00450460
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x450448
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00450460
add esp, 4
pop esi
ret

Function at 0x46f2f2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46f32a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046d37c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046d354
jmp 0x46f336
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4709e4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x470a26
call fcn.00476499
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x470a26
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x470a1d
xor eax, eax
jmp 0x470a2e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00470a34
pop edi
pop esi
pop ebx
ret 4

Function at 0x4769c9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4769f7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x476a15
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047692f
jmp 0x476a15
mov eax, dword [esi + 0x14]
test eax, eax
je 0x476a15
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047692f
test edi, edi
mov eax, edi
jne 0x4769ff
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403540
Capabilities:
Check if file exists

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
cmp ebp, 5
ja case.default.0x40354f
jmp dword [ebp*4 + 0x40367c]
mov ebx, 1
jmp 0x40355f
xor ebx, ebx
cmp dword [esp + 0x14], 0
push esi
mov esi, dword [esp + 0x10]
push edi
je 0x4035c1
call fcn.00405530
test eax, eax
je 0x4035c1
push ebx
push 1
push esi
call fcn.004060e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40359a
call fcn.00403110
cmp eax, 0x4d5a
je 0x4035c1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push esi
xor ecx, ecx
call fcn.00403320
add esp, 4
test eax, eax
je 0x4035b1
mov dword [eax + 4], edi
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call fcn.00405540
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push esi
mov ecx, 1
call fcn.00403320
mov edi, eax
add esp, 4
test edi, edi
je 0x403593
lea ecx, [ebp - 2]
cmp ecx, 3
mov eax, 0x80
ja case.default.0x4035e2
jmp dword [ecx*4 + 0x403694]
mov eax, 0x10000080
jmp case.default.0x4035e2
mov eax, 0x8000080
jmp case.default.0x4035e2
mov eax, 0x10000180
push 0
push eax
push 3
mov eax, ebx
neg eax
sbb eax, eax
push 0
and eax, 0xc0000000
push 3
add eax, 0xc0000000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi + 8], eax
jne 0x40365c
push edi
call fcn.00405480
add esp, 4
call fcn.00402c90
cmp eax, 2
push esi
push 0x43fb
jne 0x40364d
call fcn.00403070
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
call fcn.004030b0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov dword [edi + 0x78], ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push 0
push 0x43f8
call fcn.00403090
add esp, 8
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x4036b0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [ebx + 4]
test eax, eax
push edi
mov edi, ecx
mov dword [ebx + 0x70], 0
je 0x4036dd
push esi
push edi
push eax
call fcn.00405a60
add esp, 0xc
xor ecx, ecx
cmp eax, esi
sete cl
pop edi
pop esi
mov eax, ecx
pop ecx
ret
mov eax, dword [ebx + 8]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x10]
push edx
push esi
push edi
push eax
call ebp
test eax, eax
je 0x403721
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40371c
cmp esi, eax
je 0x403742
mov edx, dword [ebx + 8]
push 0
lea ecx, [esp + 0x10]
push ecx
sub esi, eax
push esi
add edi, eax
push edi
push edx
call ebp
test eax, eax
jne 0x4036f7
jmp 0x403721
call fcn.00402cb0
mov eax, dword [ebx]
push eax
push 0x43fd
call fcn.004030b0
add esp, 8
pop ebp
pop edi
mov dword [ebx + 0x80], 1
xor eax, eax
pop esi
pop ecx
ret
pop ebp
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x403820
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [edi + 4]
test eax, eax
mov dword [edi + 0x70], 0
mov edx, dword [esi]
je 0x403854
push edx
push ecx
push eax
call fcn.00405930
add esp, 0xc
test eax, eax
mov dword [esi], eax
je 0x403847
mov eax, 1
ret
mov eax, dword [edi + 4]
push eax
call fcn.00405c40
add esp, 4
ret
mov eax, dword [edi + 8]
push 0
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403841
mov ecx, dword [edi]
push ecx
push 0x43fc
call fcn.004030b0
add esp, 8
mov dword [edi + 0x80], 1
xor eax, eax
ret

Function at 0x403b90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x403bc3
mov cl, byte [eax]
test cl, cl
je 0x403bc3
cmp byte [eax + 1], 0
jne 0x403bae
cmp cl, 0x2e
je 0x403bc3
cmp cl, 0x5c
je 0x403bc3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x403bc3
shr eax, 4
not eax
and eax, 1
ret
xor eax, eax
ret
Function at 0x404440
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
cmp esi, edi
jne 0x404458
lea eax, [edi + 1]
pop edi
pop esi
add esp, 8
ret
cmp dword [esi + 0x78], edi
je 0x404475
mov eax, dword [esi]
push eax
push 0x43fe
call fcn.004030d0
add esp, 8
pop edi
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40449f
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.00405da0
add esp, 0x14
pop edi
pop esi
add esp, 8
ret
cmp dword [esp + 0x20], edi
push ebx
jne 0x4044d8
cmp dword [esp + 0x28], edi
jne 0x4044d8
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push edi
push ebx
push esi
call fcn.004041c0
add esp, 0xc
test eax, eax
je 0x4044f7
mov dword [esi + 0x58], ebx
pop ebx
mov dword [esi + 0x5c], edi
mov eax, 1
pop edi
mov dword [esi + 0x60], eax
pop esi
add esp, 8
ret
push esi
call fcn.00404350
add esp, 4
test eax, eax
je 0x4044f7
lea eax, [esp + 0xc]
push eax
push esi
call fcn.00403990
add esp, 8
test eax, eax
jne 0x404500
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 8
ret
mov ecx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x24]
cmp ecx, ebp
ja 0x404526
jb 0x404519
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x20]
ja 0x404526
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 8
ret
call fcn.00403a50
mov ecx, dword [esi]
mov ebx, eax
mov eax, dword [esp + 0x20]
push ebp
push eax
push ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x64], edi
mov dword [esi + 8], 0xffffffff
call fcn.00403bd0
add esp, 0xc
test eax, eax
jne 0x404569
xor ebx, ebx
cmp dword [esp + 0x28], edi
je 0x40458b
mov edx, dword [esi + 0x10]
push edx
call fcn.00405480
push esi
call fcn.00405480
add esp, 8
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
add esp, 8
ret
mov eax, dword [esi]
push edi
push 0x80
push 3
push edi
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x4045ea
call fcn.00402c90
cmp eax, 2
jne 0x4045d0
mov ecx, dword [esi]
push ecx
push 0x43fb
call fcn.00403070
add esp, 8
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 8
ret
mov edx, dword [esi]
push edx
push 0x43fb
call fcn.004030b0
add esp, 8
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 8
ret
cmp dword [esi + 0x7c], edi
je 0x404581
push esi
call fcn.00404350
add esp, 4
neg eax
pop ebp
sbb eax, eax
and eax, ebx
pop ebx
pop edi
pop esi
add esp, 8
ret
Function at 0x4046d0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
mov eax, ebx
sub eax, 0
je 0x4046f9
sub eax, 2
je 0x4046f9
sub eax, 3
je 0x4046f9
push 0
push 0x43f8
call fcn.00403090
add esp, 8
xor eax, eax
pop ebx
ret
cmp dword [esp + 0x10], 0
push esi
push edi
mov edi, dword [esp + 0x10]
je 0x40472e
call fcn.00405530
test eax, eax
je 0x40472e
push edi
call fcn.004060c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x40475e
call fcn.00403110
cmp eax, 0x4d5b
jne 0x4047fc
push edi
mov ecx, 1
call fcn.00403320
mov esi, eax
add esp, 4
test esi, esi
je 0x4047fc
mov eax, ebx
sub eax, 2
mov ecx, 0x80
je 0x404783
sub eax, 3
jne 0x404788
mov ecx, 0x10000180
jmp 0x404788
push edi
xor ecx, ecx
call fcn.00403320
add esp, 4
test eax, eax
je 0x404774
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
ret
push esi
call fcn.00405540
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov ecx, 0x10000080
push 0
push ecx
push 4
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
push esi
jne 0x4047da
call fcn.00405480
add esp, 4
call fcn.00402c90
cmp eax, 2
push edi
push 0x43fb
jne 0x4047cc
call fcn.00403070
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
ret
call fcn.004030b0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov dword [esi + 0x7c], 1
call fcn.00404350
add esp, 4
test eax, eax
je 0x4047f3
pop edi
mov eax, esi
pop esi
pop ebx
ret
push esi
call fcn.00404610
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x406870
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4068aa
cmp byte [esi], 0
je 0x4068aa
push esi
call fcn.0041a3f0
add esp, 4
test eax, eax
jne 0x406892
mov eax, 1
pop esi
ret
call fcn.00402c90
cmp eax, 2
je 0x40688b
push esi
push 0x43f8
call fcn.00403070
add esp, 8
xor eax, eax
pop esi
ret
Function at 0x407190
Capabilities:
Create tcp socket
Create udp socket
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov eax, 0x1008
call fcn.0040a120
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4071b7
xor eax, eax
add esp, 0x1008
ret
push ebx
push ebp
push edi
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0
push 1
push 2
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_socket]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40726f
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x1000
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0x48000016
push ebp
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x40724d
xor ebx, ebx
cmp dword [esp + 0x14], ebx
jle 0x40724d
lea edi, [esp + 0x18]
mov eax, dword [edi]
add eax, 4
mov eax, dword [eax]
cmp eax, dword [esp + 0xc]
je 0x407241
mov ecx, dword [esi + 4]
lea ecx, [ecx + ecx*2]
mov edx, esi
mov dword [esi + ecx*2 + 8], eax
call fcn.004070e0
test eax, eax
jne 0x407241
add dword [esi + 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi]
je 0x40724d
add ebx, 1
add edi, 8
cmp ebx, dword [esp + 0x14]
jl 0x407214
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esi + 4], 0
je 0x40726f
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1008
ret
push 0x80
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x407294
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
jne 0x4072a6
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1008
ret
mov eax, dword [ebx + 0xc]
xor edi, edi
cmp dword [eax], edi
je 0x4072ef
xor ecx, ecx
mov eax, dword [eax + ecx]
mov eax, dword [eax]
cmp eax, dword [esp + 0xc]
je 0x4072dc
mov ecx, dword [esi + 4]
lea ecx, [ecx + ecx*2]
mov edx, esi
mov dword [esi + ecx*2 + 8], eax
call fcn.004070e0
test eax, eax
jne 0x4072dc
add dword [esi + 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi]
je 0x4072ef
mov eax, dword [ebx + 0xc]
add edi, 1
cmp dword [eax + edi*4], 0
lea ecx, [edi*4]
jne 0x4072b1
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
cmp dword [esi + 4], eax
pop edi
pop ebp
setne al
pop ebx
add esp, 0x1008
ret
Function at 0x407640
Capabilities:
Query or enumerate registry value

Disassembly:
lea edx, [ebx + 0x208]
sub esp, 0x10
mov eax, edi
sub edx, edi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x407650
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetServicesClassNet
push closesocket
call esi
test eax, eax
jne 0x40770b
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0x20019
push eax
push edi
push edx
call esi
mov esi, eax
test esi, esi
je 0x4076ae
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea esi, [ebx + 0x104]
push esi
lea edx, [esp + 0x18]
push edx
push 0
push str.DriverDesc
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4076e4
cmp dword [esp + 0x10], 1
je 0x4076f5
mov ecx, dword [str.Unknown]
mov dword [esi], ecx
mov edx, dword [0x41b53c]
mov dword [esi + 4], edx
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 4]
push ecx
call esi
xor eax, eax
pop esi
add esp, 0x10
ret
Function at 0x407710
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkCards
push closesocket
call edi
test eax, eax
jne 0x407856
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call edi
mov edi, eax
test edi, edi
je 0x40776d
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0xc]
push edx
lea edi, [esi + 0x208]
push edi
lea eax, [esp + 0x18]
push eax
push 0
push str.ServiceName
push ecx
mov dword [esp + 0x24], 0x104
call ebx
test eax, eax
jne 0x4077a6
cmp dword [esp + 0x10], 1
je 0x4077b6
mov edx, dword [str.Unknown]
mov dword [edi], edx
mov eax, dword [0x41b53c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
lea edi, [esi + 0x104]
push edi
lea edx, [esp + 0x18]
push edx
push 0
push str.Description
push eax
mov dword [esp + 0x24], 0x104
call ebx
test eax, eax
jne 0x4077e8
cmp dword [esp + 0x10], 1
je 0x4077f9
mov ecx, dword [str.Unknown]
mov dword [edi], ecx
mov edx, dword [0x41b53c]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
push 0
push str.Title
push edx
mov dword [esp + 0x24], 0x104
call ebx
test eax, eax
pop ebx
jne 0x407826
cmp dword [esp + 0xc], 1
je 0x407840
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040b804
push edi
push eax
push str.__d___s
push esi
call fcn.0040a015
add esp, 0x14
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
xor eax, eax
pop edi
pop esi
add esp, 0x10
ret
Function at 0x407860
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x108
push ebx
push edi
mov edi, eax
lea eax, [esp + 8]
push eax
push 0x20019
push 0
mov eax, edi
mov ebx, ecx
mov dword [esp + 0x18], 0x100
call fcn.00407620
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407955
push esi
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x128]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edx, dword [esp + 0xc]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4078da
mov eax, esi
pop esi
pop edi
pop ebx
add esp, 0x108
ret
cmp edi, 2
mov eax, dword [str.Unknown]
mov dword [ebx], eax
mov ecx, dword [0x41b53c]
mov dword [ebx + 4], ecx
mov edx, dword [str.Unknown]
mov dword [ebx + 0x104], edx
mov eax, dword [0x41b53c]
mov dword [ebx + 0x108], eax
mov ecx, dword [str.Unknown]
mov dword [ebx + 0x208], ecx
mov edx, dword [0x41b53c]
mov dword [ebx + 0x20c], edx
jne 0x407937
lea eax, [esp + 0x14]
push eax
mov eax, ebx
call fcn.00407710
add esp, 4
pop esi
pop edi
pop ebx
add esp, 0x108
ret
cmp edi, 1
jne 0x40794f
lea edi, [esp + 0x14]
call fcn.00407640
pop esi
pop edi
pop ebx
add esp, 0x108
ret
mov eax, 0x78
pop esi
pop edi
pop ebx
add esp, 0x108
ret
Function at 0x407960
Capabilities:
Check if file exists
Get disk information

Disassembly:
sub esp, 0x20c
mov eax, dword [esp + 0x21c]
push ebp
push esi
push edi
push 0x104
lea ecx, [esp + 0x14]
push ecx
xor ebp, ebp
push ebx
mov dword [esp + 0x18], ebp
mov dword [eax], ebp
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x407a1d
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 2
mov dword [esp + 0xc], eax
jne 0x407b0b
mov eax, dword [0x41b5e8]
mov edx, dword [str.Device_]
mov cl, byte [0x41b5ec]
mov dword [esp + 0x14], eax
mov eax, ebx
mov dword [esp + 0x10], edx
mov byte [esp + 0x18], cl
mov edx, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4079c7
lea edi, [esp + 0x10]
sub eax, edx
add edi, 0xffffffff
lea esp, [esp]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4079e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x10]
push edx
mov ecx, eax
push ebx
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x407a18
call ebp
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
mov ebp, 1
mov eax, dword [str.._]
mov cl, byte [0x41b5e0]
mov dword [esp + 0x114], eax
mov eax, ebx
mov byte [esp + 0x118], cl
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407a40
lea edi, [esp + 0x114]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407a55
mov ecx, eax
shr ecx, 2
push 0
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 0
push 3
push 0
push 1
mov ecx, eax
push 0
lea edx, [esp + 0x12c]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407a9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x407ae3
mov eax, dword [esp + 0x228]
mov ecx, dword [esp + 0x224]
mov edx, dword [esp + 0x220]
push 0
push eax
push ecx
push edx
push 4
lea eax, [esp + 0x230]
push eax
push 0x170002
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x407ad8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0xc]
test ebp, ebp
je 0x407b09
lea ecx, [esp + 0x10]
push ecx
push ebx
push 7
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x407b09
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x20c
ret

Function at 0x40a090
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x455c60]
jne 0x40a09a
repz ret
jmp fcn.0040cc4d