joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441c40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x475178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046daed
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004415e0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046da1b
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046a2d9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046a2d9
push 1
push 0
push 0
mov ecx, esi
call fcn.0046a281
push 1
push 0
push 1
mov ecx, esi
call fcn.0046a281
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046db5f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x441dc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x475198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046daed
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004415e0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046da1b
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x441e84
cmp dword [esp + 0x40], 1
jne 0x441e82
cmp ecx, eax
jge 0x441e84
mov eax, ecx
cmp eax, 0xc8
jge 0x441e90
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00441c40
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046db5f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x442600
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x475203
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004686f6
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046dd95
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046f2b1
test eax, eax
je 0x44271c
mov ecx, dword [esp + 0x3c]
call fcn.0046ddc2
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4426e0
push edi
mov ecx, esi
call fcn.0046b423
mov ecx, esi
call fcn.00442880
cmp dword [esp + 0x38], 1
jne 0x442715
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046b55e
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x445140
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445173
push esi
call fcn.00448230
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44516c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4451f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4451e2
mov eax, dword [esi + 8]
test eax, eax
je 0x445197
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4451de
cmp eax, 2
je 0x4451e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44518a
cmp eax, 3
je 0x4451bd
cmp eax, 1
jne 0x44518a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44518a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44518a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445220
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445208
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445220
add esp, 4
pop esi
ret

Function at 0x4504e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x450546
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x450546
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x450527
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4508d0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x450908
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x451540
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x451589
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x451a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004515b0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00451630
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00451630
lea ecx, [esi + 0xc]
call fcn.004670d3
lea ecx, [esi + 0x10]
call fcn.004670d3
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00452bc0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00452bc0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00452bc0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00467148
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00467148
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4694ec
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x469524
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004675a3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046757b
jmp 0x469530
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46abdd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46ac1f
call fcn.00470952
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46ac1f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46ac16
xor eax, eax
jmp 0x46ac27
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046ac2d
pop edi
pop esi
pop ebx
ret 4

Function at 0x470e82
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x470eb0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x470ece
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00470de8
jmp 0x470ece
mov eax, dword [esi + 0x14]
test eax, eax
je 0x470ece
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00470de8
test edi, edi
mov eax, edi
jne 0x470eb8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403e93
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405a69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push edi
mov dword [ebp - 0x13c], ecx
lea ecx, [ebp - 0x130]
call fcn.00405708
mov dword [ebp - 4], 0
mov al, byte [0x409410]
mov byte [ebp - 0x110], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push str._ProgramFiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push 0x4091d4
lea edx, [ebp - 0x110]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CFileFind::FindFile
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x403f59
mov dword [ebp - 0x134], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [ebp - 0x134]
jmp 0x403f7b
mov dword [ebp - 0x138], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x49bf9c
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0049c01b
jae 0x49bfa8
xor ecx, ecx
call fcn.0049c01b
jae 0x49bfd2
xor eax, eax
call fcn.0049c01b
jae 0x49bfe3
mov al, 0x10
call fcn.0049c01b
adc al, al
jae 0x49bfc4
jne 0x49c010
stosb byte es:[edi], al
jmp 0x49bfa9
call fcn.0049c027
dec ecx
loop 0x49bfef
mov eax, ebp
call fcn.0049c025
jmp 0x49c011
lodsb al, byte [esi]
shr eax, 1
je 0x49c037
adc ecx, 2
mov ebp, eax
jmp 0x49c011
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0049c025
cmp eax, 0x7d00
jae 0x49c00f
cmp eax, 0x500
jae 0x49c010
cmp eax, 0x7f
ja 0x49c011
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x49bfa9
pop ebp
ret 8

