joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004430
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.10004270
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100044fb
mov dword [ebp - 4], 0
jmp 0x1000448c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x100044fb
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.1000668a
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100044f9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.1000668a
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10004090
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1000668a
jmp 0x10004483
pop esi
add esp, 8
cmp ebp, esp
call fcn.1000668a
mov esp, ebp
pop ebp
ret

Function at 0x10004510
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100045bb
mov dword [ebp - 4], 0
jmp 0x10004543
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x1000459e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.1000668a
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000459c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.1000668a
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1000668a
jmp 0x1000453a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1000a464]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.1000668a
pop esi
add esp, 8
cmp ebp, esp
call fcn.1000668a
mov esp, ebp
pop ebp
ret
Function at 0x100045d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x1000a800]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10004633
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1000668a
test eax, eax
jne 0x1000465e
mov eax, 0xa
jmp 0x10004760
cmp dword [ebp + 0xc], 0
je 0x100046aa
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x100046a8
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x100046e6
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100046d1
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x100046e6
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1000668a
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.1000668a
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.1000668a
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x10004784]
call fcn.10006636
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.1000668a
mov esp, ebp
pop ebp
ret
Function at 0x10004e50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x1000a7f4]
mov dword [ebp - 4], eax
jmp 0x10004e77
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10004e90
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10004e8e
mov eax, dword [ebp - 4]
jmp 0x10004f14
jmp 0x10004e6f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1000668a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10004f11
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x10004ed3
mov edx, dword [ebp - 4]
mov eax, dword [0x1000a7f4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1000a7f4], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.1000668a
mov esp, ebp
pop ebp
ret

Function at 0x10005400
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10005450
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x10005450
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x10005450
xor eax, eax
jmp 0x10005491
mov dword [ebp - 4], 1
jmp 0x10005462
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000548c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x1000548a
xor eax, eax
jmp 0x10005491
jmp 0x10005459
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x403ae0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x15a0
call fcn.00411cc0
push esi
push edi
push 0x43dc64
push 2
call fcn.0041163e
mov ecx, 0x12
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 0x4c
add esp, 8
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x15ac]
lea ecx, [esp + 0x158]
push 0x43dc64
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x4205f0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x54]
lea edx, [esp + 0x158]
push eax
push 0x104
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0x1450
mov dword [esp + 0x40], 0x4205e4
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x54]
push str.select_file_n
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], 0x81200
call fcn.004115fd
add esp, 4
lea edx, [esp + 8]
push edx
call sub.comdlg32.dll_GetOpenFileNameA
mov edx, eax
lea edi, [esp + 0x158]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x15b0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x15a0
ret

