joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410cc0
Capabilities:
Move file
Print debug messages

Disassembly:
sub esp, 0x408
mov eax, dword [0x461054]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
mov ebx, dword [esp + 0x410]
push esi
push edi
mov edi, dword [esp + 0x41c]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x410cef
mov eax, dword [edi]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x410cf9
mov ecx, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push eax
push ecx
call esi
test eax, eax
jne 0x410e20
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 0x20
je 0x410d83
call ebp
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [esp + 0x10]
push esi
push eax
push 0x11f
push str.install.cpp
lea eax, [esp + 0x28]
push 0x44b884
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x410d73
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x410d73
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call ebp
cmp eax, 0x20
jne 0x410dfe
cmp dword [edi + 0x14], 8
jb 0x410d92
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x410d9a
mov ebx, dword [ebx]
push 5
push edi
push ebx
call esi
test eax, eax
jne 0x410e19
call ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push esi
push eax
push 0x122
push str.install.cpp
lea eax, [esp + 0x28]
push 0x44b884
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x410df7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x410df7
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call ebp
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.0042cc35
add esp, 0x408
ret
mov eax, 4
jmp 0x410e00
mov ecx, dword [esp + 0x410]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042cc35
add esp, 0x408
ret
Function at 0x411810
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x410
mov eax, dword [0x461054]
xor eax, esp
mov dword [esp + 0x40c], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x424]
push edi
mov edi, dword [esp + 0x420]
mov eax, dword [esi + 4]
test eax, eax
je 0x4118c9
push dword [esp + 0x424]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0
push eax
xor eax, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
setne al
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x4118e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push esi
push eax
push 0xa4
push 0x44b930
lea eax, [esp + 0x2c]
push 0x44b884
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x4118c2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4118c2
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [edi + 4], 0
mov ecx, dword [esp + 0x418]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042cc35
add esp, 0x410
ret 0xc
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x41196b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push esi
push eax
push 0x96
push 0x44b930
lea eax, [esp + 0x2c]
push 0x44b884
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x41195a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41195a
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
mov byte [edi + 4], al
jmp 0x4118cd
mov ecx, dword [esp + 0xc]
mov al, 1
mov dword [edi], ecx
mov byte [edi + 4], al
jmp 0x4118cd
Function at 0x414b20
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x461054]
xor eax, esp
mov dword [esp + 0x400], eax
push edi
mov edi, ecx
push 0
push 0
lea ecx, [edi + 8]
call fcn.0040ccc0
push 0
push 0
lea ecx, [edi + 0x20]
call fcn.0040ccc0
mov eax, dword [edi + 4]
test eax, eax
je 0x414bcb
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
test ebx, ebx
je 0x414bc3
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push esi
push eax
push 0x40
push 0x44be9c
lea eax, [esp + 0x24]
push 0x44beac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x414bba
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x414bba
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop ebp
mov dword [edi + 4], 0
pop ebx
mov ecx, dword [esp + 0x404]
pop edi
xor ecx, esp
call fcn.0042cc35
add esp, 0x404
ret

Function at 0x414bf0
Capabilities:
Print debug messages
Set registry value

Disassembly:
sub esp, 0x41c
mov eax, dword [0x461054]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x424]
push esi
mov esi, dword [esp + 0x424]
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x414cc6
push eax
lea ecx, [esp + 0xc]
call fcn.00405fb0
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], 8
lea ecx, [eax + eax]
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
cmp dword [esi + 0x14], 8
jb 0x414c47
mov esi, dword [esi]
push ecx
push eax
push 1
push 0
push esi
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x414cbd
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push esi
push eax
push 0xf3
push 0x44be9c
lea eax, [esp + 0x38]
push 0x44beac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x414cb5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x414cb5
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
lea ecx, [esp + 8]
call fcn.00407b10
mov ecx, dword [esp + 0x420]
pop edi
pop esi
xor ecx, esp
call fcn.0042cc35
add esp, 0x41c
ret 8
Function at 0x4152d0
Capabilities:
Print debug messages
Set registry value