Function at 0x62c11e
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x62c13e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x62c12a
add dl, dl
jne 0x62c149
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x62c19a
xor eax, eax
add dl, dl
jne 0x62c156
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x62c23b
add dl, dl
jne 0x62c165
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x62c170
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x62c17b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x62c186
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x62c190
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x62c135
mov eax, 1
add dl, dl
jne 0x62c1a8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x62c1b3
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x62c19f
sub eax, ebx
mov ebx, 1
jne 0x62c1e6
mov ecx, 1
add dl, dl
jne 0x62c1cc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x62c1d7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x62c1c3
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x62c135
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x62c1fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x62c208
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x62c1f4
cmp eax, 0x7d00
jae 0x62c22b
cmp eax, 0x500
jb 0x62c226
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x62c135
cmp eax, 0x7f
ja 0x62c22e
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x62c135
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x62c25c
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x62c135
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x40299b
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408703
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x138], 0
mov dword [ebp - 0x134], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
je 0x402a79
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x144]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x144]
push ecx
call fcn.004052b0
and eax, 0xff
test eax, eax
je 0x402a4f
mov byte [ebp - 0x138], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.00407f3a
jmp 0x402a79
lea edx, [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x140]
push eax
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.00407f3a
jmp 0x4029ff
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x138]
and edx, 0xff
mov dword [ebp - 0x148], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407f3a
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40343d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov dword [ebp - 0x104], ecx
push 0xff
push 0
lea eax, [ebp - 0x100]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x100]
push ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x100]
push edx
push 0x40b0e8
mov eax, dword [ebp - 0x104]
add eax, 0x124
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0xff
push 0
lea ecx, [ebp - 0x100]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea edx, [ebp - 0x100]
push edx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x40b0ec
lea eax, [ebp - 0x100]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
call fcn.00401950
mov ecx, dword [eax + 0x8c]
push ecx
lea edx, [ebp - 0x100]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x40b0f0
lea eax, [ebp - 0x100]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
lea ecx, [ebp - 0x100]
push ecx
push 0x40b0f8
mov edx, dword [ebp - 0x104]
add edx, 0x128
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x406674
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 0x108], ecx
mov dword [ebp - 4], 0
jmp 0x406695
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jge 0x4066c3
push 0x40
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x409930]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x108]
call fcn.0040656b
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x104], eax
jmp 0x40668c
push 0x40
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x108]
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4

Function at 0x4066e1
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 0x108], ecx
mov dword [ebp - 4], 0
jmp 0x406702
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jge 0x406730
push 0x40
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x409970]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x108]
call fcn.0040656b
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x104], eax
jmp 0x4066f9
push 0x40
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x108]
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4

Function at 0x40674e
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 4], 0
jmp 0x40676f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x38
jge 0x40679d
push 0x40
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + str.91__]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xe8]
call fcn.0040656b
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0xe4], eax
jmp 0x406766
push 0x38
lea edx, [ebp - 0xe4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xe8]
call fcn.004065bb
mov esp, ebp
pop ebp
ret 8

Function at 0x4067bb
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 4], 0
jmp 0x4067dc
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x30
jge 0x40680a
push 0x38
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x4099e8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.0040656b
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0xc4], eax
jmp 0x4067d3
push 0x30
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.004065bb
mov esp, ebp
pop ebp
ret 8
Function at 0x406927
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 4], 0
jmp 0x406948
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x30
jge 0x406976
push 0x20
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x409a18]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.0040656b
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0xc4], eax
jmp 0x40693f
push 0x30
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.004065bb
mov esp, ebp
pop ebp
ret 8

Function at 0x406bba
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x88], ecx
mov dword [ebp - 4], 0
jmp 0x406bdb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jge 0x406c09
push 0x20
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x409a48]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.0040656b
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x84], eax
jmp 0x406bd2
push 0x20
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x88]
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
Function at 0x402ab4
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.004045bc
test esi, esi
jne 0x402aea
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.004046ac
jmp 0x402b08
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029c8
mov edi, eax
test esi, esi
je 0x402b08
cmp dword [ebx], 0
je 0x402b08
dec esi
jmp 0x402af1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4036bc
Capabilities:
Query or enumerate registry value

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

Function at 0x404420
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48904c], 0
je 0x404481
cmp word [0x489220], 0xd7b2
jne 0x404449
cmp dword [0x489228], 0
jbe 0x404449
mov eax, 0x48921c
call dword [0x489238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x486070
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 0x4044a8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x486030], 0
jne 0x40449d
push 0
push 0x486068
push 0x486070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret