joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4194a6
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x43405c
push 1
push ebx
push 0x43414c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x419577
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x43413c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x41956e
cmp byte [ebp + 8], bl
je 0x4194f9
mov eax, dword [ebp - 8]
push 2
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x419516
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
push ebx
mov ecx, dword [eax]
cmp dword [ebp + 0x1c], ebx
jne 0x419528
push 0x4322e4
jmp 0x41952b
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x419540
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x419551
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
push 1
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x419565
mov bl, 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x41964e
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x419690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push 0x4333bc
push dword [esp + 0x10]
push dword [0x440060]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x419786
push ebx
push esi
push dword [0x440060]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4196e3
push esi
push dword [0x440060]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4196e3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4196ea
xor eax, eax
jmp 0x419785
push ebp
push edi
push ebx
xor ebp, ebp
push 2
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x41977f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x419778
push ebx
push esi
push eax
call fcn.0041eae0
add esp, 0xc
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x18]
push eax
push ebp
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x419771
push ebp
push dword [esp + 0x1c]
call fcn.00419625
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
je 0x419771
mov ecx, dword [esi + 8]
mov dword [esi + 8], ebp
test ecx, ecx
jne 0x419769
push 0xffffff
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x419769
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 4

Function at 0x419cf7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.0041d980
cmp word [0x4485fa], 0
je 0x419d93
push esi
push 6
push dword [0x43d5ec]
mov esi, 0x4485fa
push esi
call fcn.0040b98f
push eax
call fcn.00411477
test eax, eax
jne 0x419d92
push 0x4475f8
call fcn.00419ae3
push 0x800
push esi
lea eax, [ebp - 0x1024]
push eax
call fcn.0040faf8
lea eax, [ebp - 0x1024]
push eax
call fcn.00422bb3
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - 0x1022], cx
lea eax, [ebp - 0x20]
push eax
call fcn.0041e980
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1024]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419def
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x43d604], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x419e3a
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x45de30], ax
xor eax, eax
mov word [0x45de32], ax
mov dword [0x43d604], 0x45de30
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040f9c7
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x43d5f4
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41a052
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0041d980
cmp byte [0x449600], 0
je 0x41a100
push 0x800
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.0041b4c0
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a100
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a0f7
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x41a0db
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0040faf8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x41a1ac
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.0041d980
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x41a1c7
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x41a1d4
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x41a297
movzx eax, word [esi]
test ax, ax
je 0x41a297
push ebp
mov ebp, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
mov dword [esp + 0x10], ebx
movzx eax, ax
add esi, 2
cmp eax, 0x3d
jne 0x41a221
test edi, edi
je 0x41a22b
test ebx, ebx
jne 0x41a22b
test ecx, ecx
je 0x41a21d
mov byte [ecx], 1
mov ebx, ebp
jmp 0x41a242
cmp eax, 0xd
je 0x41a255
cmp eax, 0xa
je 0x41a258
mov word [ebp], ax
add ebp, 2
mov eax, dword [esp + 0x202c]
add eax, 0xfffffffe
cmp dword [esp + 0x10], eax
jge 0x41a250
movzx eax, word [esi]
inc dword [esp + 0x10]
test ax, ax
jne 0x41a203
jmp 0x41a258
mov byte [edx], 1
jmp 0x41a258
add esi, 2
xor eax, eax
mov word [ebp], ax
test edi, edi
je 0x41a291
mov word [edi], ax
test ebx, ebx
je 0x41a291
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esp + 0x202c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040faf8
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x41a299
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18

Function at 0x41a2a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x41a2f3
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x41a2fb
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41c6d9
Capabilities:
Hide graphical window

