joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ec32a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x64d960]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4ec3c2
push 0x5eebd4
push 4
push eax
call fcn.0051dd92
push eax
call fcn.00401040
add esp, 0x10
push ebx
push edi
call fcn.0052506f
mov edi, dword [eax]
call fcn.0052506f
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00520422
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0052506f
cmp dword [eax], ebx
je 0x4ec3d9
call fcn.0052506f
push dword [eax]
call fcn.00436590
pop ecx
jmp 0x4ec3e0
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4ec36d
jmp 0x4ec467
call fcn.0052506f
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x4ec463
cmp dword [ebp - 0x234], esi
jae 0x4ec463
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0051d400
add esp, 0xc
push 0x5ec01c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4ec452
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4ec452
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4ec452
push ebx
push ebx
push esi
jmp 0x4ec45b
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4ec465
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00524de5
leave
ret

Function at 0x4eee07
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4eee4f
call fcn.004e31d4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4eee4f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4eee92
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4eee7b
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4eee7b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4eee8f
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4ef9a3
Capabilities:
Connect socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 8

Function at 0x4f43e4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x5d7cfe
call fcn.00525158
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004044c0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4f4446
call fcn.004e25d4
cmp eax, 1
jne 0x4f4446
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x5eeef0
push eax
call fcn.004172d0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403750
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401520
mov dword [ebp + 8], reloc.WSOCK32.dll_accept
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401520
mov eax, esi
call fcn.00525230
ret 0x10

Function at 0x4f446f
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x5d7d29
call fcn.00525158
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004044c0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4f44d1
call fcn.004e25d4
cmp eax, 1
jne 0x4f44d1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x5eeef0
push eax
call fcn.004172d0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403750
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401520
mov dword [ebp + 8], reloc.WSOCK32.dll_accept
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401520
mov eax, esi
call fcn.00525230
ret 0x14

Function at 0x4f44fd
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x5d7d54
call fcn.00525158
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004044c0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4f455f
call fcn.004e25d4
cmp eax, 1
jne 0x4f455f
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x5eeef0
push eax
call fcn.004172d0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403750
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401520
mov dword [ebp + 8], reloc.WSOCK32.dll_accept
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401520
mov eax, esi
call fcn.00525230
ret 8
Function at 0x51a1df
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x64d960]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x51a214
xor eax, eax
jmp 0x51a267
lea eax, [ebp - 0x210]
push eax
call fcn.00525262
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x51a245
push 0x5dc7b4
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0052800b
add esp, 0xc
test eax, eax
jne 0x51a210
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0052800b
add esp, 0xc
test eax, eax
jne 0x51a210
lea eax, [ebp - 0x210]
push eax
call fcn.004fc463
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00524de5
leave
ret
Function at 0x524de5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x64d960]
jne 0x524def
repz ret
jmp fcn.0053bd09

