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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov esi, eax
cmp edi, 0x50
jle 0x408711
mov eax, esi
mov edx, 0x40a198
mov ecx, 0x40
call fcn.00402718
je 0x408716
call fcn.00408688
mov eax, esi
add eax, 0x40
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx + 8]
not edx
cmp eax, edx
jne 0x408735
cmp edi, eax
jne 0x408735
cmp dword [ebx], 0xcc
je 0x40873a
call fcn.00408688
mov eax, ebx
add eax, 0x10
mov ebp, eax
add esi, dword [ebx + 4]
mov dword [esp], esi
mov edx, dword [esp]
sub edx, ebp
mov eax, ebp
call fcn.00406ab0
cmp eax, dword [ebx + 0xc]
jne 0x408761
mov eax, dword [esp]
cmp byte [eax - 1], 0
je 0x408766
call fcn.00408688
mov bl, 0xcc
mov esi, 0x40b95c
cmp ebp, dword [esp]
jb 0x408777
call fcn.00408688
mov eax, ebp
call fcn.00404f70
mov edi, eax
mov eax, esi
mov ecx, edi
mov edx, ebp
call fcn.00403284
inc edi
add ebp, edi
add esi, 4
dec bl
jne 0x40876d
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408974
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
cmp dword [0x40a07c], 2
jne 0x4089e1
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x408999
call fcn.00408954
jmp 0x4089f3
lea eax, [esp + 8]
push eax
push 0x4089f8
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x4089e1
call fcn.00408954
jmp 0x4089f3
push 0
push 2
call sub.user32.dll_ExitWindowsEx
test eax, eax
jne 0x4089f3
call fcn.00408954
add esp, 0x14
ret

Function at 0x408a0c
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov ebx, edx
dec ebx
test ebx, ebx
jl 0x408a52
inc ebx
xor esi, esi
test esi, esi
je 0x408a29
push 0xfa
call sub.kernel32.dll_Sleep
mov eax, edi
call fcn.00403444
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x408a52
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x408a52
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
je 0x408a52
inc esi
dec ebx
jne 0x408a1b
pop edi
pop esi
pop ebx
ret
Function at 0x408c90
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
mov edi, 0x40bd8c
cmp dword [0x40bc8c], 0
je 0x408cd9
mov esi, dword [0x40bd90]
dec esi
test esi, esi
jl 0x408cd9
inc esi
xor ebx, ebx
mov eax, ebx
shl eax, 4
sub eax, ebx
mov edx, dword [edi]
mov edx, dword [edx + eax*4]
mov eax, dword [0x40bc8c]
call fcn.00404e10
test eax, eax
jne 0x408cd5
mov eax, ebx
call fcn.00408c44
jmp 0x408d6d
inc ebx
dec esi
jne 0x408caf
mov al, byte [0x40bd82]
sub al, 1
jb 0x408ce6
je 0x408ced
jmp 0x408cf4
call fcn.004082c4
jmp 0x408cf6
call sub.kernel32.dll_GetUserDefaultLangID
jmp 0x408cf6
xor eax, eax
test ax, ax
je 0x408d66
mov esi, dword [0x40bd90]
dec esi
test esi, esi
jl 0x408d2a
inc esi
xor ebx, ebx
mov edx, ebx
shl edx, 4
sub edx, ebx
mov ecx, dword [edi]
mov edx, dword [ecx + edx*4 + 0x28]
movzx ecx, ax
cmp edx, ecx
jne 0x408d26
mov eax, ebx
call fcn.00408c44
jmp 0x408d6d
inc ebx
dec esi
jne 0x408d09
mov esi, dword [0x40bd90]
dec esi
test esi, esi
jl 0x408d66
inc esi
xor ebx, ebx
mov edx, ebx
shl edx, 4
sub edx, ebx
mov ecx, dword [edi]
mov edx, dword [ecx + edx*4 + 0x28]
and edx, 0x3ff
mov ecx, eax
and cx, 0x3ff
movzx ecx, cx
cmp edx, ecx
jne 0x408d62
mov eax, ebx
call fcn.00408c44
jmp 0x408d6d
inc ebx
dec esi
jne 0x408d38
xor eax, eax
call fcn.00408c44
pop edi
pop esi
pop ebx
ret

