joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58a57b
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0058a4f7
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x58a6ea
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x58a6ea
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x58a69f
jg 0x58a5d7
test eax, eax
je 0x58a695
push 1
push 0x1000
call fcn.00581acf
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x58a5fa
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x58a68c
push 0x8000
push ebx
call fcn.0057cc55
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x58a623
jg 0x58a61e
cmp ecx, 0x1000
jb 0x58a623
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0057ffff
add esp, 0x10
cmp eax, 0xffffffff
je 0x58a668
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x58a61e
jl 0x58a64f
test ecx, ecx
jne 0x58a610
push dword [ebp - 0xc]
push ebx
call fcn.0057cc55
push esi
call fcn.0057e131
add esp, 0xc
xor ebx, ebx
jmp 0x58a6f8
cmp byte [edi + 0x24], 0
je 0x58a67f
cmp dword [edi + 0x20], 5
jne 0x58a67f
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x58a68a
mov ebx, dword [edi + 0x18]
jmp 0x58a68c
xor ebx, ebx
push esi
call fcn.0057e131
pop ecx
jmp 0x58a6f8
test ecx, ecx
jg 0x58a661
jl 0x58a69f
test eax, eax
jae 0x58a661
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0057f4c5
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x58a6bf
cmp byte [edi + 0x1c], 0
je 0x58a661
jmp 0x58a6f0
push ebx
call fcn.0057ae38
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x58a661
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x58a6f8
cmp byte [edi + 0x1c], 0
je 0x58a6f5
mov ebx, dword [edi + 0x18]
jmp 0x58a6f8
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0057f4c5
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x58b2a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x58b2cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x58b2cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4016b9
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0xaca
jge 0x4016d4
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp edi, 0x45be4d9
jg 0x4016ee
inc edi
cmp edi, 0x332fe31
jl 0x4016c5
cmp dword [0x2095a4c], 0x400
jne 0x401753
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push esi
call fcn.00401cc2
call fcn.00401b51
push esi
call fcn.0040217a
push esi
call fcn.00401fda
pop ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00401ec0
fstp st(0)
mov eax, esp
mov dword [eax], esi
push ecx
mov dword [eax + 4], esi
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00401b90
fstp st(0)
add esp, 0x10
xor edi, edi
cmp edi, 0xd036
jge 0x401765
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0xd2ced2
jg 0x40178b
inc edi
cmp edi, 0x263ff
jl 0x401755
mov eax, dword [0x448da4]
mov dword [0x2095a4c], eax
call fcn.0040143c
mov edi, 0x3078f
cmp dword [0x2095a4c], 0x51f
jne 0x4017b7
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
dec edi
jne 0x40179f
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x405860
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e440]
jne 0x40586a
repz ret
jmp fcn.0040858a
Function at 0x406fe5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42e440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404a88
and dword [ebp - 0x14], 0
cmp dword [0x4538c8], 0
mov dword [ebp - 0x18], eax
jne 0x407098
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407140
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407140
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4538c8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4538cc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4538d0], eax
call edi
push eax
call esi
mov dword [0x4538d8], eax
test eax, eax
je 0x407098
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4538d4], eax
mov eax, dword [0x4538d4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4070f1
cmp dword [0x4538d8], ecx
je 0x4070f1
push eax
call esi
push dword [0x4538d8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4070f1
test ebx, ebx
je 0x4070f1
call edi
test eax, eax
je 0x4070e8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4070e8
test byte [ebp - 8], 1
jne 0x4070f1
or dword [ebp + 0x10], 0x200000
jmp 0x407124
mov eax, dword [0x4538cc]
cmp eax, dword [ebp - 0x18]
je 0x407124
push eax
call esi
test eax, eax
je 0x407124
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407124
mov eax, dword [0x4538d0]
cmp eax, dword [ebp - 0x18]
je 0x407124
push eax
call esi
test eax, eax
je 0x407124
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4538c8]
call esi
test eax, eax
je 0x407140
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407142
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405860
leave
ret
Function at 0x402ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x409014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402f68
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402f48
xor eax, eax
push ebp
push 0x402f41
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 0x402f84
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 0x402f48
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x409014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x409014], ax
mov esp, ebp
pop ebp
ret

Function at 0x403834
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x56c044], 0
je 0x403895
cmp word [0x56c218], 0xd7b2
jne 0x40385d
cmp dword [0x56c220], 0
jbe 0x40385d
mov eax, 0x56c214
call dword [0x56c230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40905c
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 0x4038bc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409020], 0
jne 0x4038b1
push 0
push 0x409054
push 0x40905c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4046d8
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 0x40473e
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.00403c00
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ac4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404728
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404745
lea eax, [ebp - 0x10]
call fcn.004039b8
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403d88
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x405955
test al, 0x10
jne 0x405959
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4065b0
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 0x4065e9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403aa8
jmp 0x4065f2
mov eax, ebx
mov edx, esi
call fcn.00403a0c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4065fc
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 0x40661d
mov al, byte [esp]
jmp 0x40661f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x406cb4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x406b1c
mov eax, dword [0x56be7c]
cmp byte [eax], 0
je 0x406d30
mov eax, dword [0x56bdd8]
call fcn.00402a40
call fcn.00402968
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00405a84
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x406d78
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x406d66
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x56bdb8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x56c660]
call fcn.004040a8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x407754
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 0x4077b8
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.00403c00
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040590c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4077bf
lea eax, [ebp - 0xc]
call fcn.004039b8
ret

Function at 0x408298
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403d78
xor eax, eax
push ebp
push 0x40831c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
test esi, esi
je 0x408306
push 0
push 0
push 2
push 0
push 2
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.00403d88
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
je 0x408306
push 0
lea eax, [ebp - 0xc]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
push edi
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408323
lea eax, [ebp - 4]
call fcn.004039b8
ret

Function at 0x4083ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403d78
mov eax, dword [ebp - 8]
call fcn.00403d78
xor eax, eax
push ebp
push 0x4084ba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4083ff
push 0x4084d0
push dword [ebp - 4]
push 0x4084dc
push dword [ebp - 8]
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403cec
lea eax, [ebp - 0x5c]
mov edx, 0x44
call fcn.00404ae4
lea eax, [ebp - 0x18]
mov edx, 0x10
call fcn.00404ae4
mov dword [ebp - 0x5c], 0x44
mov dword [ebp - 0x30], 1
mov word [ebp - 0x2c], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0x8008000
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403d88
push eax
mov eax, dword [ebp - 4]
call fcn.00403d88
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x408494
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0x8008000
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403c78
mov eax, dword [ebp - 0x60]
call fcn.00403d88
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4084c1
lea eax, [ebp - 0x60]
call fcn.004039b8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004039dc
ret
Function at 0x408548
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x408508
call fcn.00404950
xor eax, eax
push ebp
push 0x408653
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x408668
call fcn.0040593c
test al, al
jne 0x40857e
mov eax, 0x408668
call fcn.00405a68
mov eax, 0x40867c
call fcn.0040593c
test al, al
je 0x40859f
push 0
push 0x408688
push 0x40868c
push 0
call sub.user32.dll_MessageBoxA_1
mov edx, 0x409294
mov eax, 0x56c798
mov ecx, 0xda2a8
call fcn.00403aa8
mov edx, dword [0x56c798]
mov eax, 0x408698
call fcn.0040832c
mov eax, 0x40867c
call fcn.0040593c
test al, al
je 0x4085e4
push 0
push 0x408688
push 0x4086b0
push 0
call sub.user32.dll_MessageBoxA_1
mov edx, 0x4e353c
mov eax, 0x56c798
mov ecx, 0x88830
call fcn.00403aa8
mov edx, dword [0x56c798]
mov eax, 0x4086bc
call fcn.0040832c
mov eax, 0x40867c
call fcn.0040593c
test al, al
je 0x408629
push 0
push 0x408688
push 0x4086d0
push 0
call sub.user32.dll_MessageBoxA_1
mov edx, 0x4086bc
mov eax, 0x408698
call fcn.004083ac
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40865a
ret
Function at 0x4253c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x441f9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042d730
add esp, 8
test eax, eax
jne 0x4253ef
mov eax, 0x80004005
jmp 0x425522
push dword [ebp + 0x14]
call fcn.00429a50
add esp, 4
lea ecx, [ebp - 0x1c]
mov edi, eax
mov dword [ebp - 8], edi
call fcn.0042db50
mov esi, dword [ebp + 0x18]
lea ecx, [ebp - 0x1c]
push esi
push edi
call fcn.0042e6f0
test al, al
jne 0x425422
mov esi, 1
jmp 0x425518
test esi, esi
je 0x42547d
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425430
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x42547d
add ebx, ebx
mov eax, ebx
call fcn.00434b20
mov edi, esp
test edi, edi
je 0x42547a
mov edi, dword [ebp - 8]
xor eax, eax

Function at 0x425540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x441f9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0042d730
add esp, 8
test eax, eax
jne 0x42556f
mov eax, 0x80004005
jmp 0x425663
push dword [ebp + 0x14]
call fcn.00429a50
add esp, 4
lea ecx, [ebp - 0x1c]
mov edi, eax
mov dword [ebp - 8], edi
call fcn.0042db50
mov esi, dword [ebp + 0x18]
lea ecx, [ebp - 0x1c]
push esi
push edi
call fcn.0042e6f0
test al, al
jne 0x4255a2
mov esi, 1
jmp 0x425659
test esi, esi
je 0x4255fd
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4255b0
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x4255fd
add ebx, ebx
mov eax, ebx
call fcn.00434b20
mov edi, esp
test edi, edi
je 0x4255fa
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [ebp - 8]
jmp 0x4255ff
mov edi, dword [ebp - 8]
xor eax, eax
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x425657
mov edx, dword [ebp + 0x20]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425626
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea ecx, [ebp - 0x1c]
call fcn.0042dd70
mov eax, esi
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004345b0
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x434da0
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x43c1a8
call fcn.00435030
push 1
call fcn.00434677
pop ecx
test al, al
je 0x434d88
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00434645
mov byte [ebp - 0x24], al
mov eax, dword [0x44281c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x434d88
test eax, eax
jne 0x434cac
mov dword [0x44281c], ecx
push 0x437464
push 0x437454
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x434c8f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x434d78
push 0x437450
push 0x437434
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x44281c], 2
jmp 0x434cb1
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004347cb
pop ecx
call fcn.004358b5
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x434ce2
push esi
call fcn.00434737
pop ecx
test al, al
je 0x434ce2
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x437430]
call esi
call fcn.004358bb
mov esi, eax
cmp dword [esi], edi
je 0x434d00
push esi
call fcn.00434737
pop ecx
test al, al
je 0x434d00
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.004356d9
movzx esi, ax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0043570f
test al, al
je 0x434d8f
test bl, bl
jne 0x434d2e
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.004347e8
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x434d78
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.004355bf
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.004d5000
jmp 0x434c22
Function at 0xb22eec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cld
mov dword [esp], 0x3a5625
call fcn.00b21e72
call fcn.00b21471
lea esi, [esi - 1]
mov byte [esp + 0xc], ah
push ebp
mov word [esp + 0x14], 0x23c9
pushfd
lea esp, [esp + 0x28]
jmp 0xb2367e
Function at 0x405e10
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 0x405e76
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.00404608
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004031d8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e60
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e7d
lea eax, [ebp - 0x10]
call fcn.00404398
ret

Function at 0x40a054
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 0x40a08d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404488
jmp 0x40a096
mov eax, ebx
mov edx, esi
call fcn.004043ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a0a0
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 0x40a0c1
mov al, byte [esp]
jmp 0x40a0c3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a758
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a5c0
mov eax, dword [0x413500]
cmp byte [eax], 0
je 0x40a7d4
mov eax, dword [0x413420]
call fcn.00402f40
call fcn.00402ad8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004079a8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a81c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a80a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4133fc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x414660]
call fcn.004052b8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40b51c
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 0x40b580
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.00404608
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040755c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b587
lea eax, [ebp - 0xc]
call fcn.00404398
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219