joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435df0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48e508
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x435e29
inc eax
mov dword [esi + 0x10], eax
jmp 0x435f3c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x435e3d
mov eax, 0xffffffc7
jmp 0x435f3e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x435e4e
cmp dword [esi + 8], eax
jne 0x435e3d
cmp dword [esi + 8], eax
jne 0x435e67
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x435e67
mov eax, 0xffffffc7
jmp 0x435f3e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x435e7b
push eax
mov ecx, ebx
call fcn.00435620
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00408140
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x435eac
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00408160
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00434d90
test eax, eax
mov dword [esp + 0x38], eax
je 0x435edf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5b1a60
call fcn.00408340
mov eax, dword [esp + 0x38]
jmp 0x435f3e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00435c50
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x435f23
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00435c70
mov esi, eax
test esi, esi
jne 0x435f53
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00435c50
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x435ef5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5b1a60
call fcn.00408340
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5b1a60
call fcn.00408340
mov eax, esi
jmp 0x435f3e

Function at 0x43a990
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43a9f0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43a9f0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43a9f0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43a9f0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43aa30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4465a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48edf8
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.00485c04
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00445f00
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.00485b32
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.0048231c
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.0048231c
push 1
push 0
push 0
mov ecx, esi
call fcn.004822c4
push 1
push 0
push 1
mov ecx, esi
call fcn.004822c4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00485c76
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x446720
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48ee18
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.00485c04
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00445f00
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.00485b32
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 0x4467e4
cmp dword [esp + 0x40], 1
jne 0x4467e2
cmp ecx, eax
jge 0x4467e4
mov eax, ecx
cmp eax, 0xc8
jge 0x4467f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004465a0
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.00485c76
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x446ff0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48eec3
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.0048073d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_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.00485eac
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00487404
test eax, eax
je 0x44710c
mov ecx, dword [esp + 0x3c]
call fcn.00485ed9
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 0x4470d0
push edi
mov ecx, esi
call fcn.0048349b
mov ecx, esi
call fcn.004472b0
cmp dword [esp + 0x38], 1
jne 0x447105
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.00483605
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 0x449300
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x449333
push esi
call fcn.004576d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44932c
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 0x4493b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4493a2
mov eax, dword [esi + 8]
test eax, eax
je 0x449357
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 0x44939e
cmp eax, 2
je 0x4493a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44934a
cmp eax, 3
je 0x44937d
cmp eax, 1
jne 0x44934a
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 0x44934a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44934a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004493e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4493c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004493e0
add esp, 4
pop esi
ret

