joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439d40
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x439d6a
mov eax, 2
pop ebp
ret
push esi
call fcn.0042de60
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x439d8a
jmp dword [eax*4 + 0x439dc0]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.0042dfa0
or eax, 0xffffffff
pop esi
pop ebp
ret

Function at 0x439dd0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x44e100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x439ecb
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x439ecb
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x439e2a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x439e08
jmp 0x439ecb
cmp edx, 0x200
jae 0x439f31
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x439ecb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x439eca
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x439eca
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x439f13
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x439eb0
pop edi
mov eax, dword [0x451968]
test eax, eax
jne 0x439ef1
push 0x4474b8
call fcn.0043ac40
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x439eec
or eax, 0xffffffff
mov dword [0x451968], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x439f1f
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ccae
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x439eca
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ccae
mov esp, ebp
pop ebp
ret
call fcn.0042cf45
int3

Function at 0x43a230
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.0043a260
mov esi, dword [ebp + 8]
test al, al
je 0x43a24e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.0043a270
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x43a3a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43a3fc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43a3fc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43a3fc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43a3fc
cmp dword [ecx + 0x74], 0xe
jbe 0x43a3fc
cmp dword [ecx + 0xe8], 0
je 0x43a3fc
push dword [ebp + 8]
call fcn.0043a270
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x451974
call fcn.0043a040
add esp, 8
cmp dword [ebp - 8], 0
jne 0x43a431
push dword [ebp + 8]
call fcn.0043a230
mov esp, ebp
pop ebp
ret

Function at 0x43a470
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43a4cc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43a4cc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43a4cc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43a4cc
cmp dword [ecx + 0x74], 0xe
jbe 0x43a4cc
cmp dword [ecx + 0xe8], 0
je 0x43a4cc
push dword [ebp + 8]
call fcn.0043a270
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x451974
call fcn.0043a040
add esp, 8
cmp dword [ebp - 8], 0
jne 0x43a501
push dword [ebp + 8]
call fcn.0043a230
mov esp, ebp
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x401240
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413778
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x41a034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x40127a
mov eax, 1
jmp 0x4013e2
lea ecx, [ebp - 0x14]
push ecx
call fcn.004010d0
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0
push str.log.dll
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.004015d0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401590
lea ecx, [ebp - 0x10]
call fcn.0040dde0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4012e4
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.00401590
mov eax, dword [ebp - 0x18]
jmp 0x4013e2
lea ecx, [ebp - 0x10]
call fcn.0040dde0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x24]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x4013d0
push str.RealTimeReportLog
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
push str.DelayReportLog
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 8], eax
push str.LogFinishMark
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xc], eax
push str.GetCommonInfo
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x14], eax
push str.DelayReportLogNonDotted
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x10], eax
push str.DottedBatchLog
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x18], eax
push str.DottedLogEndMark
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x1c], eax
push str.ReportBatchLogNonDotted
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x20], eax
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x10]
call fcn.00401590
mov eax, dword [ebp - 0x1c]
jmp 0x4013e2
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x10]
call fcn.00401590
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x402bb0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.GlobalMoBoService_704D483F_447E_4B1B_BDBC_4AB660B135A8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402bda
mov eax, 1
jmp 0x402bdc
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x402be0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413aa8
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x41a034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 1
jle 0x402cd1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
movsx edx, byte [ecx]
cmp edx, 0x2d
je 0x402c35
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
movsx edx, byte [ecx]
cmp edx, 0x2f
jne 0x402cd1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
add ecx, 1
push ecx
lea ecx, [ebp - 0x10]
call fcn.00402d60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040dde0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.install
lea ecx, [ebp - 0x10]
call fcn.00402e40
test eax, eax
jne 0x402ca2
push 0
push 0
push 0
push 2
push 0x41563c
push 0x415660
call fcn.00411b00
add esp, 0x18
push 0x415684
call fcn.00411e20
add esp, 4
push str.Service_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x402cc0
push str.remove
lea ecx, [ebp - 0x10]
call fcn.00402de0
test eax, eax
jne 0x402cc0
push 0x4156cc
call fcn.00411c60
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401590
jmp 0x402d22
call fcn.00402bb0
test eax, eax
je 0x402cde
xor eax, eax
jmp 0x402d24
push str.MobogenieService
lea ecx, [ebp - 0xc4]
call fcn.00411060
lea edx, [ebp - 0xc4]
push edx
call fcn.004112f0
add esp, 4
test eax, eax
jne 0x402d0c
push str.Service_run_failed_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Service_run_ok_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xc4]
call fcn.00411100
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004122f0
mov esp, ebp
pop ebp
ret