Function at 0x408e08
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
lea ebx, [ebp - 0x78]
xor eax, eax
push ebp
push 0x408ef8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x408f10
push esi
push 0x408f1c
push edi
lea eax, [ebp - 8]
mov edx, 4
call fcn.00403340
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402788
mov dword [ebp - 0x4c], 0x44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403444
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x408e8c
mov al, 0x62
call fcn.00408a58
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x408ea3
push ebx
call sub.user32.dll_TranslateMessage
push ebx
call sub.user32.dll_DispatchMessageA
push 1
push 0
push 0
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x408e97
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x408ea3
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408eff
lea eax, [ebp - 8]
call fcn.004031a4
ret
Function at 0x408fa8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x409087
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.004080e0
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
mov edx, 0x4090a0
call fcn.00408850
push 0
mov eax, dword [ebp - 4]
call fcn.00403444
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x409055
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.00408648
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404eb4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00405468
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x60
call fcn.00408618
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x404830
call fcn.00405b18
call fcn.00402ec0
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004031f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40908e
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004031c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004031c4
ret

Function at 0x4090b0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409164
jmp 0x409159
cmp dword [esi + 0x10], 0x1000
jne 0x409145
test byte [esi + 0x15], 1
jne 0x409145
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409104
cmp eax, 2
je 0x409104
cmp eax, 0x10
je 0x409104
cmp eax, 0x20
jne 0x409119
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409119
mov bl, 1
xor ebp, ebp
jmp 0x40912a
mov eax, dword [esi]
add eax, ebp
call fcn.004090a8
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jl 0x40911d
test bl, bl
je 0x409145
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409164
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4090dc
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401bd8
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x1c
mov eax, dword [0x49f0c8]
cmp eax, 3
je 0x401c2a
push dword [0x49e888]
call fcn.0044693f
pop ecx
lea eax, [esp]
push eax
push dword [0x49e894]
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx edx, word [esp + 6]
mov eax, dword [esp + 0x20]
neg eax
add edx, eax
xor ecx, ecx
mov word [esp + 0x1a], dx
mov word [esp + 0x18], cx
push dword [esp + 0x18]
push dword [0x49e894]
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
add esp, 0x1c
ret

Function at 0x4024a4
Capabilities:
Read file on windows

Disassembly:
push esi
push ebx
push ecx
push edx
push eax
mov eax, 0x1028
call fcn.004475a0
mov ecx, dword [esp + 0x1030]
mov edx, dword [esp + 0x102c]
mov eax, dword [esp + 0x1028]
mov esi, edx
mov ebx, eax
mov eax, dword [0x482908]
mov dword [esp + 0x1030], eax
push ebx
call fcn.00447ee7
lea edx, [esp + 0x1004]
push edx
push eax
call fcn.004475cb
add esp, 0xc
test eax, eax
jne 0x402556
movzx eax, word [esp + 0x1006]
and eax, 0x1000
cmp eax, 0x1000
jne 0x402556
test esi, esi
jl 0x4025f9
jle 0x40253f
lea edx, [esp]
push ebx
cmp esi, 0x1000
mov eax, esi
jbe 0x402524
mov eax, 0x1000
push eax
push 1
push edx
call fcn.00446f60
add esp, 0x10
cmp eax, 1
jb 0x40262d
sub esi, eax
test esi, esi
jg 0x402511
mov ecx, dword [esp + 0x1030]
call fcn.00446571
xor eax, eax
add esp, 0x1034
pop ebx
pop esi
ret
push 1
push esi
push ebx
call fcn.00447510
add esp, 0xc
test eax, eax
je 0x4025b1
test esi, esi
jl 0x4025c8
jle 0x40259a
lea edx, [esp]
push ebx
cmp esi, 0x1000
mov eax, esi
jbe 0x40257f
mov eax, 0x1000
push eax
push 1
push edx
call fcn.00446f60
add esp, 0x10
cmp eax, 1
jb 0x402613
sub esi, eax
test esi, esi
jg 0x40256c
mov ecx, dword [esp + 0x1030]
call fcn.00446571
xor eax, eax
add esp, 0x1034
pop ebx
pop esi
ret
mov ecx, dword [esp + 0x1030]
call fcn.00446571
xor eax, eax
add esp, 0x1034
pop ebx
pop esi
ret
mov eax, dword [0x49e848]
cmp eax, 0xa
jl 0x4025ec
mov ecx, dword [esp + 0x1030]
call fcn.00446571
mov eax, 0xffffffff
add esp, 0x1034
pop ebx
pop esi
ret
push str.fskip_problem:_Mostly_the_return_status_of_functions_is_not_evaluate_so_it_is_more_secure_to_polute__stderr_._n
call fcn.00401d80
pop ecx
jmp 0x4025d2
mov ecx, dword [esp + 0x1030]
call fcn.00446571
mov eax, 0xffffffff
add esp, 0x1034
pop ebx
pop esi
ret
mov ecx, dword [esp + 0x1030]
call fcn.00446571
mov eax, 0xffffffff
add esp, 0x1034
pop ebx
pop esi
ret
mov ecx, dword [esp + 0x1030]
call fcn.00446571
mov eax, 0xffffffff
add esp, 0x1034
pop ebx
pop esi
ret
Function at 0x402648
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebp
push ebx
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
push edi
push 4
lea eax, [ebp + 7]
push 1
push str.RIFF
sar eax, 2
shr eax, 0x1d
lea ebx, [eax + ebp + 7]
sar ebx, 3
call fcn.00447a36
mov eax, dword [esp + 0x28]
lea edx, [eax + 0x24]
push edx
push edi
call fcn.00409304
push edi
push 4
push 2
push str.WAVEfmt
call fcn.00447a36
push 0x10
push edi
call fcn.00409304
push 1
push edi
call fcn.004092dc
push esi
push edi
call fcn.004092dc
mov eax, dword [esp + 0x5c]
push eax
push edi
call fcn.00409304
mov eax, dword [esp + 0x64]
imul eax, esi
imul eax, ebx
push eax
push edi
call fcn.00409304
imul ebx, esi
push ebx
push edi
call fcn.004092dc
push ebp
push edi
call fcn.004092dc
push edi
push 4
push 1
push str.data
call fcn.00447a36
mov eax, dword [esp + 0x88]
push eax
push edi
call fcn.00409304
push edi
call fcn.00447af2
add esp, 0x7c
mov edx, 0xffffffff
test eax, eax
jne 0x40270c
mov edx, 0
mov eax, edx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x402e70
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Read file on windows