Disassembly:
and dword [0x4475d0], 0
push 1
push dword [esp + 8]
mov byte [0x4475ca], 1
mov byte [0x4475cb], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.00401294
cmp dword [0x4475d8], 0
jne 0x41c719
cmp byte [0x4475c8], 0
je 0x41c722
cmp dword [0x4475ec], 0
jne 0x41c735
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41c835
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041d980
cmp byte [0x449600], 0
je 0x41c8c4
cmp word [0x449602], 0
je 0x41c8c4
push esi
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0x449602
call fcn.0041b4c0
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41c8c3
push dword [ebp + 8]
call fcn.00422bb3
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41c8ca
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041d980
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.0040f87c
mov esi, eax
test esi, esi
je 0x41c922
movzx ecx, word [esi]
push ecx
jmp 0x41c90d
add esi, 2
movzx eax, word [esi]
push eax
call fcn.0040f993
test al, al
jne 0x41c906
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x438c98
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x438a14
sub eax, 0xb5096ca9
push 0x4d8d2d36
pop eax
mov eax, 0x4f2b5060
call fcn.00438ce6
sub eax, 0xb68472a6
mov esi, esi
add esi, 1
xor dword [ebx], edx
mov eax, 0x798ba237
add ebx, 1
add eax, 1
dec eax
cmp ebx, edi
jne fcn.00438c98
add esi, eax
or esi, eax
or esi, eax
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x5d8e7a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x5d8b64
mov ebx, dword [esp]
add esp, 4
add esi, 0x5c9908c9
call fcn.005d8eca
sub esi, 0xf649822f
mov edx, esi
xor dword [ecx], ebx
add esi, 0x1f8d6f1e
and esi, edx
add edx, edx
add ecx, 2
and esi, esi
cmp ecx, edi
jl fcn.005d8e7a
add esi, 0xda26e317
add edx, edx
sub edx, 1
ret

Function at 0x4ca231
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4c9fca
dec edi
or edx, edx
mov edx, edi
call fcn.004ca25a
push edx
pop edx
xor dword [eax], ebx
add edx, edx
or edi, edx
inc eax
sub edx, 0x89cd83f1
add edx, edx
cmp eax, esi
jne fcn.004ca231
and edi, edi
ret
Function at 0x401050
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 4]
push esi
xor esi, esi
cmp dword [0x80e114], 0xee
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
jne 0x4010a1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFiber]
lea eax, [ebp - 0xc]
push eax
push esi
push str.Wucihajam_seze_ciposafigizumer
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
mov eax, dword [0x421178]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x42117c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], 0x9e3779b9
call fcn.00401046
mov eax, dword [0x421180]
add dword [ebp - 4], 0x7c
mov dword [ebp - 0x28], eax
mov eax, dword [0x421184]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x20
jmp 0x4010e3
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, dword [0x80e114]
mov edi, ebx
shl edi, 4
add edi, dword [ebp - 0x28]
cmp eax, 0xfa9
jne 0x40110c
mov dword [0x80e110], 0xedeb2e40
cmp eax, 0x3eb
jne 0x401124
push esi
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_MapGenericMask]
mov dword [0x42253c], esi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
shr eax, cl
mov ecx, dword [ebp - 4]
add ecx, ebx
mov dword [0x80e10c], 0x9150ce2e
add eax, dword [ebp - 0x18]
xor eax, ecx
xor eax, edi
cmp dword [0x80e114], 0x27
mov dword [ebp - 0x24], eax
jne 0x401173
lea eax, [ebp - 0x34]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push esi
push esi
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
and eax, 0x5dc052bb
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov ecx, edx
shl ecx, 4
add ecx, dword [ebp - 0x1c]
mov eax, edx
shr eax, 5
add eax, dword [ebp - 0x2c]
add edi, edx
xor ecx, edi
xor ecx, eax
lea eax, [ebp - 0x10]
mov dword [0x422538], esi
call fcn.0040104d
mov eax, dword [ebp - 0x20]
sub dword [ebp - 4], eax
dec dword [ebp - 0x14]
jne 0x4010e0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x401575
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push dword [0x80e114]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x80dc00], eax
ret