Function at 0x403150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.00403130
test eax, eax
jne 0x4031c4
cmp dword [ebp + 8], 0
je 0x4031c4
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 8]
xor eax, eax
cmp dword [ecx + 0xc], 0
setne al
jmp 0x4031c6
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4031d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00403130
test eax, eax
je 0x403242
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40320d
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov esp, ebp
pop ebp
ret
Function at 0x4036a0
Capabilities:
Enumerate processes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1248
call fcn.00412c70
mov eax, dword [0x41a034]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1248], ecx
mov dword [ebp - 0x23c], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x403729
xor eax, eax
mov word [ebp - 0xa40], ax
push 0x7fe
push 0
lea ecx, [ebp - 0xa3e]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CreateToolhelp32Snapshot_error____d
lea edx, [ebp - 0xa40]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0xa40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x403808
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40379a
xor eax, eax
mov word [ebp - 0x1240], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x123e]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Process32FirstW_error__d
lea edx, [ebp - 0x1240]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x1240]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4037ed
mov dword [ebp - 0x1244], 0
lea ecx, [ebp - 0x1244]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x4037ed
mov eax, dword [ebp - 0x1244]
cmp eax, dword [ebp + 0xc]
jne 0x4037ed
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x23c], ecx
jmp 0x403802
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40379a
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004122f0
mov esp, ebp
pop ebp
ret 8
Function at 0x404320
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41344b
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x41a034]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x82c], ecx
lea eax, [ebp - 0x820]
push eax
mov ecx, dword [ebp - 0x82c]
call fcn.004045f0
mov dword [ebp - 0x830], eax
mov ecx, dword [ebp - 0x830]
mov dword [ebp - 0x834], ecx
mov dword [ebp - 4], 0
push str.ConfConf.ini
mov edx, dword [ebp - 0x834]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.004015d0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x820]
call fcn.00401590
mov ecx, dword [0x414fcc]
mov dword [ebp - 0x81c], ecx
push 0x7fc
push 0
lea edx, [ebp - 0x818]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.0040dde0
push eax
push 0x400
lea eax, [ebp - 0x81c]
push eax
push 0
push str.alwaysOpen
push str.info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x81c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401510
mov byte [ebp - 4], 3
push 0x414ff4
lea ecx, [ebp - 0x10]
call fcn.00402de0
test eax, eax
jne 0x40443f
mov dword [ebp - 0x824], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401590
mov eax, dword [ebp - 0x824]
jmp 0x404487
mov dword [ebp - 0x828], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401590
mov eax, dword [ebp - 0x828]
jmp 0x404487
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004122f0
mov esp, ebp
pop ebp
ret
Function at 0x406ae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413138
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x41a034]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x14]
call fcn.004014d0
mov dword [ebp - 4], 0
movzx ecx, word [ebp - 0xa6]
push ecx
movzx edx, word [ebp - 0xaa]
push edx
movzx eax, word [ebp - 0xac]
push eax
push 0x415370
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040c120
add esp, 0x14
mov dword [ebp - 0x10], 1
xor edx, edx
mov word [ebp - 0x9c], dx
push 0x7e
push 0
lea eax, [ebp - 0x9a]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0xb0], 0x40
lea ecx, [ebp - 0xb0]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x415384
push 0x415398
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402e40
test eax, eax
jne 0x406bde
mov dword [ebp - 0xb4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401590
mov eax, dword [ebp - 0xb4]
jmp 0x406bfd
mov dword [ebp - 0xb8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401590
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004122f0
mov esp, ebp
pop ebp
ret

Function at 0x406c20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413108
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x41a034]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x14]
call fcn.004014d0
mov dword [ebp - 4], 0
movzx ecx, word [ebp - 0x22]
push ecx
movzx edx, word [ebp - 0x26]
push edx
movzx eax, word [ebp - 0x28]
push eax
push str._d__d__d
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040c120
add esp, 0x14
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x14]
call fcn.00401850
shl eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0040dde0
push eax
mov edx, dword [ebp - 0x10]
push edx
push str.senddate
push str.SoftwareMobogenie
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401590
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004122f0
mov esp, ebp
pop ebp
ret
Function at 0x409ed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413548
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x41a034]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x44], 0
je 0x409f10
mov ecx, dword [ebp - 0x54]
movzx edx, byte [ecx + 0x4a]
test edx, edx
jne 0x409f1c
mov al, 1
jmp 0x40a0c6
mov dword [ebp - 0x10], 8
call fcn.00410470
movzx eax, ax
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx + 0xc]
call eax
mov word [ebp - 0x3a], ax
call fcn.00410470
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x3a]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.004101f0
add esp, 8
movzx eax, al
test eax, eax
je 0x409f64
xor al, al
jmp 0x40a0c6
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.004103a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x34]
call fcn.00409330
mov ecx, eax
call fcn.004091b0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00411040
add esi, eax
push esi
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x34]
call fcn.00409330
mov ecx, eax
call fcn.004091b0
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x4c
push ecx
mov edx, dword [ebp - 0x54]
mov ecx, dword [edx + 0x44]
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_wchar_t__char__int_::unshift_int___char___char___char___const]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x409fe0
cmp dword [ebp - 0x58], 1
je 0x409fe7
cmp dword [ebp - 0x58], 3
je 0x40a082
jmp 0x40a09a
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x4a], 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00409330
mov ecx, eax
call fcn.004091b0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40a04b
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00409330
mov ecx, eax
call fcn.004091b0
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40a04b
mov byte [ebp - 0x4d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00410870
mov al, byte [ebp - 0x4d]
jmp 0x40a0c6
mov ecx, dword [ebp - 0x54]
movzx edx, byte [ecx + 0x4a]
test edx, edx
jne 0x40a06e
mov byte [ebp - 0x4e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00410870
mov al, byte [ebp - 0x4e]
jmp 0x40a0c6
cmp dword [ebp - 0x38], 0
jne 0x40a080
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00410250
jmp 0x40a0b2
mov byte [ebp - 0x4f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00410870
mov al, byte [ebp - 0x4f]
jmp 0x40a0c6
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00410870
mov al, byte [ebp - 0x50]
jmp 0x40a0c6
jmp 0x409f77
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004122f0
mov esp, ebp
pop ebp
ret