joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422940
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
mov eax, dword [0x43ca58]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
mov esi, ecx
push edi
push 0
mov ecx, dword [esi + 0xaa0]
push 0
add eax, 0x558
push 0x1009
push ecx
mov dword [esp + 0x20], eax
call ebx
mov edx, dword [esi + 0xaa0]
push 0
push 0
push 0x101c
push edx
call ebx
mov eax, dword [esi + 0xaa0]
push 0
push 1
push 0x101c
push eax
call ebx
mov ebp, dword [sym.imp.IndFile.dll_public:_static_class_CString_const____cdecl_Tool_Resource::loadString_unsigned_int_]
push 0x66
call ebp
mov eax, dword [eax]
add esp, 4
lea edi, [esi + 0xa80]
push 0xffffffffffffffff
push 0x64
push 0
push eax
push 0
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::InsertColumn
push 0x67
call ebp
mov eax, dword [eax]
add esp, 4
mov ecx, edi
push 0xffffffffffffffff
push 0xa0
push 0
push eax
push 1
call sub.MFC42.DLL_CListCtrl::InsertColumn
push 0x4001
lea ecx, [esp + 0x18]
push 0x160
push ecx
push 0x10
push 0x43c86c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test edi, edi
jne 0x4229fb
xor ecx, ecx
jmp 0x4229fe
mov ecx, dword [edi + 0x20]
push eax
push 1
push 0x1003
push ecx
call ebx
test edi, edi
je 0x422a10
mov edi, dword [edi + 0x20]
push 0x420
push 0
push 0x1036
push edi
call ebx
xor edi, edi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
test eax, eax
je 0x422a4e
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x422a4e
mov eax, dword [eax + edi*4]
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
push ecx
push eax
push edx
mov ecx, esi
call fcn.00422aa0
inc edi
jmp 0x422a21
push 0
push 0
push 0
push 0x10
push 0x10
push 0xb6
lea ecx, [esi + 0x90]
call fcn.004083d0
push 0
push 0
push 0
push 0x10
push 0x10
push 0xb7
lea ecx, [esi + 0x588]
call fcn.004083d0
mov ecx, esi
call fcn.00423010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret

Function at 0x423880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42df4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString_2
push 0xffffffffffffffff
push 0
push 0
push 0xd
push 1
push 1
push 0x7d4
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], 0
mov dword [esi], 0x433a80
mov dword [esi + 4], 1
call sub.MFC42.DLL_CTime::CTime
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov dword [esi + 8], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4239c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42df6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
mov edi, ecx
push 1
push str.Index_Time_Option
push str.Settings
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0xd
push str.EveryDayTimeHour
push str.Settings
mov ecx, esi
mov dword [edi + 4], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0
push str.EveryDayTimeMinutes
push str.Settings
mov ecx, esi
mov ebx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0
push str.EveryDayTimeSecond
push str.Settings
mov ecx, esi
mov ebp, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0xffffffffffffffff
push eax
push ebp
push ebx
push 1
push 1
push 0x7d4
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CTime::CTime
mov eax, dword [eax]
push 0
push str.IndexCacheLocation
lea ecx, [esp + 0x18]
push str.Settings
push ecx
mov ecx, esi
mov dword [edi + 8], eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
lea esi, [edi + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x124], 0
call fcn.00429cec
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi]
mov eax, dword [edx - 8]
test eax, eax
jne 0x423ad6
mov eax, dword [0x43ca58]
test eax, eax
je 0x423aae
mov eax, dword [eax + 0x20]
push 1
lea ecx, [esp + 0x18]
push 0x1a
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::operator_2
push str.TurboSearcher
mov ecx, esi
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 4

