joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2e50
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
xor ecx, ecx
mov eax, dword [edi]
mov cx, word [eax + 0x14]
lea esi, [ecx + eax + 0x18]
mov ecx, dword [edi + 0x3c]
push ecx
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x1c], eax
call fcn.004a2fa0
push esi
push edi
mov dword [esp + 0x28], eax
call fcn.004a2fb0
mov ecx, dword [edi]
mov dword [esp + 0x2c], eax
mov edx, dword [esi + 0x24]
mov eax, 1
add esp, 0x10
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0
add esi, 0x28
cmp word [ecx + 6], ax
mov dword [esp + 0x10], eax
jbe 0x4a2f6b
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 8]
push ecx
push eax
mov dword [esp + 0x34], eax
call fcn.004a2fa0
push esi
push edi
mov ebx, eax
call fcn.004a2fb0
mov edx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, ebx
je 0x4a2f15
mov eax, dword [esp + 0x1c]
add eax, edx
cmp eax, ebx
ja 0x4a2f15
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.004a2fe0
add esp, 8
test eax, eax
je 0x4a2f8b
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 0x24]
mov dword [esp + 0x20], eax
jmp 0x4a2f4a
mov eax, dword [esi + 0x24]
mov ecx, dword [esp + 0x20]
test eax, 0x2000000
je 0x4a2f33
test ecx, 0x2000000
je 0x4a2f33
or ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x4a2f3e
or eax, ecx
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub ebp, edx
add ebp, eax
mov dword [esp + 0x1c], ebp
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
xor edx, edx
inc eax
mov dx, word [ecx + 6]
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x4a2eb1
mov eax, 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.004a2fe0
add esp, 8
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x4b2b50
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 0x4b2b99
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 0x4b3010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5090d0
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.004b2bc0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004b2c40
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004b2c40
lea ecx, [esi + 0xc]
call fcn.004faa0e
lea ecx, [esi + 0x10]
call fcn.004faa0e
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004b41d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004b41d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004b41d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004faa83
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004faa83
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b43c0
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 0x4b4426
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 0x4b4426
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4b4407
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4b72d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x16260c0]
xor edx, edx
cmp eax, edx
jne 0x4b72f6
xor eax, eax
mov byte [eax + 0x1625fc0], al
inc eax
cmp eax, 0x100
jl 0x4b72de
mov dword [0x16260c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1625fc0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4b7387
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4b735a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4b7328
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4b7390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4b73e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4b73ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bdd60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5094ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004be680
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x14e4a5c
call fcn.004fa7c4
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4bddf3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004fa7c4
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4bddec
push 0
mov ecx, eax
call fcn.004b4f00
mov dword [esi + 0xc], eax
jmp 0x4bddf5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4bddf5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4ce456
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x4ce577
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4ce55b
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x4ce4ad
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x4ce48b
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x4cefbf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x14e80d4
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4cf016
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4cf016
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x4cf016
xor eax, eax
inc eax
jmp 0x4cf018
xor eax, eax
leave
ret 0x10

Function at 0x4cf041
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x14e80d4
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x4cf0af
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x14e88fc
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4cf0a6
cmp dword [ebp - 0xc], 4
jne 0x4cf0a6
cmp dword [ebp - 0x10], edi
je 0x4cf0a6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x15e7330], edi
xor eax, eax
jmp 0x4cf0ee
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x15e7330], edi
jge 0x4cf0e9
lea eax, [ebp - 0x34]
push eax
mov dword [0x15e7330], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x4cf0e9
cmp word [ebp - 0x14], 5
jb 0x4cf0e9
call fcn.004cf01c
test eax, eax
je 0x4cf0e9
emms
mov dword [0x15e7330], 1
mov eax, dword [0x15e7330]
pop edi
leave
ret

Function at 0x4fce27
Capabilities:
Get graphical window text

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

Function at 0x4fe515
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 0x4fe557
call fcn.00504091
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4fe557
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4fe54e
xor eax, eax
jmp 0x4fe55f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004fe565
pop edi
pop esi
pop ebx
ret 4
Function at 0x5045c1
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 0x5045ef
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x50460d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00504527
jmp 0x50460d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x50460d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00504527
test edi, edi
mov eax, edi
jne 0x5045f7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403043
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x417044]
sub esi, dword [0x40afb0]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x423eac], eax
jle 0x4031ad
push dword [0x41f054]
call fcn.004031f1
push ebx
push ebx
push dword [0x40afb0]
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41f050], esi
mov dword [0x417040], ebx
mov ebp, 0x40b040
mov eax, dword [0x417048]
mov edi, 0x4000
sub eax, dword [0x41f054]
cmp eax, edi
jg 0x4030b8
mov edi, eax
mov esi, 0x413040
push edi
push esi
call fcn.004031bf
test eax, eax
je 0x40319f
add dword [0x41f054], edi
mov dword [0x40afd0], esi
mov dword [0x40afd4], edi
cmp dword [0x423eb0], ebx
je 0x40310f
cmp dword [0x423f40], ebx
jne 0x40310f
mov eax, dword [0x41f050]
push ebx
sub eax, dword [0x417044]
sub eax, dword [esp + 0x1c]
add eax, dword [0x40afb0]
mov dword [0x417040], eax
call fcn.00402bd3
pop ecx
mov ecx, 0x40afb8
mov dword [0x40afd8], ebp
mov dword [0x40afdc], 0x8000
call fcn.00405f82
test eax, eax
jl 0x4031a8
mov esi, dword [0x40afd8]
sub esi, ebp
je 0x403169
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4031a4
cmp esi, dword [esp + 0x10]
jne 0x4031a4
add dword [0x40afb0], esi
cmp dword [0x40afd4], ebx
jne 0x4030de
jmp 0x403175
cmp dword [0x40afd4], ebx
jne 0x4031a8
cmp edi, ebx
je 0x4031a8
mov eax, dword [0x417044]
mov ecx, eax
sub ecx, dword [0x40afb0]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x4030a2
push ebx
push ebx
push eax
push dword [0x409018]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4031ad
or eax, 0xffffffff
jmp 0x4031b7
push 0xfffffffffffffffe
jmp 0x4031aa
push 0xfffffffffffffffd
pop eax
jmp 0x4031b7
push 1
call fcn.00402bd3
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x4058b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
mov byte [ebp - 0x7a4], 0x21
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
mov byte [ebp - 0x79f], 0x7e
mov byte [ebp - 0x79e], 0x12
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.00403bc7
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00403b28
add esp, 0xc
jmp 0x405b2f
Function at 0x4013ad
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 8]
push 8
xor eax, eax
add esi, esi
pop ecx
sar esi, 1
mov edx, eax
xor edx, esi
shr eax, 1
test dl, 1
je 0x4013cb
xor eax, 0xedb88320
dec ecx
test ecx, ecx
jg 0x4013b9
pop esi
ret 4

Function at 0x4013ef
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 8], 0
mov eax, dword [0x415248]
je 0x40141f
mov ecx, dword [esp + 4]
push esi
movzx edx, byte [ecx]
dec dword [esp + 0xc]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x414c20]
inc ecx
cmp dword [esp + 0xc], 0
jne 0x401400
pop esi
mov dword [0x415248], eax
ret

Function at 0x401678
Capabilities:
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push 0x105
push esi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x40169b
cmp byte [esi], 0
je 0x40169b
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x401830
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x1a0
mov eax, dword [0x411198]
xor eax, ebp
mov dword [ebp + 0x11c], eax
mov ecx, dword [0x413cec]
inc dword [0x413cec]
mov eax, dword [ebp + 0x128]
push ebx
push esi
push edi
test ecx, ecx
je 0x40186c
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp + 0x12c]
push eax
push 0x7d4
call fcn.00401948
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x78]
push eax
call esi
add esp, 0x10
push 0x30
push 0x7d0
call fcn.00401948
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push eax
lea eax, [ebp - 0x78]
push eax
push dword [0x4149b0]
call edi
push 0
push 0x20
push 2
push 0
push 1
push 0x40000000
mov ebx, str.WZSFX32.RPT
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x80], eax
cmp eax, 0xffffffff
je 0x401864
push 0x40e308
lea eax, [ebp - 0x78]
push 0x191
push eax
call fcn.0040623b
add esp, 0xc
push 0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004061b0
pop ecx
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x80]
call fcn.00403822
pop ecx
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 0x7d1
call fcn.00401948
push eax
lea eax, [ebp - 0x78]
push eax
call esi
add esp, 0xc
push 0x30
push 0x7d0
call fcn.00401948
push eax
lea eax, [ebp - 0x78]
push eax
push dword [0x4149b0]
call edi
jmp 0x401864
Function at 0x4027c3
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0xf74]
sub esp, 0xff4
mov eax, dword [0x411198]
xor eax, ebp
mov dword [ebp + 0xf70], eax
mov eax, dword [ebp + 0xf7c]
mov ecx, dword [ebp + 0xf84]
push ebx
push esi
mov esi, dword [ebp + 0xf80]
push edi
push eax
mov dword [ebp - 0x78], eax
mov ebx, 0x2e3
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [ebp - 0x80], ecx
call fcn.004063de
xor edi, edi
add esp, 0xc
cmp word [esi], di
je 0x402830
push 0x40e3a8
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.004063de
push esi
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.00406369
add esp, 0x18
cmp dword [ebp - 0x80], 0xffffffff
jne 0x40287d
push 0x10
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.004011b7
push 0x44
lea eax, [ebp - 0x74]
push edi
push eax
call fcn.004011b7
add esp, 0x18
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp - 0x74], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40287d
mov eax, dword [ebp - 0x30]
jmp 0x4029ba
lea eax, [ebp + 0x5a8]
push eax
push edi
push dword [ebp - 0x78]
call dword [sym.imp.SHELL32.dll_FindExecutableW]
mov dword [ebp - 0x7c], eax
cmp eax, 0x1f
jne 0x4028f6
mov esi, 0x100
push esi
lea eax, [ebp + 0xd70]
push eax
push 0xffffffffffffffff
push 0x427
call fcn.00401948
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp - 0x78]
lea eax, [ebp + 0xd70]
push eax
lea eax, [ebp + 0x5a8]
push ebx
push eax
call fcn.0040634b
add esp, 0x10
push esi
lea eax, [ebp + 0xb70]
push eax
push 0xffffffffffffffff
push 0x7d0
call fcn.00401948
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x10
jmp 0x40299e
cmp eax, 0x20
jbe 0x402941
movzx eax, word [esi]
neg eax
sbb eax, eax
push 1
and eax, esi
push edi
push eax
mov eax, dword [0x411048]
push dword [ebp - 0x78]
and eax, 0x20000
neg eax
sbb eax, eax
and eax, str.Install
push eax
push dword [0x4149b0]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
cmp ecx, edi
je 0x402937
mov dword [ecx], eax
cmp eax, 0x20
jbe 0x402941
mov eax, dword [ebp - 0x7c]
jmp 0x4029ba
mov esi, 0x100
push esi
lea eax, [ebp + 0xd70]
push eax
push 0xffffffffffffffff
push 0x400
call fcn.00401948
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp - 0x78]
lea eax, [ebp + 0xd70]
push dword [ebp - 0x7c]
push eax
lea eax, [ebp + 0x5a8]
push ebx
push eax
call fcn.0040634b
add esp, 0x14
push esi
lea eax, [ebp + 0xb70]
push eax
push 0xffffffffffffffff
push 0x7d0
call fcn.00401948
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
lea eax, [ebp + 0xb70]
push eax
lea eax, [ebp + 0x5a8]
push eax
push dword [0x4149b0]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [ebp + 0xf70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004060d3
add ebp, 0xf74
leave
ret
Function at 0x4029d2
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x411198]
xor eax, ebp
mov dword [ebp + 0x398], eax
push edi
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x402a1f
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.winzip_shellopencommand
mov edi, 0x209
push 0x80000000
mov dword [ebp - 0x80], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x402a4a
push 0
push 0x7d0
call fcn.00401948
push eax
push 0x40e
call fcn.00401948
push eax
push dword [0x4149b0]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x402ae9
cmp word [ebp - 0x7c], 0
push esi
lea esi, [ebp - 0x7c]
je 0x402a72
push 4
push str.___1
push esi
call fcn.00406526
add esp, 0xc
test eax, eax
je 0x402a72
add esi, 2
cmp word [esi], 0
jne 0x402a55
mov eax, esi
lea ecx, [ebp - 0x7c]
sub eax, ecx
add eax, 2
push 0x4149e0
sar eax, 1
push str.__s_
sub edi, eax
push edi
add esi, 2
push esi
call fcn.0040634b
mov eax, dword [0x411048]
add esp, 0x10
pop esi
test eax, 0x1000
je 0x402ad0
test eax, 0x8000
jne 0x402ad0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x7a
pop ecx
lea eax, [ebp + eax*2 - 0x84]
mov word [eax], cx
push 0x69
pop ecx
mov word [eax + 2], cx
push 0x70
pop ecx
mov word [eax + 4], cx
push 0xffffffffffffffff
lea eax, [ebp - 0x7c]
push 0x40e3ac
push eax
call fcn.004027c3
add esp, 0xc
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp + 0x398]
xor ecx, ebp
pop edi
call fcn.004060d3
add ebp, 0x39c
leave
ret