Disassembly:
sub esp, 0x404
mov eax, dword [0x461054]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x415370
push edi
push 8
lea ecx, [esp + 0x410]
push ecx
push 0xb
push 0
push 0x44becc
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x41536f
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push esi
push eax
push 0x5d
push 0x44be9c
lea eax, [esp + 0x20]
push 0x44beac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x415366
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415366
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0042cc35
add esp, 0x404
ret 8
Function at 0x415ae0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x461054]
xor eax, esp
mov dword [esp + 0x40c], eax
mov eax, dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [esp], xmm0
test eax, eax
je 0x415bd3
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 8
push ecx
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x44becc
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
xor eax, eax
cmp edi, 2
cmove edi, eax
test edi, edi
je 0x415bb5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push esi
push eax
push 0x54
push 0x44be9c
lea eax, [esp + 0x2c]
push 0x44beac
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
call fcn.004135e0
test eax, eax
je 0x415b8e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415b8e
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop esi
pop ebx
pop edi
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.0042cc35
add esp, 0x410
ret
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
pop edi
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.0042cc35
add esp, 0x410
ret
mov ecx, dword [esp + 0x40c]
mov eax, dword [esp]
xor ecx, esp
mov edx, dword [esp + 4]
call fcn.0042cc35
add esp, 0x410
ret
Function at 0x42c280
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44aa6d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x461054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
push 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.00415c28
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push 0x44cbd0
push eax
call fcn.00416149
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
call fcn.00416e7c
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
push eax
call fcn.00416194
add esp, 0x10
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x42c360
push eax
call fcn.00430e0d
add esp, 4
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x42c37b
push eax
call fcn.00430e0d
add esp, 4
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x42c396
push eax
call fcn.00430e0d
add esp, 4
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x42c3b1
push eax
call fcn.00430e0d
add esp, 4
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x42c3cc
push eax
call fcn.00430e0d
add esp, 4
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x42c3e7
push eax
call fcn.00430e0d
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0
call fcn.00415c80
mov dword [esi], vtable.boost::program_options::detail::utf8_codecvt_facet.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x43b02c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x450890
push 0x450888
push 0x44e4b0
push 0x1e
call fcn.0043af15
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43b060
push dword [ebp + 8]
mov ecx, esi
call dword [0x44b1fc]
call esi
jmp 0x43b066
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43b0aa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4508a0
push 0x450898
push 0x44e4d4
push 0x20
call fcn.0043af15
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43b0e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x44b1fc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x44009a
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x461054]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4400e5
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00440239
test al, al
jne 0x4400df
sub edx, 2
cmp edx, edi
jne 0x4400c5
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x440107
lea eax, [edi + 2]
cmp edx, eax
je 0x440107
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0043ffe6
add esp, 0x10
jmp 0x440201
push esi
lea ecx, [ebp - 0x255]
call fcn.00440239
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44014a
push dword [ebp - 0x25c]
jmp 0x4400f7
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x440187
cmp word [ebp - 0x226], 0
je 0x4401a8
cmp word [ebp - 0x226], ax
jne 0x440187
cmp word [ebp - 0x224], 0
je 0x4401a8
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0043ffe6
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4401f4
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x440161
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4401dc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x440201
push 0x43fe16
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00445600
add esp, 0x10
jmp 0x4401d1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cc35
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
mov ecx, 0x250a775d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x3ffa3d46
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..pdata
mov ebx, 0x408ecc
nop
mov ecx, 0x173e3fd0
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x403e77f5
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4059fa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x430270], 0x44
push eax
xor eax, eax
push 0x430270
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405a39
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405a3d
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405adb
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405ee2
mov edi, eax
cmp edi, 0xffffffff
je 0x405b1c
test byte [esp + 0x10], 1
push esi
je 0x405afe
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405b04
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405b0d
xor eax, eax
inc eax
jmp 0x405b1e
test byte [esp + 0x10], 4
jne 0x405b1c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x401000
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push 0xffffffffffffffff
push 0x46bd4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov eax, dword [0x47ccec]
mov dword [esp + 0x1c], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x28]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x20], 3
call fcn.004602f3
mov eax, dword [esp + 0x28]
cmp dword [eax - 8], esi
jle 0x40109b
push ebx
mov ebx, dword [esp + 0x30]
mov al, byte [esi + eax]
xor ecx, ecx
mov cl, bh
xor cl, al
push ecx
push esi
lea ecx, [esp + 0x14]
call fcn.00460645
mov edx, dword [esp + 0xc]
movzx ax, byte [esi + edx]
add eax, ebx
mov ebx, 0x58bf
lea ecx, [eax + eax*2]
shl ecx, 4
sub ecx, eax
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x2c]
sub ebx, edx
inc esi
cmp esi, dword [eax - 8]
jl 0x401056
pop ebx
lea eax, [esp + 8]
lea ecx, [esp + 0x28]
push eax
call fcn.004602f3
lea ecx, [esp + 8]
call fcn.00460189
mov eax, dword [esp + 0x28]
xor edi, edi
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x40112f
mov cl, byte [edi + eax]
push 0x47c0d0
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x10]
mov esi, dword [esp + 0x30]
and esi, 0xff
call fcn.00460343
mov eax, 0x4ec4ec4f
lea ecx, [esp + 0xc]
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
add dl, 0x41
push edx
push 0
call fcn.00460645
mov eax, esi
mov ecx, 0x1a
cdq
idiv ecx
lea ecx, [esp + 0xc]
add dl, 0x41
push edx
push 1
call fcn.00460645
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00460596
mov eax, dword [esp + 0x28]
inc edi
cmp edi, dword [eax - 8]
jl 0x4010bf
mov esi, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0045ff73
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.004601fe
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.004601fe
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.004601fe
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x401d90
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x46bdb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push str.._formula.ini
lea ecx, [esp + 0xc]
call fcn.00460228
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0x96
push str.OverTime
push str.Formula
mov dword [esp + 0x24], 0
call edi
mov ecx, dword [esp + 8]
mov dword [esi + 0x5c], eax
push ecx
push 0x64
push str.Errand
push str.Formula
call edi
mov edx, dword [esp + 8]
mov dword [esi + 0x60], eax
push edx
push 0xa
push str.Late
push str.Formula
call edi
mov dword [esi + 0x64], eax
mov eax, dword [esp + 8]
push eax
push 0x32
push str.Absent
push str.Formula
call edi
push 0
mov ecx, esi
mov dword [esi + 0x68], eax
call fcn.00462a8d
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004601fe
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret