joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbe80
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4bbee0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4bbee0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4bbee0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4bbee0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4bbef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4bdc30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4bdc63
push esi
call fcn.004c2b70
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4bdc5c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4bdce9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4bdcd2
mov eax, dword [esi + 8]
test eax, eax
je 0x4bdc87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4bdcce
cmp eax, 2
je 0x4bdcd2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4bdc7a
cmp eax, 3
je 0x4bdcad
cmp eax, 1
jne 0x4bdc7a
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 0x4bdc7a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4bdc7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004bdd20
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4bdd09
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004bdd20
add esp, 4
pop esi
ret

Function at 0x4ee510
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4ee51b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4ee61e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x570068]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x570068]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x570068]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x570068]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x570068]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x570068]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x570068]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x570068]
xor eax, edx
inc ecx
dec edi
jne 0x4ee536
pop edi
test esi, esi
je 0x4ee640
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x570068]
xor eax, edx
inc ecx
dec esi
jne 0x4ee622
pop esi
pop ebx
not eax
ret
Function at 0x401418
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x40d010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x40dcfc]
cmp byte [eax + 0xd40], 0
push edi
mov edi, dword [ebp + 8]
je 0x401445
push 2
pop eax
jmp 0x4015f6
mov eax, dword [edi + 0x14]
push esi
mov esi, dword [eax]
lea eax, [ebp - 0x404]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401462
sub eax, ecx
mov edx, eax
lea eax, [ebp - 0x404]
lea ecx, [eax + 1]
push ebx
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x401477
sub eax, ecx
add eax, edx
cmp eax, 0x104
jb 0x4014a1
and dword [ebp - 0x408], 0
push 0x40bc40
lea eax, [ebp - 0x408]
push eax
call fcn.00401d6a
mov eax, dword [edi + 8]
dec eax
je 0x4015bb
dec eax
je 0x401593
dec eax
jne 0x4015f2
mov cl, byte [esi]
mov bl, 0x5c
cmp cl, bl
je 0x401559
cmp cl, 0x2f
je 0x401559
mov dl, 0x2e
cmp cl, dl
jne 0x4014e4
cmp byte [esi + 1], dl
jne 0x4014e4
mov al, byte [esi + 2]
cmp al, bl
je 0x401559
cmp al, 0x2f
je 0x401559
xor eax, eax
jmp 0x40150e
cmp cl, bl
je 0x4014f1
cmp cl, 0x2f
jne 0x40150a
cmp byte [eax + esi + 1], dl
jne 0x40150a
cmp byte [eax + esi + 2], dl
jne 0x40150a
mov cl, byte [eax + esi + 3]
cmp cl, bl
je 0x401559
cmp cl, 0x2f
je 0x401559
inc eax
mov cl, byte [eax + esi]
test cl, cl
jne 0x4014e8
mov ecx, dword [0x40dcfc]
mov edx, esi
add ecx, 0x506
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
test al, al
jne 0x401520
mov eax, dword [0x40dcfc]
push 1
push 0x2710
push 0x16
mov dword [eax], 0x15
push dword [0x40dcfc]
call fcn.00401135
test al, al
mov eax, dword [0x40dcfc]
jne 0x401561
mov byte [eax + 0xd40], 1
push 2
pop eax
jmp 0x4015f4
cmp dword [eax + 0xd08], 0
je 0x401559
push esi
call fcn.004013ec
mov ecx, dword [0x40dcfc]
add ecx, 0x506
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
test al, al
jne 0x40157c
mov eax, dword [0x40dcfc]
mov dword [eax], 0xb
jmp 0x4015e1
mov eax, dword [edi + 0x14]
mov edx, dword [0x40dcfc]
mov ecx, dword [eax]
add edx, 0x506
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4015a4
mov eax, dword [0x40dcfc]
mov dword [eax], 0xa
jmp 0x4015e1
mov eax, dword [edi + 0x14]
mov edx, dword [0x40dcfc]
mov ecx, dword [eax]
add edx, 0x506
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4015cc
mov eax, dword [0x40dcfc]
mov dword [eax], 9
push 1
push 0x64
push 0xc
push dword [0x40dcfc]
call fcn.00401135
xor eax, eax
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00401cd4
leave
ret 4
Function at 0x401946
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x409294
call fcn.00402408
mov ebx, dword [ebp + 8]
mov edi, ebx
mov dword [ebp + 8], edi
call fcn.0040102b
test al, al
jne 0x40196e
mov dword [ebx], 2
jmp 0x401ad7
call fcn.004018b4
xor eax, eax
inc eax
push eax
push 0x2710
push 3
push ebx
mov dword [ebx], eax
call fcn.00401135
test al, al
jne 0x401995
mov dword [ebx], 6
jmp 0x401ad7
add ebx, 4
and dword [0x40dcf0], 0
xor esi, esi
xor ecx, ecx
inc esi
cmp byte [ebx], cl
je 0x4019c8
mov eax, ebx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4019ad
sub eax, edi
lea ecx, [ecx + eax + 1]
lea esi, [esi + eax + 1]
lea eax, [ecx + ebx]
cmp byte [eax], dl
jne 0x4019aa
mov edi, dword [ebp + 8]
push esi
push dword [0x40dcf0]
call fcn.00401e07
pop ecx
pop ecx
mov dword [0x40dcf0], eax
test eax, eax
je 0x401ac9
xor ecx, ecx
cmp byte [ebx], cl
je 0x401a2b
mov edi, ebx
mov esi, edi
lea edx, [esi + 1]
mov dword [ebp - 0x14], edx
mov dl, byte [esi]
inc esi
test dl, dl
jne 0x4019f3
sub esi, dword [ebp - 0x14]
mov edx, esi
lea esi, [eax + ecx]
mov al, byte [edi]
inc edi
mov byte [esi], al
inc esi
test al, al
jne 0x401a02
mov eax, dword [0x40dcf0]
add eax, edx
mov byte [eax + ecx], 0xd
mov eax, dword [0x40dcf0]
lea ecx, [ecx + edx + 1]
lea edi, [ecx + ebx]
cmp byte [edi], 0
jne 0x4019eb
mov edi, dword [ebp + 8]
push 4
mov byte [eax + ecx], 0
pop eax
push 0
push 0x2710
push eax
push edi
mov dword [edi], eax
call fcn.00401135
test al, al
je 0x401a4f
cmp dword [edi], 3
je 0x40199f
lea eax, [edi + 0x906]
push eax
mov dword [0x40dcfc], edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [edi], 5
jne 0x401ac9
and dword [ebp - 4], 0
cmp byte [edi + 0x404], 0
lea eax, [edi + 0x406]
push eax
je 0x401a86
lea eax, [edi + 4]
push eax
call fcn.00401182
jmp 0x401abe
xor eax, eax
cmp byte [edi + 0x405], al
sete al
push eax
push 0x40a1a4
lea eax, [edi + 4]
push eax
call fcn.004011eb
jmp 0x401abe
test eax, eax
je 0x401ad1
cmp eax, 0xff
je 0x401ad1
mov dword [edi], 6
jmp 0x401ad7
mov dword [edi], 7
call fcn.0040243e
ret 4