Disassembly:
push esi
push ebp
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov ebp, dword [esp + 0x20]
push dword [esp + 0x24]
push eax
push esi
push ebp
call fcn.00446f60
add esp, 0x10
lea edx, [ebp + eax*4]
test ebx, ebx
jne 0x402eb1
cmp esi, 1
je 0x402f83
cmp esi, 2
je 0x402f50
cmp esi, 3
je 0x402f17
cmp esi, 4
je 0x402eda
jmp 0x402ed5
cmp esi, 1
je 0x40305a
cmp esi, 2
je 0x403027
cmp esi, 3
je 0x402fea
cmp esi, 4
je 0x402fa6
pop ecx
pop ebx
pop ebp
pop esi
ret
mov ebx, esi
imul ebx, eax
sub ebx, esi
js 0x402ed5
mov dword [esp], edi
movzx ecx, byte [ebx + ebp]
movzx edi, byte [ebx + ebp + 1]
shl edi, 8
or ecx, edi
movzx edi, byte [ebx + ebp + 2]
shl edi, 0x10
or ecx, edi
movzx edi, byte [ebx + ebp + 3]
shl edi, 0x18
or ecx, edi
mov dword [edx - 4], ecx
add edx, 0xfffffffc
sub ebx, esi
jns 0x402ee6
mov edi, dword [esp]
jmp 0x402ed5
mov ebx, esi
imul ebx, eax
sub ebx, esi
js 0x402ed5
mov dword [esp], edi
movzx ecx, byte [ebx + ebp]
movzx edi, byte [ebx + ebp + 1]
shl ecx, 8
shl edi, 0x10
or ecx, edi
movzx edi, byte [ebx + ebp + 2]
shl edi, 0x18
or ecx, edi
mov dword [edx - 4], ecx
add edx, 0xfffffffc
sub ebx, esi
jns 0x402f23
mov edi, dword [esp]
jmp 0x402eaa
mov ecx, esi
imul ecx, eax
sub ecx, esi
js 0x402ed5
mov dword [esp], edi
movzx edi, byte [ecx + ebp]
movzx ebx, byte [ecx + ebp + 1]
shl edi, 0x10
shl ebx, 0x18
or edi, ebx
mov dword [edx - 4], edi
add edx, 0xfffffffc
sub ecx, esi
jns 0x402f60
mov edi, dword [esp]
jmp 0x402ea5
mov ecx, esi
imul ecx, eax
sub ecx, esi
js 0x402ed5
movzx ebx, byte [ecx + ebp]
shl ebx, 0x18
mov dword [edx - 4], ebx
add edx, 0xfffffffc
sub ecx, esi
jns 0x402f90
jmp 0x402e9c
mov ebx, esi
imul ebx, eax
sub ebx, esi
js 0x402ed5
mov dword [esp], edi
movzx ecx, byte [ebx + ebp]
movzx edi, byte [ebx + ebp + 1]
shl ecx, 0x18
shl edi, 0x10
or ecx, edi
movzx edi, byte [ebx + ebp + 2]
shl edi, 8
or ecx, edi
movzx edi, byte [ebx + ebp + 3]
or ecx, edi
mov dword [edx - 4], ecx
add edx, 0xfffffffc
sub ebx, esi
jns 0x402fb6
mov edi, dword [esp]
jmp 0x402ed5
mov ebx, esi
imul ebx, eax
sub ebx, esi
js 0x402ed5
mov dword [esp], edi
movzx ecx, byte [ebx + ebp]
movzx edi, byte [ebx + ebp + 1]
shl ecx, 0x18
shl edi, 0x10
or ecx, edi
movzx edi, byte [ebx + ebp + 2]
shl edi, 8
or ecx, edi
mov dword [edx - 4], ecx
add edx, 0xfffffffc
sub ebx, esi
jns 0x402ffa
mov edi, dword [esp]
jmp 0x402ecc
mov ecx, esi
imul ecx, eax
sub ecx, esi
js 0x402ed5
mov dword [esp], edi
movzx edi, byte [ecx + ebp]
movzx ebx, byte [ecx + ebp + 1]
shl edi, 0x18
shl ebx, 0x10
or edi, ebx
mov dword [edx - 4], edi
add edx, 0xfffffffc
sub ecx, esi
jns 0x403037
mov edi, dword [esp]
jmp 0x402ec3
mov ecx, esi
imul ecx, eax
sub ecx, esi
js 0x402ed5
movzx ebx, byte [ecx + ebp]
xor ebx, 0xffffff80
shl ebx, 0x18
or ebx, 0x7f0000
mov dword [edx - 4], ebx
add edx, 0xfffffffc
sub ecx, esi
jns 0x403067
jmp 0x402eba
Function at 0x4030a0
Capabilities:
Terminate process

Disassembly:
push dword [0x4844f4]
call fcn.00446a0e
pop ecx
test eax, eax
jne 0x4030b1
ret
mov eax, dword [0x49e848]
cmp eax, 0xa
jl 0x4030c3
push 2
call fcn.004471f7
pop ecx
push str.Could_not_close_audio_input_file_n
call fcn.00401d80
pop ecx
jmp 0x4030bb
Function at 0x40a380
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edi
push esi
push esi
rdtsc
mov esi, dword [esp + 0x10]
mov ecx, eax
rdtsc
mov esi, dword [esi]
mov edi, eax
rdtsc
sub eax, edi
sub edi, ecx
mov edx, eax
lea esi, [edi*4]
shr edi, 2
add edi, esi
xor eax, eax
sub edi, edx
setge al
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop esi
pop edi
ret
Function at 0x4115a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x4115f5
mov eax, dword [esp + 0x10]
movzx eax, word [eax]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x10]
mov dword [esp], edi
xor edx, edx
movzx edi, byte [edx + ebx]
xor edi, eax
shr eax, 8
and edi, 0xff
add edx, 1
xor eax, dword [edi*4 + 0x4621a0]
movzx eax, ax
mov word [esi], ax
cmp edx, ecx
jl 0x4115c7
mov ebx, dword [esp + 8]
mov esi, dword [esp + 4]
mov edi, dword [esp]
add esp, 0xc
ret
Function at 0x446571
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x482908]
jne 0x44657b
repz ret
jmp fcn.0044bba4