Function at 0x423c30
Capabilities:
Get file system object information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42dfcb
push eax
mov dword fs:[0], esp
sub esp, 0x164
push esi
mov esi, dword [esp + 0x178]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x423cc6
push 0x43c3f0
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
push esi
lea ecx, [esp + 8]
mov dword [esp + 0x174], 0
call fcn.00429de8
mov edx, dword [esp + 4]
push 0x4410
lea ecx, [esp + 0xc]
push 0x160
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x118]
push ecx
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 4]
mov dword [esp + 0x170], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x168]
pop esi
mov dword fs:[0], ecx
add esp, 0x170
ret
Function at 0x4269f0
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x42e436
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push 1
lea eax, [esp + 0xc]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
push str.TurboSearcher_
lea ecx, [esp + 4]
mov dword [esp + 0x118], 0
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp]
push edx
call dword [sym.imp.IndFile.dll_public:_static_unsigned_long_int___cdecl_Tool_Resource::isFileOrFolderExist_char_const__]
add esp, 4
test eax, eax
je 0x426a62
mov eax, dword [esp]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp]
push ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
push str.TSSetting.trg
lea ecx, [esp + 8]
mov byte [esp + 0x118], 1
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov byte [esp + 0x114], 0
lea ecx, [esp + 4]
jne 0x426ad2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x114], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
add esp, 0x118
ret
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x114], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10c]
xor al, al
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x427320
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x42e5c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
push str.Turbo_Searcher
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
mov dword [esp + 0x18], eax
jne 0x427367
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
mov edi, dword [sym.imp.IndFile.dll_public:_static_class_CString_const____cdecl_Tool_Resource::loadString_unsigned_int_]
push 0x37
call edi
add esp, 4
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0xc]
mov ebp, dword [sym.imp.USER32.dll_FindWindowA]
push eax
push 0
mov dword [esp + 0x54], 0
call ebp
mov esi, eax
test esi, esi
jne 0x427434
push 0x5e
call edi
add esp, 4
lea ecx, [esp + 0x14]
push eax
push 0x43c400
push ecx
call sub.MFC42.DLL_operator
push 0x43c3fc
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x58], 1
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 2
call fcn.00429de8
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xc]
push eax
push esi
call ebp
mov esi, eax
test esi, esi
jne 0x427434
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x427448
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x42746b
push 2
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0xf120
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x20]
call fcn.0041dde0
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
mov ecx, edi
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_CWinApp::ParseCommandLine
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4274d1
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
test ax, ax
je 0x4274d1
xor edx, edx
and eax, 0xffff
mov dl, byte [edi + 0xc6]
push eax
push edx
push 0x47b
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 0
call fcn.0041de20
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x4285a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42e766
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
mov edx, ecx
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [edx + 0x40]
lea eax, [esp + 0x1c]
push eax
call fcn.00427c90
xor edi, edi
mov byte [esp + 0x30], 1
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x42ff24
lea ecx, [esp + 0x1c]
mov dword [esp + 0x98], edi
push ecx
mov dword [esp + 0x14], edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0xa0]
cmp eax, edi
je 0x428627
mov edx, dword [esi]
lea eax, [esp + 8]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov dword [esp + 0x10], eax
push ebx
push ebp
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::SetTextAlign
push 1
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
mov ebp, eax
mov eax, dword [esp + 0xb0]
mov edi, dword [esp + 0xac]
mov eax, dword [eax]
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x24]
mov ebx, dword [eax - 8]
mov dword [esp + 0x1c], ebx
push dword [esp + 0x1c]
mov ebx, dword [esi]
push eax
push ecx
push edx
mov ecx, esi
call dword [ebx + 0x64]
push ebp
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi + 8]
lea ecx, [esp + 0x60]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esp + 0x60]
mov edx, dword [edi + 0x28]
mov ecx, dword [edi + 0x24]
add edx, eax
mov eax, edx
mov dword [edi + 0x28], edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x18]
pop ebp
test eax, eax
pop ebx
je 0x4286c7
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
lea ecx, [esp + 8]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 8], 0x42ff10
lea ecx, [esp + 8]
mov dword [esp + 0x98], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x90]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x94
ret 0xc
Function at 0x410370
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x41038a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410391
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410380
mov eax, 1
add ebx, ebx
jne 0x4103a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410398
jne 0x4103b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410398
xor ecx, ecx
sub eax, 3
jb 0x4103c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41043a
mov ebp, eax
add ebx, ebx
jne 0x4103d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4103e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x410404
inc ecx
add ebx, ebx
jne 0x4103f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4103e5
jne 0x410401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4103e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x410424
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x410415
jmp 0x410386
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x410424
add edi, ecx
jmp 0x410386
pop esi
mov edi, esi
mov ecx, 0x277
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x410442
cmp byte [edi], 5
jne 0x410442
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x410447
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x4104b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x128f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12944]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x410474
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12948]
or eax, eax
je 0x4104b0
mov dword [ebx], eax
add ebx, 4
jmp 0x410491
call dword [esi + 0x12958]
mov ebp, dword [esi + 0x1294c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4104ea
sub esp, 0xffffff80
jmp 0x4027e0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402ac0
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.004046a4
test esi, esi
jne 0x402af6
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.00404794
jmp 0x402b14
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402974
mov edi, eax
test esi, esi
je 0x402b14
cmp dword [ebx], 0
je 0x402b14
dec esi
jmp 0x402afd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030e4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x46e008], 0x8088405
inc edx
mov dword [ebx + 0x46e008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403698
Capabilities:
Query or enumerate registry value

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

Function at 0x404484
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47104c], 0
je 0x4044e5
cmp word [0x471220], 0xd7b2
jne 0x4044ad
cmp dword [0x471228], 0
jbe 0x4044ad
mov eax, 0x47121c
call dword [0x471238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46e074
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 0x40450c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46e034], 0
jne 0x404501
push 0
push 0x46e06c
push 0x46e074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404658
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040274c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x47104d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404620
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406828
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 0x40688e
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.00404924
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403100
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406878
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406895
lea eax, [ebp - 0x10]
call fcn.004046a4
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404b74
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408d29
test al, 0x10
jne 0x408d2d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x408e1c
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404b74
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x408e30
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404b74
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x408e52
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40bd14
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 0x40bd4d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404794
jmp 0x40bd56
mov eax, ebx
mov edx, esi
call fcn.004046f8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bd60
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 0x40bd81
mov al, byte [esp]
jmp 0x40bd83
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40c408
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c280
mov eax, dword [0x46ff80]
cmp byte [eax], 0
je 0x40c484
mov eax, dword [0x46fd60]
call fcn.00402f38
call fcn.00402894
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.00409330
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 0x40c4cc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c4ba
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46fd14]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x471668]
call fcn.00405cec
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 0x40d35c
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 0x40d3c0
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.00404924
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040888c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d3c7
lea eax, [ebp - 0xc]
call fcn.004046a4
ret

Function at 0x41c494
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041c2ec
dec esi
jne 0x41c4b6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x420244
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x4202d8
push 0
mov eax, ebx
call fcn.00404b74
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x4202b3
mov eax, esi
call fcn.00404974
inc eax
push eax
mov eax, esi
call fcn.00404b74
push eax
push 1
push 0
mov eax, edi
call fcn.00404b74
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x4202ce
mov ecx, dword [0x46fd7c]
mov dl, 1
mov eax, dword [0x41e998]
call fcn.0040c58c
call fcn.00404060
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4