Function at 0x53f1d3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00529a2f
and dword [ebp - 4], 0
cmp dword [0x66f280], 0
mov ebx, eax
jne 0x53f284
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x53f335
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5f7d98
push edi
call esi
test eax, eax
je 0x53f335
push eax
call fcn.005299bd
mov dword [esp], 0x5f7d88
push edi
mov dword [0x66f280], eax
call esi
push eax
call fcn.005299bd
mov dword [esp], 0x5f7d74
push edi
mov dword [0x66f284], eax
call esi
push eax
call fcn.005299bd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x66f288], eax
call esi
push eax
call fcn.005299bd
pop ecx
mov dword [0x66f290], eax
test eax, eax
je 0x53f284
push 0x5f7d40
push edi
call esi
push eax
call fcn.005299bd
pop ecx
mov dword [0x66f28c], eax
mov eax, dword [0x66f28c]
cmp eax, ebx
je 0x53f2dc
cmp dword [0x66f290], ebx
je 0x53f2dc
push eax
call fcn.00529a38
push dword [0x66f290]
mov esi, eax
call fcn.00529a38
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x53f2dc
test edi, edi
je 0x53f2dc
call esi
test eax, eax
je 0x53f2d3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x53f2d3
test byte [ebp - 0xc], 1
jne 0x53f2dc
or dword [ebp + 0x10], 0x200000
jmp 0x53f315
mov eax, dword [0x66f284]
cmp eax, ebx
je 0x53f315
push eax
call fcn.00529a38
pop ecx
test eax, eax
je 0x53f315
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x53f315
mov eax, dword [0x66f288]
cmp eax, ebx
je 0x53f315
push eax
call fcn.00529a38
pop ecx
test eax, eax
je 0x53f315
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x66f280]
call fcn.00529a38
pop ecx
test eax, eax
je 0x53f335
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x53f337
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x55aae0
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.0051f3e0
mov eax, dword [0x64d960]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x55ab45
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x55ab45
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.00524c30
add eax, 0x40
push eax
call fcn.0053bc0d
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00524de5
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.005b83b0
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x55abd4
call fcn.0055aa00
test eax, eax
je 0x55abd4
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00524de5
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00524de5
add esp, 0x108
ret
Function at 0x56c0d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.0051f3e0
mov eax, dword [0x64d960]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xa0]
push ebp
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov dword [esp + 0x14], ecx
test ebx, ebx
je 0x56c11f
mov eax, 1
mov dword [esi], ebx
jmp 0x56c121
mov ebx, dword [esi]
test ecx, ecx
je 0x56c1e8
push ebx
call fcn.0056b8b0
mov edi, eax
add esp, 4
cmp edi, 0x80
jle 0x56c150
push str.j____int_sizeof_ctx__key_
push 0x54
push str..cryptohmachmac.c
call fcn.0055ac00
add esp, 0xc
mov ebp, dword [esp + 0xa8]
cmp edi, ebp
jge 0x56c189
mov ecx, dword [esp + 0x10]
push ecx
lea edi, [esi + 4]
push ebx
push edi
call fcn.0056ac40
mov edx, dword [esp + 0x20]
push ebp
push edx
push edi
call fcn.0056acd0
lea ebp, [esi + 0x34]
push ebp
lea eax, [esi + 0x38]
push eax
push edi
call fcn.0056ace0
add esp, 0x24
jmp 0x56c1c4
cmp ebp, 0x80
jbe 0x56c1a5
push str.len_0__len__int_sizeof_ctx__key_
push 0x5e
push str..cryptohmachmac.c
call fcn.0055ac00
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea edx, [esi + 0x38]
push edx
call fcn.0051ff80
mov eax, dword [esp + 0xb4]
lea ebp, [esi + 0x34]
add esp, 0xc
mov dword [ebp], eax
mov ebp, dword [ebp]
cmp ebp, 0x80
je 0x56c1ec
mov ecx, 0x80
sub ecx, ebp
push ecx
lea edx, [esi + ebp + 0x38]
push 0
push edx
call fcn.0051d400
add esp, 0xc
jmp 0x56c1ec
test eax, eax
je 0x56c263
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x38]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x56c1f0
mov ebp, dword [esp + 0x10]
push ebp
lea edi, [esi + 0x14]
push ebx
push edi
call fcn.0056ac40
push ebx
call fcn.0056b8b0
push eax
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.0056acd0
add esp, 0x1c
xor eax, eax
lea esp, [esp]
mov cl, byte [esi + eax + 0x38]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x80
jl 0x56c230
push ebp
lea edi, [esi + 0x24]
push ebx
push edi
call fcn.0056ac40
push ebx
call fcn.0056b8b0
push eax
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.0056acd0
add esp, 0x1c
lea eax, [esi + 0x14]
push eax
add esi, 4
push esi
call fcn.0056ae30
mov ecx, dword [esp + 0xa0]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00524de5
add esp, 0x8c
ret
Function at 0x5ada30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x5ada49
mov edi, ebx
mov ebx, eax
jmp 0x5ada4b
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jle 0x5ada61
push eax
push esi
call fcn.00569490
add esp, 8
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x5ada7d
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 4]
jl 0x5ada68
cmp eax, dword [edi + 4]
jge 0x5ada92
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x5ada82
mov edi, dword [edi + 4]
mov dword [esi + 4], edi
test edi, edi
jle 0x5adab6
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
or ecx, 0xffffffff
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x5adab6
add dword [esi + 4], ecx
cmp dword [esi + 4], edx
jg 0x5adaa5
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4016b9
Capabilities:
Get file system object information