Function at 0x455297
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044dbb5
xor ebx, ebx
cmp dword [0x49e7fc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x45536c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4552d7
xor eax, eax
jmp 0x455430
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4552d0
push eax
call fcn.0044db52
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x49e7fc], eax
call esi
push eax
call fcn.0044db52
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49e800], eax
call esi
push eax
call fcn.0044db52
mov dword [0x49e804], eax
lea eax, [ebp - 8]
push eax
call fcn.00447024
test eax, eax
pop ecx
pop ecx
je 0x45533a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044ba84
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x45536c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044db52
cmp eax, ebx
pop ecx
mov dword [0x49e80c], eax
je 0x45536c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044db52
pop ecx
mov dword [0x49e808], eax
mov eax, dword [0x49e808]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4553e5
cmp dword [0x49e80c], esi
je 0x4553e5
push eax
call fcn.0044dbbe
pop ecx
call eax
cmp eax, ebx
je 0x4553b2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x49e80c]
call fcn.0044dbbe
pop ecx
call eax
test eax, eax
je 0x4553b2
test byte [ebp - 0x18], 1
jne 0x4553e5
lea eax, [ebp - 0xc]
push eax
call fcn.0044705b
test eax, eax
pop ecx
je 0x4553cd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044ba84
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4553dc
or dword [ebp + 0x10], 0x200000
jmp 0x455416
or dword [ebp + 0x10], 0x40000
jmp 0x455416
mov eax, dword [0x49e800]
cmp eax, esi
je 0x455416
push eax
call fcn.0044dbbe
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x455416
mov eax, dword [0x49e804]
cmp eax, esi
je 0x455416
push dword [ebp - 4]
push eax
call fcn.0044dbbe
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x49e7fc]
call fcn.0044dbbe
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44f769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x453190
cmp edx, dword [eax]
je 0x44f78b
add eax, 8
inc ecx
cmp eax, 0x453220
jl 0x44f77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x453190]
jne 0x44f8b9
mov eax, dword [0x453bb0]
cmp eax, 1
je 0x44f893
test eax, eax
jne 0x44f7bc
cmp dword [0x4530e4], 1
je 0x44f893
cmp edx, 0xfc
je 0x44f8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44f7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00450670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00450490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x44f836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00450490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x45245c
push edi
call fcn.00450f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00450670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00450680
lea eax, [ebp - 0xa0]
push 0x45243c
push eax
call fcn.00450680
push dword [esi + 0x453194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00450680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00450e75
add esp, 0x2c
pop edi
jmp 0x44f8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x453194]
push 0
push eax
push dword [esi]
call fcn.00450490
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x630517ae
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0xbef6110
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x484cce
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x484a08
mov edx, 0xca32aca
inc esi
mov edx, edx
call fcn.00484d0c
dec esi
sub edx, edx
xor dword [edi], ecx
add esi, 1
add edi, 2
dec esi
and edx, edx
cmp edi, ebx
jl fcn.00484cce
add edx, 0xeab8a00d
inc edx
add esi, 0x60e9c59c
ret
Function at 0x408150
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.NEW1
lea edi, [esi - 0x6000]
push edi
jmp 0x40816a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408171
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408160
mov eax, 1
add ebx, ebx
jne 0x408183
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408178
jne 0x408194
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408178
xor ecx, ecx
sub eax, 3
jb 0x4081a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40821a
mov ebp, eax
add ebx, ebx
jne 0x4081b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4081c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4081e4
inc ecx
add ebx, ebx
jne 0x4081d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4081c5
jne 0x4081e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4081c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408204
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4081f5
jmp 0x408166
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408204
add edi, ecx
jmp 0x408166
pop esi
mov edi, esi
mov ecx, 0x62
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x408222
cmp byte [edi], 1
jne 0x408222
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 0x408227
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x408296
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x81dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8290]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408254
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8294]
or eax, eax
je 0x408290
mov dword [ebx], eax
add ebx, 4
jmp 0x408271
call dword [esi + 0x82a4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4082c7
cmp al, 0xef
ja 0x4082ba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40829c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4082a9
mov ebp, dword [esi + 0x8298]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x4082fb
sub esp, 0xffffff80
jmp 0x40152f