Function at 0x449c60
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x449c81
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x449c81
mov eax, dword [eax + 0x44]
test eax, eax
je 0x449c81
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x481532
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48156a
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.0047f546
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047f51e
jmp 0x481576
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x482c24
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 0x482c66
call fcn.00488906
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x482c66
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x482c5d
xor eax, eax
jmp 0x482c6e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00482c74
pop edi
pop esi
pop ebx
ret 4
Function at 0x488e36
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 0x488e64
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x488e82
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00488d9c
jmp 0x488e82
mov eax, dword [esi + 0x14]
test eax, eax
je 0x488e82
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00488d9c
test edi, edi
mov eax, edi
jne 0x488e6c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40142c
Capabilities:
Identify system language via api
Read .ini file

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x3c]
mov ecx, ebx
call fcn.00406e1e
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
mov ebp, 0x40a0ec
push 0x40a0e4
push ebp
call edi
test eax, eax
setne al
mov ecx, ebx
mov byte [esi + 6], al
call fcn.00406e1e
push eax
push 1
push 0x40a0dc
push ebp
call edi
neg eax
sbb al, al
and byte [esp + 0x10], 0
inc al
lea edi, [esp + 0x11]
mov byte [esi + 5], al
xor eax, eax
mov ecx, ebx
stosw word es:[edi], ax
call fcn.00406e1e
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x14]
push 3
push eax
push 0x40a630
push 0x40a0cc
push ebp
call edi
cmp eax, 1
jne 0x4014be
cmp byte [esp + 0x10], 0x79
je 0x4014ba
cmp byte [esp + 0x10], 0x59
jne 0x4014be
mov byte [esi + 8], 1
mov ecx, ebx
call fcn.00406e1e
push eax
lea eax, [esi + 0x48]
push 0x1f4
push eax
push 0x40a630
push 0x40a0c4
push ebp
call edi
mov ecx, ebx
call fcn.00406e1e
push eax
push 1
mov ebp, 0x40a0b8
push 0x40a0b0
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
and dword [esp + 0x14], 0
mov dword [esi + 0x244], eax
test eax, eax
jle 0x40156a
lea eax, [esi + 0x248]
mov dword [esp + 0x18], eax
push dword [esp + 0x14]
lea eax, [esp + 0x2c]
push 0x40a0a8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, ebx
call fcn.00406e1e
push eax
lea eax, [esp + 0x20]
push 0xa
push eax
lea eax, [esp + 0x34]
push 0x40a0a0
push eax
push ebp
call edi
lea eax, [esp + 0x1e]
push eax
call fcn.00407337
inc dword [esp + 0x18]
pop ecx
mov ecx, dword [esp + 0x18]
add dword [esp + 0x18], 2
mov word [ecx], ax
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x244]
jl 0x401510
mov ecx, ebx
call fcn.00406e1e
push eax
lea eax, [esp + 0x20]
push 0xa
push eax
push 0x40a0a0
push 0x40a098
push ebp
call edi
lea eax, [esp + 0x1e]
push eax
call fcn.00407337
mov word [esi + 0x240], ax
mov ax, word [esi + 0x23c]
pop ecx
push eax
mov ecx, esi
call fcn.00401615
test al, al
jne 0x4015f8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
lea edi, [esi + 0x312]
push eax
mov ecx, esi
mov word [edi], ax
call fcn.00401615
test al, al
jne 0x40160d
mov ax, word [edi]
mov ecx, esi
and eax, 0x3ff
or ah, 4
push eax
mov word [edi], ax
call fcn.00401615
test al, al
jne 0x40160d
push edi
mov ecx, esi
call fcn.00401643
test al, al
jne 0x40160d
mov ax, word [esi + 0x240]
mov word [edi], ax
jmp 0x40160d
mov ax, word [esi + 0x23c]
mov byte [esi + 0x23e], 1
mov word [esi + 0x312], ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x401ba3
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x401bc1
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov edi, dword [sym.imp.USER32.dll_CharNextA]
mov dword [0x40a634], eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401bf7
push esi
call edi
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
je 0x401beb
cmp al, bl
jne 0x401bdc
cmp byte [esi], 0x22
jne 0x401c05
push esi
call edi
mov esi, eax
jmp 0x401c05
cmp al, 0x20
jle 0x401c05
push esi
call edi
mov esi, eax
cmp byte [esi], 0x20
jg 0x401bfb
mov al, byte [esi]
cmp al, bl
je 0x401c0f
cmp al, 0x20
jle 0x401bf0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x18], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
pop edi
je 0x401c29
movzx eax, word [ebp - 0x14]
jmp 0x401c2c
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push dword [0x40a634]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401d2c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x22a], bl
jne 0x401e4f
cmp byte [esi + 0x539], bl
jne 0x401e4f
mov ax, word [esi + 0x5a8]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceExA]
push eax
push 0x6b
push 5
push dword [esi + 0x224]
call edi
cmp eax, ebx
jne 0x401da9
mov ax, word [esi + 0x5a8]
and ax, 0x3ff
or ah, 4
push eax
push 0x6b
push 5
push dword [esi + 0x224]
call edi
cmp eax, ebx
jne 0x401da9
push 5
push 0x6b
push dword [esi + 0x224]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x401e4f
push eax
push dword [esi + 0x224]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0x401c94
push ebx
push eax
push dword [esi + 0x224]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov dword [esi + 0x540], eax
lea eax, [ebp - 0xc]
push eax
push 0x9003
mov ecx, esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00405c51
test al, al
je 0x401e2f
lea eax, [esi + 0x270]
lea ecx, [ebp - 0xc]
push eax
call fcn.00406e1e
push eax
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x400]
push eax
push 0x9102
push dword [esi + 0x540]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [ebp - 0x14]
call fcn.004016cb
push dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
lea ecx, [ebp - 8]
call fcn.004016cb
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403152
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x22f], bl
jne 0x4032e8
cmp byte [esi + 0x22b], bl
jne 0x4032e8
cmp byte [esi + 0x22e], bl
je 0x4032e8
cmp byte [esi + 0x228], bl
jne 0x4032e8
lea eax, [ebp - 0x270]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4032e8
lea eax, [ebp - 0x16c]
push eax
push ebx
lea eax, [ebp - 0x270]
push 0x40a310
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x4032e8
lea eax, [ebp - 0x16c]
push ebx
push eax
lea ecx, [esi + 0x240]
call fcn.00406e1e
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4032e8
push edi
push ebx
push 0x4000000
push 3
push ebx
push 1
lea eax, [ebp - 0x16c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x10
mov dword [ebp - 8], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x64]
push 0x40a2f8
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x68], 0x44
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x24c]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 4], eax
call edi
push eax
lea ecx, [ebp - 0x14]
push dword [ebp - 4]
call fcn.0040171c
push 0x40a2f0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [ebp - 4], eax
call edi
push eax
lea ecx, [ebp - 0x14]
push dword [ebp - 4]
call fcn.0040171c
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esi + 0x234]
push esi
call edi
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.0040171c
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
call fcn.00406e1e
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x10]
call fcn.004016cb
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x24]
call fcn.004032ee
cmp dword [ebp - 8], 0xffffffff
pop edi
je 0x4032e4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x4032ea
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x403cab
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
and byte [ebp - 0x140], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x13f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x140]
mov dword [ebp - 4], esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [ebp - 0x140], 0
je 0x403d2a
lea eax, [ebp - 0x140]
mov edi, 0x408248
push esi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x408250
mov dword [ebp - 0xc], edi
call fcn.00406194
mov esi, 0x408244
push 0x40a37c
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 1
call fcn.004043a9
jmp 0x403d5b
lea eax, [ebp - 0x140]
mov edi, 0x408248
push esi
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], 0x408250
mov dword [ebp - 0x28], edi
call fcn.00406194
mov esi, 0x408244
mov dword [ebp - 4], 2
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx + 0xc], 0x408250
mov dword [ecx + 0x14], edi
call fcn.00406203
mov edi, dword [ebp + 8]
test byte [ebp - 4], 2
mov dword [edi], esi
je 0x403d87
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x3c]
call fcn.00406293
test byte [ebp - 4], 1
je 0x403d95
lea ecx, [ebp - 0x20]
call fcn.00406293
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4048fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
and byte [ebp - 0x148], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x147]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push eax
push 0x40a180
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x404975
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0xc], 0x104
mov eax, 0x40a170
je 0x404955
mov eax, 0x40a424
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x148]
push ecx
push esi
push esi
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x148], 0
je 0x4049bb
lea eax, [ebp - 0x148]
mov edi, 0x408248
push esi
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x38], 0x408250
mov dword [ebp - 0x30], edi
call fcn.00406194
mov esi, 0x408244
push 0x40a37c
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 1
call fcn.004043a9
jmp 0x4049ec
lea eax, [ebp - 0x148]
mov edi, 0x408248
push esi
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], 0x408250
mov dword [ebp - 0x14], edi
call fcn.00406194
mov esi, 0x408244
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], esi
lea eax, [ebp - 0x28]
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx + 0xc], 0x408250
mov dword [ecx + 0x14], edi
call fcn.00406203
mov edi, dword [ebp + 8]
test byte [ebp - 4], 2
mov dword [edi], esi
je 0x404a18
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x28]
call fcn.00406293
test byte [ebp - 4], 1
je 0x404a26
lea ecx, [ebp - 0x44]
call fcn.00406293
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x404a2c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
and byte [ebp - 0x140], 0
push esi
push edi
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x13f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x140]
push 0x104
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [ebp - 0x140], 0
je 0x404aab
lea eax, [ebp - 0x140]
mov edi, 0x408248
push esi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x408250
mov dword [ebp - 0xc], edi
call fcn.00406194
mov esi, 0x408244
push 0x40a37c
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 1
call fcn.004043a9
jmp 0x404adc
lea eax, [ebp - 0x140]
mov edi, 0x408248
push esi
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], 0x408250
mov dword [ebp - 0x28], edi
call fcn.00406194
mov esi, 0x408244
mov dword [ebp - 4], 2
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx + 0xc], 0x408250
mov dword [ecx + 0x14], edi
call fcn.00406203
mov edi, dword [ebp + 8]
test byte [ebp - 4], 2
mov dword [edi], esi
je 0x404b08
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x3c]
call fcn.00406293
test byte [ebp - 4], 1
je 0x404b16
lea ecx, [ebp - 0x20]
call fcn.00406293
mov eax, edi
pop edi
pop esi
leave
ret