Function at 0x401adf
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x40d010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push edi
push 0x400
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00401000
lea eax, [ebp - 0x404]
push eax
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov edi, eax
test edi, edi
je 0x401b6d
push esi
push 0x10000
push 0
push 0
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x401b6c
push esi
call fcn.00401946
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x40dcf4]
test eax, eax
je 0x401b5c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x40dcf0]
test eax, eax
je 0x401b6c
push eax
call fcn.00402452
pop ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00401cd4
leave
ret 0x10
Function at 0x40297c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403f44
test esi, esi
jne 0x4029b2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404034
jmp 0x4029d0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402830
mov edi, eax
test esi, esi
je 0x4029d0
cmp dword [ebx], 0
je 0x4029d0
dec esi
jmp 0x4029b9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x414020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4033c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033a8
xor eax, eax
push ebp
push 0x4033a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4033e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4033a8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x414020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x414020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403dc8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x415044], 0
je 0x403e29
cmp word [0x415218], 0xd7b2
jne 0x403df1
cmp dword [0x415220], 0
jbe 0x403df1
mov eax, 0x415214
call dword [0x415230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x414070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403e50
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x414030], 0
jne 0x403e45
push 0
push 0x414068
push 0x414070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405020
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405250
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4050a3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405250
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4050a3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40526c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40512c
xor eax, eax
push ebp
push 0x405125
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404e68
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40510a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40528c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40510a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40512c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405246
cmp byte [ebp - 0xd], 0
jne 0x405173
cmp byte [ebp - 0x12], 0
je 0x405246
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40518c
dec ebx
cmp byte [ebx], 0x2e
je 0x40519b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40518b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405246
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4051d8
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405246
cmp byte [ebp - 0xd], 0
je 0x405246
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405246
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4058dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405942
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004041b4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402dc8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40592c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405949
lea eax, [ebp - 0x10]
call fcn.00403f44
ret