Disassembly:
mov dword [0x4061db], 0
mov eax, dword [0x4061db]
mov ecx, 0
push ecx
xor ecx, ecx
push ecx
call dword [sym.imp.USER32.DLL_LoadMenuW]
mov dword [0x40600d], 0
mov eax, dword [0x40600d]
mov dword [0x406039], 0
mov ecx, dword [0x406039]
push ecx
push 0
pop ecx
push ecx
call dword [sym.imp.USER32.DLL_LoadMenuW]
mov edx, 0
mov eax, edx
mov dword [0x406168], eax
push 0xf78
pop ebx
sub ebx, edi
cmp ebx, 0xbce
jbe 0x401723
rol ebx, 6
shr ebx, 1
add ebx, dword [0x40607d]
sub ebx, 0x5ae
add ebx, 0xf65
add ebx, esi
mov ecx, ebx
add ecx, ebx
add ecx, 0xd7
ja 0x401753
sub ecx, 0x19c
je 0x401753
add ecx, dword [0x40606f]
mov dword [0x4060a8], ecx
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
push 0x406109
push 0x21405e
pop edx
shl edx, 1
call dword [edx]
push 0
push 0
push 0
push 0
push 0x406109
mov edx, dword [sym.imp.shell32.dll_SHGetFileInfoA]
call edx
push 0
push 0
push 0
push 0
push 0x406109
mov edx, 0x2140ec
shl edx, 1
call dword [edx]
mov ecx, 0
inc ecx
sub ecx, ecx
sub ecx, 0xbb6
cmp ecx, 0x3e
jb 0x4017bc
dec ecx
rol ecx, 8
sub ecx, 0xa67
jbe 0x4017cd
sub ecx, dword [0x406024]
add ecx, 0x858
inc ecx
ror ecx, 1
sub ecx, dword [0x40609f]
add dword [0x4060c2], ecx
sub eax, 0x13479e5
mov ebx, 0x182
shr ebx, 7
mov ecx, ebx
sub ecx, ecx
ror ecx, 1
sub ecx, dword [0x40616d]
add ecx, eax
sub ecx, 0xb9b
rol ecx, 1
sub ecx, dword [0x406015]
add ecx, ecx
mov dword [0x4061f8], ecx
sub eax, 0xfe8b6d2b
mov dword [0x4061b9], eax
lea ecx, [ecx + 0x406054]
add ecx, 0x82b
rol ecx, 3
dec ecx
sub ecx, esi
sub dword [0x40601f], ecx
add ecx, dword [0x406138]
shl ecx, 1
inc ecx
shl ecx, 1
add dword [0x406232], ecx
push dword [0x4061b9]
lea ecx, [eax + 0x406171]
shl ecx, 1
sub ecx, 0xa5
mov dword [0x406196], ecx
shr ecx, 1
add ecx, dword [0x406141]
dec ecx
sub ecx, 0x882
sub ecx, ebx
mov eax, ecx
sub eax, 0x643
jne 0x401880
add eax, dword [0x406228]
add dword [0x4060c7], eax
ret
Function at 0x40c1e5
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40c206
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x40c1fd
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40c1f5
mov eax, ebx
leave
ret

Function at 0x40c22c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x40c28b
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40c2b8
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40c2a7
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40c298
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x40c2de
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x40c27f
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x40cb1e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.0040c1ab
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40ccfd
push dword [ebp - 4]
call fcn.0040c18f
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40cbee
jmp 0x40ccfd
push dword [ebp - 4]
call fcn.0040c18f
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x40cc42
lea eax, [ebp - 4]
push eax
call fcn.0040cb04
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.0040c3b6
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40cc42
mov eax, 1
jmp 0x40cc44
xor eax, eax
test eax, eax
je 0x40ccf2
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40ccea
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.0040c921
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40ccd9
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.0040cadd
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x40cc8c
add esp, 0xc
jmp 0x40ccfd
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x40cbc7
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x40cd1e
mov esp, ebp
pop ebp
ret 8
Function at 0x41fbb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48cdbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004817dd
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41fc32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047ee24
mov eax, dword [eax]
push 0x4c21f0
push eax
call fcn.00471454
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00481a68
test bl, bl
je 0x41fc32
push 0x4c21f0
lea ecx, [esp + 0xc]
call fcn.00481df8
push 0x4c5d64
lea ecx, [esp + 0xc]
call fcn.00481df8
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41fc6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00481a68
jmp 0x41fd39
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41fcf2
lea edx, [esp + 0x7c]
push 0x4c5d60
push edx
call fcn.00471454
add esp, 8
test eax, eax
je 0x41fcf2
lea eax, [esp + 0x7c]
push 0x4c5d5c
push eax
call fcn.00471454
add esp, 8
test eax, eax
je 0x41fcf2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41fc82
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00481a68
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x420530
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x420592
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc