joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b2f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44b323
push esi
call fcn.0044e400
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44b31c
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 0x44b3a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44b392
mov eax, dword [esi + 8]
test eax, eax
je 0x44b347
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 0x44b38e
cmp eax, 2
je 0x44b392
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44b33a
cmp eax, 3
je 0x44b36d
cmp eax, 1
jne 0x44b33a
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 0x44b33a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44b33a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044b3d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44b3b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044b3d0
add esp, 4
pop esi
ret

Function at 0x457480
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x457523
test eax, eax
jbe 0x457523
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x457523
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4574ce
xor esi, esi
jmp 0x4574d4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4574ff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040d450
add esi, eax
push esi
mov ebx, esi
call fcn.0040d450
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4574e0
pop ebp
test edi, edi
pop edi
jne 0x457523
test ebx, ebx
je 0x457523
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00468a80
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x457665
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45777d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45777d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047a4f1
mov esi, eax
test esi, esi
je 0x45777d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45777d
mov ecx, esi
call fcn.004575d0
cmp edi, eax
jge 0x45777d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x457703
mov dword [esp + 0x34], 1
jmp 0x45775e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45777d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00456b20
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x45c6b0
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 0x45c716
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 0x45c716
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45c6f7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x45caa0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x45cad8
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 0x45d7b0
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 0x45d7f9
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 0x45dc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489910
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.0045d820
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045d8a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045d8a0
lea ecx, [esi + 0xc]
call fcn.00478a2f
lea ecx, [esi + 0x10]
call fcn.00478a2f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045ee30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045ee30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045ee30
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00478aa4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00478aa4
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47ae94
Capabilities:
Get graphical window text

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

Function at 0x47c585
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 0x47c5c7
call fcn.00482531
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47c5c7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47c5be
xor eax, eax
jmp 0x47c5cf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047c5d5
pop edi
pop esi
pop ebx
ret 4

Function at 0x482a61
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 0x482a8f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x482aad
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004829c7
jmp 0x482aad
mov eax, dword [esi + 0x14]
test eax, eax
je 0x482aad
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004829c7
test edi, edi
mov eax, edi
jne 0x482a97
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402f80
Capabilities:
Terminate process

Disassembly:
adc eax, sym.imp.MSVCRT.dll_fclose
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push 0x40b814
push eax
xchg ebp, eax
adc eax, 0xe440c180
mov eax, dword [0xab64ac]
add esp, 0x7e
enter 0xffffffffffffc7c0, 0xffffffffffffff8f
hlt

Function at 0x408db0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add ah, cl
inc ebp
adc byte [ebx], dh
leave
test eax, eax
std
xchg ebp, eax
ror dword [ecx + 0x4d8bfc4d], 7
cmp ecx, 0xffffffe7
push esi
jg 0xc19634
je 0x408fdb
dec ecx
cmp ecx, 0xf
ja 0x409166
xor edx, edx
mov dl, byte [ecx + 0x369110]
call esp
xchg ebp, eax
clc
nop
or al, 0
mov esi, dword [ebp + 8]
mov al, byte [0x384e8bd2]
and ecx, 2
fistp dword [ebx + 2]
add eax, 0xc23bb094
xor eax, 0x44e8b2f
lea edx, [esp + edi*8]
rol byte [eax + edx*2], cl
push 8
shr edx, 0xff
add ch, bh
push ecx
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0x1a
dec esi
push ecx
inc ebx
imul eax, dword [eax], 0x10458b00
test eax, eax
mov eax, dword [esi + 0x38]
je 0x408e3a
mov eax, dword [edx]
mov dword [esi + 0x38], eax
xor eax, eax
das
and ch, ah
pop ebp
ret 0x390c
scasd eax, dword es:[edi]
std
mov dword [esi + 0xd], eax
xor eax, eax
jns 0x408dce
sbb byte [ebp - 0x3e], 0xc
add byte [ebx - 0x36ccf78b], cl
mov edx, dword [esi + 0x38]
push ss
sub al, 4
sbb byte [edi], 4
setb byte [ebx + edi - 0x742b8b3f]
inc esi
add al, 0x8d
push ebp
cld
or dword [ecx], ecx
push edx
push 1
push 0xffff
push eax
call dword [0x40c1ec]
cmpsb byte [esi], byte es:[edi]
cmp dword [edi + 0xf], eax
test al, ch
add dword [eax], eax
add byte [ebx - 0x3f7aefbb], cl
cmp ch, byte [edx + 0xc0e7438]
add al, 0x89
inc esi
cmp byte [ebx], dh
rcr byte [esi - 0x75], 0xe5
pop ebp
ret 0x88
push 0x55
or byte [ebp - 0xa95efb3], cl
push ecx
mov eax, dword [edx + 4]
push 0x661001
push 0xfff0
push eax
invalid
invalid
lea eax, [eax + edx]
jb 0x40912f
and eax, dword [eax]
mov byte [ecx], 0x20
inc ecx
mov bh, byte [eax + ecx*4]
adc dword [eax + 0x40be7550], eax
mov byte [ecx], dl
mov al, byte [eax + 1]
inc ecx
mov byte [ecx], al
push eax
inc ebp
in al, 0x99
idiv dword [edi]
inc ecx
mov byte [ecx], 0x20
inc ecx
add al, 0x30
add dl, 0x5b
mov byte [ecx], al
mov eax, dword [ebp - 0x20]
out 0x88, al
adc dword [ebp - 0x39010867], edx
add dword [eax], esp
inc ecx
add al, 0x30
add byte [eax + esi - 0x2274fe9f], 0xdc
inc ecx
mov byte [ecx], dl
daa
cdq
idiv esi
mov byte [ecx], 0x29
lcall 0x8830, 0xc2803004
scasd eax, dword es:[edi]
mov ecx, 0xa341d845
and dword [ecx - 0x67], eax
inc ebp
invalid
Function at 0x40166f
Capabilities:
Check if file exists
Delete file
Encode data using base64 via winapi
Enumerate files on windows
Get common file path
Get graphical window text
Initialize winsock library

Disassembly:
push ebx
push ecx
push edx
sub esp, 0xcac
xor edx, edx
mov word [esp + 0xc7c], dx
xor ebx, ebx
mov word [esp + 0xc9c], bx
mov eax, esp
push eax
lea eax, [esp + 0xca0]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [esp + 0xca0], eax
push 0
push 0
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov dword [esp + 0xc98], eax
lea eax, [esp + 0x660]
push eax
push 2
call dword [sym.imp.WS2_32.DLL_WSAStartup]
mov dword [esp + 0xca4], 0xa
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
lea eax, [esp + 0xc7c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push 0x104
lea eax, [esp + 0x45c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x80
lea eax, [esp + 0xc00]
push eax
push 0
call dword [sym.imp.USER32.DLL_GetWindowTextA]
xor eax, eax
mov word [esp + 0xafc], ax
lea eax, [esp + 0xafc]
push eax
push eax
push eax
call dword [sym.imp.SHLWAPI.DLL_PathCombineW]
mov byte [esp + 0x9f8], 0
lea eax, [esp + 0x458]
push eax
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov eax, esp
push eax
mov eax, dword [esp + 0xca4]
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
lea eax, [esp + 0xca4]
push eax
lea eax, [esp + 0xc90]
push eax
push 1
push 1
lea eax, [esp + 0xa08]
push eax
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
push 0
call dword [sym.imp.KERNEL32.DLL_LocalFree]
push 0x104
lea eax, [esp + 0x8f8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
push 0x104
lea eax, [esp + 0x7f4]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [esp + 0x8f4]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 0x104
lea eax, [esp + 0x254]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
mov eax, dword [esp + 0xca0]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
movzx eax, byte [esp + 0xc8c]
sub eax, 0x47
mov dword [esp + 0xca8], eax
call dword [sym.imp.WS2_32.DLL_WSACleanup]
mov eax, dword [esp + 0xc98]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0xca4]
add dword [esp + 0xca8], eax
lea eax, [esp + 0x250]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea eax, [esp + 0x7f0]
push eax
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsA]
mov word [esp + 0xb7c], bx
lea eax, [esp + 0xb7c]
push eax
push eax
call dword [sym.imp.SHLWAPI.DLL_PathAppendW]
mov eax, dword [esp + 0xca8]
add esp, 0xcac
pop edx
pop ecx
pop ebx
ret
Function at 0x401ff7
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
lea edx, [eax + 1]
imul edx, dword [0x404050]
mov ebx, eax
mov eax, 0x404054
call fcn.00401f33
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402fd6
push edx
sub edi, fcn.00402780
push edi
xor eax, eax
push fcn.00402780
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x402063
mov eax, fcn.00402780
mov ebx, esi
mov edx, edi
call fcn.00401f33
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.0040186d
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x402609
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7c0
push ebx
push esi
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, ebx
call fcn.00407178
cmp eax, 0x3f6
jae 0x40284b
lea eax, [ebp - 0x40]
mov ecx, 0x3c
xor edx, edx
call fcn.00407124
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x5c0
xor eax, eax
mov al, byte [ebx]
cmp eax, 0x22
jne 0x402656
lea edx, [ebx + 1]
jmp 0x402658
mov edx, ebx
mov dword [ebp - 0x30], edx
xor eax, eax
jmp 0x4026af
xor ecx, ecx
mov cl, byte [ebx + eax]
cmp ecx, 0x22
jne 0x402682
jmp 0x40267b
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x22
jne 0x40267b
mov byte [ebx + eax], 0x20
jmp 0x402682
inc eax
cmp byte [ebx + eax], 0
jne 0x40266b
xor ecx, ecx
mov cl, byte [ebx + eax]
cmp ecx, 0x20
je 0x402697
xor edx, edx
mov dl, byte [ebx + eax + 1]
cmp edx, 0x2f
jne 0x4026ae
xor ecx, ecx
mov cl, byte [ebx + eax]
cmp ecx, 0x20
jne 0x4026a5
mov byte [ebx + eax], 0
lea eax, [eax + ebx + 1]
mov dword [ebp - 0x2c], eax
jmp 0x4026b5
inc eax
cmp byte [ebx + eax], 0
jne 0x40265f
cmp byte [0x40d0e2], 0
je 0x4026c5
mov dword [ebp - 0x2c], 0x40d0e2
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x30]
call fcn.00405d54
mov esi, eax
test esi, esi
je 0x4026f1
mov edx, str..inf
mov eax, esi
call fcn.00407274
test eax, eax
jne 0x4026f1
mov dword [ebp - 0x34], str.Install
xor edx, edx
mov eax, dword [ebp - 0x30]
call fcn.00406278
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
je 0x40271b
lea edx, [ebp - 0x440]
mov eax, dword [ebp - 0x30]
call fcn.0040630c
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x30], ecx
cmp byte [ebp - 1], 0
je 0x40275a
cmp byte [ebp - 2], 0
jne 0x40275a
lea eax, [ebp - 0x840]
mov edx, dword [ebp - 0x30]
call fcn.004071f4
mov edx, str..exe
lea eax, [ebp - 0x840]
call fcn.004072bc
lea eax, [ebp - 0x840]
xor edx, edx
call fcn.00406278
test al, al
je 0x40284b
lea ecx, [ebp - 0x40]
push ecx
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
jne 0x40278a
and dword [ebp - 0x3c], 0xfffffbff
mov dword [ebp - 0x30], ebx
lea edx, [ebp - 0x40]
push edx
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
je 0x40284b
xor ebx, ebx
cmp byte [0x40ccd8], 0
jne 0x4027a3
cmp byte [ebp - 1], 0
je 0x4027ec
cmp dword [0x40d564], 0
je 0x4027bb
push dword [0x40d564]
call sub.USER32.DLL_IsWindowVisible
test eax, eax
jne 0x4027bf
xor eax, eax
jmp 0x4027c4
mov eax, 1
test eax, eax
je 0x4027d7
push 0
push dword [0x40d564]
call sub.USER32.DLL_ShowWindow
mov bl, 1
push 0x7d0
push dword [ebp - 8]
call sub.USER32.DLL_WaitForInputIdle
mov eax, dword [ebp - 8]
call fcn.00402851
push dword [ebp - 8]
call sub.KERNEL32.DLL_CloseHandle
test esi, esi
je 0x402808
mov edx, str..exe
mov eax, esi
call fcn.00407274
test eax, eax
je 0x40283a
cmp byte [0x40ccd8], 0
je 0x402823
cmp byte [ebp - 1], 0
jne 0x402823
push 0x1b58
call sub.KERNEL32.DLL_Sleep
jmp 0x40283a
cmp byte [ebp - 1], 0
mov edx, 0xc8
jne 0x402834
add edx, 0x320
push edx
call sub.KERNEL32.DLL_Sleep
test bl, bl
je 0x40284b
push 1
push dword [0x40d564]
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f6860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa0000]
push edi
jmp 0x4f687a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f6881
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f6870
mov eax, 1
add ebx, ebx
jne 0x4f6893
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f68a4
jne 0x4f68c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f68c3
dec eax
add ebx, ebx
jne 0x4f68b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f6888
add ebx, ebx
jne 0x4f68bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f6915
xor ecx, ecx
sub eax, 3
jb 0x4f68db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f694a
sar eax, 1
mov ebp, eax
jmp 0x4f68e6
add ebx, ebx
jne 0x4f68e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f68b4
inc ecx
add ebx, ebx
jne 0x4f68f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f68b4
add ebx, ebx
jne 0x4f6901
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f68f6
jne 0x4f6912
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f68f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f6934
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f6926
jmp 0x4f6876
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f6934
add edi, ecx
jmp 0x4f6876
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f6952
cmp byte [edi], 0x11
jne 0x4f6952
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4f6957
lea edi, [esi + 0xef000]
mov eax, dword [edi]
or eax, eax
je 0x4f69cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x115f6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1160e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f6984
mov ecx, edi
jns 0x4f69b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1160ec]
or eax, eax
je 0x4f69c9
mov dword [ebx], eax
add ebx, 4
jmp 0x4f69a1
call dword [esi + 0x1160fc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4f6a00
cmp al, 0xef
ja 0x4f69f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4f69d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4f69e2
mov ebp, dword [esi + 0x1160f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4f6a34
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4ffe15e3
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1e9d0f38
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219