Function at 0x409bdc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409c15
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404034
jmp 0x409c1e
mov eax, ebx
mov edx, esi
call fcn.00403f98
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409c28
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409c49
mov al, byte [esp]
jmp 0x409c4b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b030
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b094
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004041b4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407090
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b09b
lea eax, [ebp - 0xc]
call fcn.00403f44
ret
Function at 0x413394
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x4134ed
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, 1
call fcn.0040297c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00406d04
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x413504
call fcn.0040422c
lea edx, [ebp - 0x10]
mov eax, 2
call fcn.0040297c
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00407090
mov ebx, eax
lea edx, [ebp - 0x14]
mov eax, 4
call fcn.0040297c
mov eax, dword [ebp - 0x14]
mov edx, 0x1c200
call fcn.00407090
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, 0x413510
call fcn.00404468
dec eax
jne 0x41343e
push esi
push ebx
mov eax, dword [ebp - 4]
call fcn.004043d0
push eax
push 0x413514
call sub.commpro.dll_ZEMBPRO_INIT
add esp, 0x10
mov dword [0x415898], eax
jmp 0x4134c8
push 0
push 0
push 0x413520
push 0x413528
push 0x413530
push 0
call sub.shell32.dll_ShellExecuteA
push 0
push 0
push 0x413538
push 0x413528
push 0x413530
push 0
call sub.shell32.dll_ShellExecuteA
push 0
push 0
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, 0x413554
call fcn.0040422c
mov eax, dword [ebp - 0x18]
call fcn.004043d0
push eax
push 0x413528
push 0x413530
push 0
call sub.shell32.dll_ShellExecuteA
push 0x3e8
call sub.kernel32.dll_Sleep
push 0
push ebx
mov eax, dword [ebp - 4]
call fcn.004043d0
push eax
push 0x413558
call sub.commpro.dll_ZEMBPRO_INIT
add esp, 0x10
mov dword [0x415898], eax
cmp dword [0x415898], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4134f4
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00403f68
ret
Function at 0x403370
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x403384
xor eax, eax
jmp 0x40339f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041d026
add esp, 0x10
mov esp, ebp
pop ebp
ret 0xc

Function at 0x405ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x405ea9
xor ecx, ecx
jne 0x405ea9
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x405ef0
mov eax, dword [ebp - 0xc]
jmp 0x405f4d
cmp dword [ebp - 4], 1
je 0x405f03
cmp dword [ebp - 4], 2
je 0x405f03
mov eax, 0xd
jmp 0x405f4d
cmp dword [ebp + 0xc], 0
je 0x405f41
cmp dword [ebp - 8], 0
je 0x405f39
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x405f30
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x405f37
mov eax, 0xd
jmp 0x405f4d
jmp 0x405f41
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406250
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43dfd8
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x44d1a4]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
lea ecx, [ebp - 0x20]
call fcn.00406440
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x23c]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00406150
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4062e1
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x230], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00406420
mov eax, dword [ebp - 0x230]
jmp 0x406380
mov dword [ebp - 0x10], 0x100
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40634e
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00406250
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x406345
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x234], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00406420
mov eax, dword [ebp - 0x234]
jmp 0x406380
mov dword [ebp - 0x10], 0x100
jmp 0x4062e8
lea ecx, [ebp - 0x20]
call fcn.004063d0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.004061c0
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00406420
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0041be5c
mov esp, ebp
pop ebp
ret 4
Function at 0x416060
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x416069
xor ecx, ecx
jne 0x416069
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x41608a
mov eax, 0xd
jmp 0x4160e5
xor eax, eax
jne 0x416071
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x41609b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8