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

Disassembly:
push 0xffffffffffffffff
push 0x483398
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.0047bb6d
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004416f0
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.0047ba9b
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.00478356
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.00478356
push 1
push 0
push 0
mov ecx, esi
call fcn.004782fe
push 1
push 0
push 1
mov ecx, esi
call fcn.004782fe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047bbdf
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x441f20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4833b8
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.0047bb6d
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004416f0
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.0047ba9b
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 0x441fe4
cmp dword [esp + 0x40], 1
jne 0x441fe2
cmp ecx, eax
jge 0x441fe4
mov eax, ecx
cmp eax, 0xc8
jge 0x441ff0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00441da0
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.0047bbdf
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4427f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x483463
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.00476777
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.0047be15
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047d331
test eax, eax
je 0x44290c
mov ecx, dword [esp + 0x3c]
call fcn.0047be42
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 0x4428d0
push edi
mov ecx, esi
call fcn.004794a2
mov ecx, esi
call fcn.00442ab0
cmp dword [esp + 0x38], 1
jne 0x442905
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.004795dd
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 0x444af0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444b23
push esi
call fcn.00452ec0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x444b1c
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 0x444ba9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444b92
mov eax, dword [esi + 8]
test eax, eax
je 0x444b47
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 0x444b8e
cmp eax, 2
je 0x444b92
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x444b3a
cmp eax, 3
je 0x444b6d
cmp eax, 1
jne 0x444b3a
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 0x444b3a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x444b3a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444bd0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x444bb8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444bd0
add esp, 4
pop esi
ret

Function at 0x445440
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x445461
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x445461
mov eax, dword [eax + 0x44]
test eax, eax
je 0x445461
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 0x45f9e0
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 0x45fa46
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 0x45fa46
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45fa27
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x460580
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004606d0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4605a0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x460581
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004606d0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4605a0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x4605d0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x460627
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x46063d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.00460660
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x460660
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x4606f0
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 0x460739
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 0x460bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4839e0
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.00460760
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004607e0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004607e0
lea ecx, [esi + 0xc]
call fcn.00475153
lea ecx, [esi + 0x10]
call fcn.00475153
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00463010
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00463010
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00463010
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004751c8
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004751c8
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x461858
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x483c08
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x461868
call fcn.00461d80
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x46194b
cmp byte [edi], 0
je 0x46194b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x46188d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00460580
test eax, eax
jne 0x4618ad
push 0x4a87b4
lea ecx, [esi + 0x38]
call fcn.00475305
jmp 0x46194b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.004605d0
test eax, eax
jne 0x4618dc
mov ecx, esi
call fcn.004606d0
push edi
add esi, 0x38
push 0x4a8790
push esi
call fcn.00473127
add esp, 0xc
jmp 0x46194b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.00462600
test eax, eax
je 0x461944
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00461a20
test eax, eax
jne 0x461960
push edi
lea eax, [esi + 0x38]
push 0x4a876c
push eax
call fcn.00473127
add esp, 0xc
mov ecx, esi
call fcn.00461d80
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x461a08
mov ecx, dword [0x4a8a24]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00473127
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00460680
test eax, eax
jne 0x4619ca
push 0x4a8750
lea ecx, [esi + 0x38]
call fcn.00475305
jmp 0x4619da
push 0xfa
mov ecx, esi
call fcn.00462600
test eax, eax
jne 0x4619f7
mov ecx, esi
call fcn.00461d80
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004751c8
jmp 0x46194b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004751c8
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x47756c
Capabilities:
Get graphical window text

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

Function at 0x478c5a
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 0x478c9c
call fcn.0047e7db
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x478c9c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x478c93
xor eax, eax
jmp 0x478ca4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00478caa
pop edi
pop esi
pop ebx
ret 4

Function at 0x47ed0b
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 0x47ed39
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47ed57
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047ec71
jmp 0x47ed57
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47ed57
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047ec71
test edi, edi
mov eax, edi
jne 0x47ed41
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40216c
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push esi
push 0
lea ecx, [ebp - 4]
push ecx
push ebx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp dword [ebp - 4], ebx
je 0x40218e
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4021a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4021ce
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, ebx
je 0x402201
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x402201
push ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
call ebx
cmp eax, 0xffffffff
jne 0x4021f9
lea ecx, [ebp - 4]
push ecx
push esi
call ebx
cmp eax, 0xffffffff
je 0x402201
mov ecx, dword [ebp - 4]
mov dword [edi], eax
mov dword [edi + 4], ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403340
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x804]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403360
lea eax, [ebp - 0x804]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403373
sub eax, edx
cmp byte [ebp + eax - 0x805], 0x5c
je 0x4033a2
push edi
lea edi, [ebp - 0x804]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403390
mov ax, word [0x41abd8]
mov word [edi], ax
pop edi
lea eax, [ebp - 0x804]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4033b0
mov ecx, dword [str.GEQ_15__VB_Audio_]
mov edx, dword [0x41b5dc]
mov dword [eax], ecx
mov ecx, dword [0x41b5e0]
mov dword [eax + 4], edx
mov edx, dword [0x41b5e4]
mov dword [eax + 8], ecx
mov cx, word [0x41b5e8]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea eax, [ebp - 0x804]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4033f0
mov edx, dword [str..LNK]
mov cl, byte [0x41ac94]
mov dword [eax], edx
lea edx, [ebp - 0x804]
push edx
mov byte [eax + 4], cl
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a567
mov esp, ebp
pop ebp
ret
Function at 0x403430
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.00413dc0
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x804]
push esi
mov esi, ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403455
lea eax, [ebp - 0x804]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403468
sub eax, edx
cmp byte [ebp + eax - 0x805], 0x5c
je 0x403495
push edi
lea edi, [ebp - 0x804]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403483
mov ax, word [0x41abd8]
mov word [edi], ax
pop edi
lea eax, [ebp - 0x804]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4034a0
mov ecx, dword [str.GEQ_15__VB_Audio_]
mov edx, dword [0x41b5dc]
mov dword [eax], ecx
mov ecx, dword [0x41b5e0]
mov dword [eax + 4], edx
mov edx, dword [0x41b5e4]
mov dword [eax + 8], ecx
mov cx, word [0x41b5e8]
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
lea eax, [ebp - 0x804]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4034e0
mov edx, dword [str..LNK]
mov cl, byte [0x41ac94]
mov dword [eax], edx
lea edx, [ebp - 0x2008]
push edx
push 0x4192fc
push 1
push 0
push 0x41930c
mov byte [eax + 4], cl
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x40362b
mov eax, dword [ebp - 0x2008]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
mov eax, dword [ebp - 0x2008]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push str.GEQ_15__VB_Audio_
push eax
call edx
mov eax, dword [ebp - 0x2008]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push 0
push eax
call edx
lea edx, [ebp - 0x1004]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403558
lea eax, [ebp - 0x1004]
lea edx, [eax + 1]
jmp 0x403570
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403570
sub eax, edx
test eax, eax
jle 0x40358f
lea ecx, [ecx]
cmp byte [ebp + eax - 0x1004], 0x5c
je 0x40358f
dec eax
test eax, eax
jg 0x403580
cmp byte [ebp + eax - 0x1004], 0x5c
lea eax, [ebp + eax - 0x1004]
jne 0x4035a3
mov byte [eax], 0
mov eax, dword [ebp - 0x2008]
mov ecx, dword [eax]
lea edx, [ebp - 0x1004]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [ebp - 0x2008]
mov ecx, dword [eax]
lea edx, [ebp - 0x200c]
push edx
push 0x41931c
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jne 0x40361b
push 0x800
lea ecx, [ebp - 0x2004]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x804]
push edx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x200c]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x2004]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [ebp - 0x200c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x2008]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040a567
mov esp, ebp
pop ebp
ret
Function at 0x403690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x4242f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4036ca
lea ecx, [ebp - 4]
push ecx
push 0x4242f0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4036ca
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push esi
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x4242f0
push 0x80000001
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x403732
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
push esi
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], 4
jne 0x403768
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405ab0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp dword [0x4269cc], ebx
je 0x405ae8
xor eax, eax
cmp dword [0x4269c0], ebx
pop ebx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a567
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x90
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.00410840
add esp, 0xc
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor edx, edx
cmp dword [ebp - 0x88], 2
push str.USER32
sete dl
mov dword [0x4269d0], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
cmp esi, ebx
je 0x405bd9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41ae70
push esi
call edi
mov dword [0x4269b0], eax
cmp eax, ebx
je 0x405bd9
push str.MonitorFromWindow
push esi
call edi
mov dword [0x4269b4], eax
cmp eax, ebx
je 0x405bd9
push str.MonitorFromRect
push esi
call edi
mov dword [0x4269b8], eax
cmp eax, ebx
je 0x405bd9
push str.MonitorFromPoint
push esi
call edi
mov dword [0x4269bc], eax
cmp eax, ebx
je 0x405bd9
push str.EnumDisplayMonitors
push esi
call edi
mov dword [0x4269c4], eax
cmp eax, ebx
je 0x405bd9
push str.GetMonitorInfoA
push esi
call edi
mov dword [0x4269c0], eax
cmp eax, ebx
je 0x405bd9
push str.EnumDisplayDevicesA
push esi
call edi
mov dword [0x4269c8], eax
cmp eax, ebx
je 0x405bd9
pop edi
mov eax, 1
pop esi
mov dword [0x4269cc], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a567
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x4269b0], ebx
mov dword [0x4269b4], ebx
mov dword [0x4269b8], ebx
mov dword [0x4269bc], ebx
mov dword [0x4269c0], ebx
mov dword [0x4269c4], ebx
mov dword [0x4269c8], ebx
xor ecx, ebp
mov dword [0x4269cc], 1
xor eax, eax
pop ebx
call fcn.0040a567
mov esp, ebp
pop ebp
ret