Function at 0x403bc0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x15a0
call fcn.00411cc0
push ebx
push esi
push edi
push 0x43dc64
push 2
call fcn.0041163e
mov ebx, dword [esp + 0x15bc]
mov ecx, 0x12
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0x4c
add esp, 8
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x15b0]
lea ecx, [esp + 0x15c]
push ebx
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x4205f0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x58]
lea edx, [esp + 0x15c]
push eax
push 0x104
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x1450
mov dword [esp + 0x44], 0x4205e4
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0xc]
lea ecx, [esp + 0x58]
push edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], 0x81200
mov dword [esp + 0x40], 0x42061c
call sub.comdlg32.dll_GetSaveFileNameA
mov edx, eax
lea edi, [esp + 0x15c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x15a0
ret
Function at 0x409f60
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
sub esp, 0x11c
push esi
mov esi, dword [esp + 0x124]
push edi
mov edi, dword [esp + 0x134]
push 0
push 0x40df90
push 0
push 0x67
push esi
mov dword [0x6fecfd0], esi
mov dword [0x6fed01c], edi
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0x73
push esi
mov dword [0x6fecfd4], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [0x6fecfd4]
push 0
push 0x80
push eax
call esi
lea ecx, [esp + 0x24]
push ecx
call fcn.00405fa0
mov eax, dword [0x6fecfd4]
add esp, 4
lea edx, [esp + 0x24]
push edx
push 0
push 0xc
push eax
call esi
mov ecx, dword [0x6fecfd4]
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea edx, [esp + 0x10]
push 0
push edx
call esi
test eax, eax
je 0x40a033
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [esp + 0xc]
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
call ebx
push 0
push 0
lea edx, [esp + 0x14]
push 0
push edx
call esi
test eax, eax
jne 0x40a008
pop ebx
pop edi
pop esi
add esp, 0x11c
ret 0x10
pop edi
xor eax, eax
pop esi
add esp, 0x11c
ret 0x10
Function at 0x410a40
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
mov eax, dword [ebp]
mov dword [esp + 0x14], edi
cmp eax, 9
jne 0x410a74
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x30]
push ecx
push eax
push str.tx_swath_d__size:_d_n
mov dword [0x6ffeaac], eax
call fcn.00403250
add esp, 0xc
mov esi, dword [esp + 0x1c]
cmp dword [ebp], 9
jne 0x410a8b
call fcn.00403450
cmp al, 1
je 0x410cd6
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edx, dword [esp + 0x24]
mov eax, dword [esi]
push 0
push edx
push ebp
push eax
mov dword [esi + 0x20], 1
call fcn.00410a00
add esp, 0x10
test al, al
je 0x410bc3
mov eax, dword [esp + 0x2c]
test eax, eax
jbe 0x410ade
call ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
push 1
push ecx
push edx
push eax
call fcn.00410a00
add esp, 0x10
test al, al
je 0x410bca
lea ecx, [esp + 0x10]
push ecx
push 0xbb8
push 0x6ffdef4
push esi
call fcn.00410a20
mov bl, al
add esp, 0x10
test bl, bl
je 0x410bad
mov edx, dword [0x6ffeaac]
mov eax, dword [esp + 0x10]
push edx
push eax
push 0x6ffdef4
push esi
call fcn.004107e0
mov byte [esp + 0x30], al
add esp, 0x10
mov eax, dword [esp + 0x20]
and eax, 0xff
sub eax, 0
je 0x410c2f
dec eax
je 0x410c5e
dec eax
jne 0x410b77
push 1
call fcn.00404ba0
mov ecx, dword [esi + 0x38]
add esp, 4
cmp dword [ecx], 1
jne 0x410b56
cmp dword [ebp], 1
jne 0x410c1e
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
and eax, 0xffff
inc edi
push eax
push 0x4396d0
call fcn.00403250
add esp, 8
call fcn.00403450
cmp al, 1
je 0x410c3c
cmp byte [esp + 0x20], 3
jne 0x410bba
lea edx, [esp + 0x10]
push edx
push 0xbb8
push 0x6ffdef4
push esi
call fcn.00410a20
mov bl, al
add esp, 0x10
test bl, bl
jne 0x410b00
push str.Rec_fail__n
call fcn.00403250
add esp, 4
test bl, bl
je 0x410bd7
jmp 0x410a78
push str.send_CMM__fail__n
jmp 0x410bcf
push str.send_DATA__fail__n
call fcn.00403250
add esp, 4
call fcn.00403450
cmp al, 1
je 0x410c75
mov ebx, dword [esp + 0x14]
mov ax, bx
inc ebx
cmp ax, 0xa
mov dword [esp + 0x14], ebx
jae 0x410c8c
push ebx
push esi
call fcn.004107c0
add esp, 8
test al, al
je 0x410cc2
push 0x43968c
call fcn.00403250
add esp, 4
jmp 0x410a78
mov ecx, dword [ebp]
push ecx
push str.Sending_cmm_d__but
call fcn.00403250
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
call fcn.004034b0
and eax, 0xff
push eax
push 0x439654
call fcn.00403250
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x439640
call fcn.00403250
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x439630
call fcn.00403250
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push str.Swath
call fcn.00403250
mov edx, dword [0x6ffeaac]
and ebx, 0xffff
push ebx
push edx
push str.Swath_d
call fcn.00403250
push 0x11
call fcn.004034c0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x4395c4
call fcn.00403250
push 0x11
call fcn.004034c0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x411120
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
xor esi, esi
mov eax, dword [edi + 8]
mov dword [edi + 4], esi
cmp eax, 1
mov dword [edi + 0x10], esi
je 0x411178
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call ebx
mov ax, si
inc esi
cmp ax, 0x14
ja 0x411153
cmp dword [edi + 8], 1
jne 0x41113d
jmp 0x41116c
mov ecx, dword [edi + 0xc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x4397d4
call fcn.00403250
add esp, 4
cmp si, 0x14
pop ebx
jbe 0x411178
call fcn.0040f780
mov edx, dword [edi]
push edx
call fcn.00411100
add esp, 4
pop edi
pop esi
ret

Function at 0x411190
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
lea esi, [eax + 0x94]
push esi
call fcn.004110e0
add esp, 4
test eax, eax
jne 0x4111b9
push 0x43980c
call fcn.00403250
add esp, 4
xor eax, eax
pop esi
ret
push 0
push 0
push esi
push 0x411010
push 0
push 0
mov dword [esi + 4], 1
mov dword [esi + 8], 0
call fcn.00412073
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4111f5
push str.Create_Tx_thread_fail____r_n
call fcn.00403250
add esp, 4
xor eax, eax
pop esi
ret
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push str.Link_Start_n
call fcn.00403250
add esp, 4
mov eax, 1
pop esi
ret

Function at 0x417461
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x43a908
cmp edx, dword [eax]
je 0x417483
add eax, 8
inc ecx
cmp eax, 0x43a998
jl 0x417474
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x43a908]
jne 0x4175b1
mov eax, dword [0x6ffeaf0]
cmp eax, 1
je 0x41758b
test eax, eax
jne 0x4174b4
cmp dword [0x4399c4], 1
je 0x41758b
cmp edx, 0xfc
je 0x4175b1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4174eb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00415060
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00414f60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41752e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00414f60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41cca8
push edi
call fcn.00414e20
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00415060
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00415070
lea eax, [ebp - 0xa0]
push 0x41cc88
push eax
call fcn.00415070
push dword [esi + 0x43a90c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00415070
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00419e43
add esp, 0x2c
pop edi
jmp 0x4175b1
lea eax, [ebp + 8]
lea esi, [esi + 0x43a90c]
push 0
push eax
push dword [esi]
call fcn.00414f60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x410d50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
jmp 0x410d6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410d71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410d60
mov eax, 1
add ebx, ebx
jne 0x410d83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410d78
jne 0x410d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410d78
xor ecx, ecx
sub eax, 3
jb 0x410da8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x410e1a
mov ebp, eax
add ebx, ebx
jne 0x410db3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x410dc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x410de4
inc ecx
add ebx, ebx
jne 0x410dd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x410dc5
jne 0x410de1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410dc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x410e04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x410df5
jmp 0x410d66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x410e04
add edi, ecx
jmp 0x410d66
pop esi
mov edi, esi
mov ecx, 0xaf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x410e22
cmp byte [edi], 1
jne 0x410e22
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 0x410e27
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x410e9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12330]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x123ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x410e54
mov ecx, edi
jns 0x410e83
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 + 0x123f4]
or eax, eax
je 0x410e99
mov dword [ebx], eax
add ebx, 4
jmp 0x410e71
call dword [esi + 0x123f0]
mov ebp, dword [esi + 0x123f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x410ed3
sub esp, 0xffffff80
jmp 0x403956

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4013a0
Capabilities:
Create process on windows
Create process suspended
Enumerate processes
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x288]
mov dword [ebp - 0x29c], ecx
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40147a
lea eax, [ebp - 0x284]
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x288]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401472
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40146a
lea eax, [ebp - 0x280]
mov dword [ebp - 0x280], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401467
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
nop dword [eax + eax]
lea eax, [ebp - 0x25c]
push str.explorer.exe
push eax
call esi
add esp, 8
test eax, eax
je 0x40148b
lea eax, [ebp - 0x280]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401440
push ebx
call edi
push dword [ebp - 0x284]
call edi
push dword [ebp - 0x288]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402d49
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x278]
push ebx
call edi
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40146a
push 0x40
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x8000004
push 0
push 0
push 0
push dword [ebp - 0x29c]
push 0
push dword [ebp - 0x284]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x40151b
push dword [ebp - 0x294]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x298]
call edi
push dword [ebp - 0x294]
call edi
push esi
jmp 0x401468
Function at 0x40360e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40364d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40364d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40364d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40364d
cmp dword [ecx + 0x74], 0xe
jbe 0x40364d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4011f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40414d], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.trast
push str.bask
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401238
xor eax, eax
jmp 0x401253
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4025a0
Capabilities:
Terminate process

Disassembly:
mov ecx, 0x404240
push ecx
jmp fcn.004025ab