Function at 0x401590
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41af87
push eax
mov dword fs:[0], esp
sub esp, 0x4c4
push esi
push edi
xor edi, edi
cmp dword [0x80e114], 0x20a
jne 0x40167c
push edi
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
push edi
lea eax, [esp + 0xd0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Batekiwa_jaxeneyilog
push edi
call dword [sym.imp.KERNEL32.dll_SetComputerNameExA]
xor eax, eax
push 6
lea esi, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], ax
call fcn.00401819
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x4dc], edi
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.004027f0
fstp st(0)
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.00402410
fstp st(0)
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.00402560
fstp st(0)
or dword [esp + 0x4dc], 0xffffffff
add esp, 8
push edi
push 1
call fcn.004017d5
xor esi, esi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
cmp esi, 0xbcd043
jge 0x401698
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
cmp esi, 0x90ce7e5
jg 0x4016a9
inc esi
cmp esi, 0x707cc07a
jl 0x40167e
call fcn.00401561
push 0x4220b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push dword [0x80e114]
mov dword [0x80dc04], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x80dc00], eax
call fcn.00401575
mov eax, dword [0x421254]
mov dword [0x80f504], eax
call fcn.00401228
xor esi, esi
cmp dword [0x80e114], edi
jbe 0x40170f
cmp dword [0x80e114], 0x44
jne 0x401706
push edi
lea eax, [esp + 0xc]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
inc esi
cmp esi, dword [0x80e114]
jb 0x4016ee
xor esi, esi
mov eax, dword [0x80e114]
add eax, esi
cmp eax, 0x5e
jne 0x401736
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_HeapSize]
inc esi
cmp esi, 0x40c893
jl 0x401711
call fcn.004011cc
cmp edi, 0x7616
jne 0x401751
call fcn.0040120e
inc edi
cmp edi, 0x2466e9
jl 0x401744
mov eax, dword [0x80dc00]
mov dword [0x80e108], eax
call eax
mov ecx, dword [esp + 0x4cc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40301b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4203a8]
jne 0x403025
repz ret
jmp fcn.0040703c
Function at 0x40a96a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040449e
and dword [ebp - 4], 0
cmp dword [0x421fd0], 0
mov ebx, eax
jne 0x40aa1b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40aacc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40aacc
push eax
call fcn.0040442c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x421fd0], eax
call esi
push eax
call fcn.0040442c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x421fd4], eax
call esi
push eax
call fcn.0040442c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x421fd8], eax
call esi
push eax
call fcn.0040442c
pop ecx
mov dword [0x421fe0], eax
test eax, eax
je 0x40aa1b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040442c
pop ecx
mov dword [0x421fdc], eax
mov eax, dword [0x421fdc]
cmp eax, ebx
je 0x40aa73
cmp dword [0x421fe0], ebx
je 0x40aa73
push eax
call fcn.004044a7
push dword [0x421fe0]
mov esi, eax
call fcn.004044a7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40aa73
test edi, edi
je 0x40aa73
call esi
test eax, eax
je 0x40aa6a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40aa6a
test byte [ebp - 0xc], 1
jne 0x40aa73
or dword [ebp + 0x10], 0x200000
jmp 0x40aaac
mov eax, dword [0x421fd4]
cmp eax, ebx
je 0x40aaac
push eax
call fcn.004044a7
pop ecx
test eax, eax
je 0x40aaac
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40aaac
mov eax, dword [0x421fd8]
cmp eax, ebx
je 0x40aaac
push eax
call fcn.004044a7
pop ecx
test eax, eax
je 0x40aaac
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x421fd0]
call fcn.004044a7
pop ecx
test eax, eax
je 0x40aacc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40aace
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
jae 0x401765
enter 0x604d, 0x2e
push eax
and dword [eax - 0x2d8b97c0], 0x40
add byte [ecx - 1], dl
adc eax, 0xe40c119
push ecx
call dword [0xe40c119]
mov eax, dword [0x4102ac]
or dword [eax + 0xc], 0xffffff85
sal byte [edi + ecx + 0x50], 0xa
push esp
salc
inc eax
call dword ss:[0x1d40c064]
add esp, 0xffffff9c
inc edx
add edi, edi
fdiv qword [eax - 0x3f]
inc eax
add byte [eax - 0x7e1374ab], dl
in al, dx
mov eax, 0xa11b0000
js 0x40179e
inc ecx
add byte [ecx - 0x40], bl
mov eax, dword [0x41404c]
je 0x4017bb
pop ecx
shl byte [ecx + 0x41404c], 0x74
adc al, 0x68
inc eax
cmp al, 0x41
add byte [eax - 0x18], dl
sahf
inc eax
add byte [eax], al
push 0x413c40
push eax
call fcn.00405850
mov cx, word [0xf60274]
jmp 0x4017cf
rcl byte [0x41c521], cl
ret 0x4a50
popal
das
sbb byte [ecx - 0x62], al
invalid