joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7a14
Capabilities:
Terminate process

Disassembly:
add byte [eax + 0x14], ch
add byte [eax + eax - 0x18], cl
inc ebx
add byte [eax], al
add byte [ecx + 0x59], bl
push 0x4c0020
push 0x4c001c
call fcn.004b7a62
pop ecx
pop ecx
test ebx, ebx
pop ebx
je 0x4b7a3e
call fcn.004b7a59
pop edi
ret
push dword [esp + 8]
mov dword [0x4c4d60], edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4b8519
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c0398
cmp edx, dword [eax]
je 0x4b853b
add eax, 8
inc ecx
cmp eax, 0x4c0428
jl 0x4b852c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c0398]
jne 0x4b8669
mov eax, dword [0x4c4d1c]
cmp eax, 1
je 0x4b8643
test eax, eax
jne 0x4b856c
cmp dword [0x4c02c0], 1
je 0x4b8643
cmp edx, 0xfc
je 0x4b8669
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b85a3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004b8f00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004b9390
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b85e6
lea eax, [ebp - 0x1a4]
push eax
call fcn.004b9390
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bd98c
push edi
call fcn.004bb260
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004b8f00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b8f10
lea eax, [ebp - 0xa0]
push 0x4bd96c
push eax
call fcn.004b8f10
push dword [esi + 0x4c039c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b8f10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bb1d4
add esp, 0x2c
pop edi
jmp 0x4b8669
lea eax, [ebp + 8]
lea esi, [esi + 0x4c039c]
push 0
push eax
push dword [esi]
call fcn.004b9390
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 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401007
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x446ec0]
mov dword [ebp - 0x28], eax
mov eax, dword [0x446ec4]
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [ebx + 4]
xor ecx, ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ecx
call fcn.00401000
mov eax, dword [0x446ec8]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x18], eax
mov eax, dword [0x446ecc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [0x2466e54]
cmp eax, 0xfa9
jne 0x40107e
mov dword [0x2466e50], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40108b
mov dword [0x24668dc], ecx
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
add edx, esi
xor eax, edx
xor eax, dword [ebp - 0x20]
cmp dword [0x2466e54], 0x213
mov dword [0x2466e4c], 0xf4ea3dee
mov dword [ebp - 4], eax
jne 0x4010cc
push ecx
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov eax, dword [ebp - 4]
xor ecx, ecx
sub edi, eax
cmp dword [0x2466e54], 0xc
jne 0x4010ee
lea eax, [ebp - 0x2c]
push eax
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_FindVolumeMountPointClose]
xor ecx, ecx
mov eax, edi
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
add dword [ebp - 8], 0x61c88647
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x28]
add edx, edi
xor eax, edx
xor eax, dword [ebp - 4]
sub esi, eax
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
jne 0x401052
mov dword [ebx + 4], edi
pop edi
mov dword [ebx], esi
pop esi
leave
ret
Function at 0x40112c
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2466e54]
mov ecx, dword [0x24668e0]
sub esp, 0xc00
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4011e7
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x2466e54], 0x959
jne 0x4011d6
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Mokigehate_xolega_viricuh_mazu_fiboy
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push str.zewaxuwawazuwuyuvivi
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push str.ozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push str.pajebipew
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call fcn.00401007
add ebx, 8
dec edi
jne 0x401154
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40148c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
xor esi, esi
cmp dword [0x2466e54], 0x400
push edi
jne 0x40150a
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push str.nihunigufemakulidoyudu
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
push esi
call fcn.00401dd1
push esi
push esi
call fcn.00401762
push esi
call fcn.00401d6c
push esi
call fcn.0040203a
push esi
push esi
call fcn.00401bb7
push esi
call fcn.004020ae
push esi
push esi
call fcn.00401666
push esi
call fcn.00401e7e
add esp, 0x30
push ebx
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidthI]
xor edi, edi
cmp edi, 0xacc
jge 0x40153f
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push esi
push esi
push esi
push esi
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45be411
jg 0x401559
inc edi
cmp edi, 0x3330601
jl 0x401513
xor edi, edi
cmp edi, 0x16d2a
jge 0x40156a
push esi
push esi
push esi
push esi
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e82fe
jg 0x40158e
inc edi
cmp edi, 0x3011b
jl 0x40155b
mov eax, dword [0x449804]
mov dword [0x2466e54], eax
call fcn.004011ea
mov edi, 0x2ec37
pop ebx
cmp dword [0x2466e54], 0x51f
jne 0x4015bd
push esi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec edi
jne 0x4015a3
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x407631
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x446ce4]
jne 0x40763b
repz ret
jmp fcn.004095f6
Function at 0x408886
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x446ce4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405a51
and dword [ebp - 0x14], 0
cmp dword [0x454418], 0
mov dword [ebp - 0x18], eax
jne 0x408939
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4089e1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4089e1
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x454418], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45441c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x454420], eax
call edi
push eax
call esi
mov dword [0x454428], eax
test eax, eax
je 0x408939
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x454424], eax
mov eax, dword [0x454424]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408992
cmp dword [0x454428], ecx
je 0x408992
push eax
call esi
push dword [0x454428]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408992
test ebx, ebx
je 0x408992
call edi
test eax, eax
je 0x408989
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408989
test byte [ebp - 8], 1
jne 0x408992
or dword [ebp + 0x10], 0x200000
jmp 0x4089c5
mov eax, dword [0x45441c]
cmp eax, dword [ebp - 0x18]
je 0x4089c5
push eax
call esi
test eax, eax
je 0x4089c5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4089c5
mov eax, dword [0x454420]
cmp eax, dword [ebp - 0x18]
je 0x4089c5
push eax
call esi
test eax, eax
je 0x4089c5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x454418]
call esi
test eax, eax
je 0x4089e1
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4089e3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407631
leave
ret
Function at 0x484ef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4f000]
push edi
jmp 0x484f0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x484f11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484f00
mov eax, 1
add ebx, ebx
jne 0x484f23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x484f34
jne 0x484f53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484f53
dec eax
add ebx, ebx
jne 0x484f40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x484f18
add ebx, ebx
jne 0x484f4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x484fa5
xor ecx, ecx
sub eax, 3
jb 0x484f6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x484fda
sar eax, 1
mov ebp, eax
jmp 0x484f76
add ebx, ebx
jne 0x484f76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484f44
inc ecx
add ebx, ebx
jne 0x484f84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484f44
add ebx, ebx
jne 0x484f91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x484f86
jne 0x484fa2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x484f86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x484fc4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x484fb6
jmp 0x484f06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x484fc4
add edi, ecx
jmp 0x484f06
pop esi
mov edi, esi
mov ecx, 0x3579
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x484fe2
cmp byte [edi], 0x1b
jne 0x484fe2
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 0x484fe7
lea edi, [esi + 0x81000]
mov eax, dword [edi]
or eax, eax
je 0x48505f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x89b44]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x89c0c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x485014
mov ecx, edi
jns 0x485043
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 + 0x89c10]
or eax, eax
je 0x485059
mov dword [ebx], eax
add ebx, 4
jmp 0x485031
call dword [esi + 0x89c20]
mov ebp, dword [esi + 0x89c14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x485093
sub esp, 0xffffff80
jmp 0x44294b
Function at 0x415bf0
Capabilities:
Hash data with md5

Disassembly:
push edi
push esi
sub esp, 8
mov dword [esp + 4], ecx
mov eax, dword [0x49e73c]
mov edx, dword [0x49f32c]
add edx, 0xa200ad61
and eax, edx
cmp eax, 0x9d9f20d3
mov dword [esp], ecx
jne 0x415c2a
mov eax, dword [0x49a2dc]
imul eax, eax, 0x8b1e5415
mov dword [0x49a2dc], eax
mov eax, 0x7476b390
mov ecx, dword [esp]
mov dword [ecx], 0
mov dx, word [0x4a4a54]
movsx esi, dx
mov edi, dword [0x498064]
shl edi, 7
imul edi, edi, 0x52a08720
sub esi, edi
cmp eax, esi
jg 0x415cbb
mov eax, 0x3b4e1e0f
mov ecx, dword [0x499140]
mov edx, dword [0x4a1aa4]
inc edx
mov dword [0x4a1aa4], edx
add edx, 0x89e06192
xor ecx, edx
cmp eax, ecx
jl 0x415cb6
mov eax, 0x7ff7fe6f
mov ecx, dword [0x49e5dc]
mov dx, word [0x4a363e]
movsx esi, dx
sar esi, 2
imul ecx, esi
sub ecx, 0x5b54eb07
cmp eax, ecx
jge 0x415cb1
jmp 0x415cb1
jmp 0x415cb6
jmp 0x415cbb
mov eax, 0xdb76f7bf
mov ecx, dword [esp]
mov dword [ecx + 4], 0
mov edx, dword [0x49d184]
add edx, 0xfcf7f7e9
mov dword [0x49d184], edx
mov dword [ecx + 8], 0x67452301
mov edx, dword [0x4a1020]
add edx, 0x16c841a8
mov dword [0x4a1020], edx
mov dword [ecx + 0xc], 0xefcdab89
mov edx, dword [0x49eafc]
add edx, 0xeda3ec9f
mov dword [0x49eafc], edx
mov dword [ecx + 0x10], 0x98badcfe
mov si, word [0x4a378a]
movsx edx, si
imul edx, edx, 0xf9cdfdbc
xor edx, 0xcd916405
cmp eax, edx
jge 0x415d4a
mov ax, word [0x4a6a68]
movsx ecx, ax
mov edx, dword [0x4a19d8]
sub edx, ecx
mov dword [0x4a19d8], edx
mov eax, dword [esp]
mov dword [eax + 0x14], 0x10325476
mov cx, word [0x4a6cf0]
mov dx, cx
dec edx
mov cx, dx
mov word [0x4a6cf0], cx
movsx edx, cx
mov esi, dword [0x4a011c]
xor edx, esi
mov esi, dword [0x49fa70]
sub esi, edx
mov dword [0x49fa70], esi
add esp, 8
pop esi
pop edi
ret
Function at 0x42e730
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [0x49ef18]
add eax, 0xc9fa55ca
cmp eax, 0x8a31276a
jg 0x42e796
mov ax, word [0x4a2ed6]
movsx ecx, ax
mov edx, 0x241e195c
sub edx, ecx
mov ax, word [0x4a346e]
mov cx, ax
dec ecx
mov ax, cx
mov word [0x4a346e], ax
movsx ecx, ax
cmp edx, ecx
jl 0x42e791
mov eax, dword [0x49c5ac]
mov ecx, dword [0x49b704]
sub ecx, eax
mov dword [0x49b704], ecx
jmp 0x42e796
mov eax, 1
mov ecx, dword [0x4a8504]
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 8], eax
call fcn.0040d8a0
mov ecx, dword [0x49ac40]
imul ecx, ecx, 0x953d1c44
mov dword [0x49ac40], ecx
mov dword [esp], 1
mov byte [esp + 7], al
call fcn.00455f80
Function at 0x474298
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x496b20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0045fe3a
mov dword [ebp - 0x14], eax
cmp dword [0x4a98e4], esi
jne 0x47438b
push 0x800
push esi
push 0x48caf0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x474318
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47446b
push esi
push esi
push 0x48caf0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x47446b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47446b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4a98e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4a98e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4a98ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a98f4], eax
test eax, eax
je 0x474388
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a98f0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4743b0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4743a3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4743c5
push 4
pop eax
jmp 0x47446d
cmp dword [ebp - 0x14], esi
je 0x4743c5
push dword [0x4a98e4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4743aa
mov eax, dword [0x4a98f0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x474423
cmp dword [0x4a98f4], edi
je 0x474423
push eax
call ebx
push dword [0x4a98f4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x474423
test eax, eax
je 0x474423
call ecx
test eax, eax
je 0x474418
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x474418
test byte [ebp - 8], 1
jne 0x474423
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x474453
mov eax, dword [0x4a98e8]
cmp eax, edi
je 0x474450
push eax
call ebx
test eax, eax
je 0x474450
call eax
mov esi, eax
test esi, esi
je 0x474450
mov eax, dword [0x4a98ec]
cmp eax, edi
je 0x474450
push eax
call ebx
test eax, eax
je 0x474450
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4a98e4]
call ebx
test eax, eax
je 0x47446b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47446d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004658a2
mov esp, ebp
pop ebp
ret
Function at 0x478881
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x496b20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp - 0x210]
xor ebx, ebx
mov eax, esi
mov dword [ebp - 0x214], ebx
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
cmp edi, 0x104
jle 0x4788dd
lea eax, [edi + 1]
push 2
push eax
mov dword [ebp - 0x218], eax
call fcn.00460471
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4788c0
call fcn.0045c001
mov edi, ebx
mov dword [eax], 0xc
jmp 0x4788dd
mov dword [ebp - 0x214], 1
test edi, edi
je 0x4788fd
push esi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x4788fd
cmp word [esi + 2], 0x3a
jne 0x478908
movzx eax, word [esi]
cmp eax, 0x61
jb 0x4788f8
cmp eax, 0x7a
ja 0x4788f8
sub eax, 0x20
lea ebx, [eax - 0x40]
jmp 0x478908
call fcn.0045c001
mov dword [eax], 0xc
cmp dword [ebp - 0x214], 0
je 0x478918
push esi
call fcn.00451bf4
pop ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004658a2
mov esp, ebp
pop ebp
ret
Function at 0x41e030
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x41e698
call fcn.0041e330
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x41e090
cmp eax, 0xffffffff
je 0x41e090
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x41e089
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x41e089
cmp edx, 0x10000000
jae 0x41e089
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x41e086
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41e110
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 0x41e14e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x41e146
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x41e150
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x41e136
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41e230
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 0x41e261
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41e261
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x41e261
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x498321
Capabilities:
Encode data using xor

Disassembly:
call 0x49829a
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x4982ca
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x4982e6
xor edx, 0
jmp 0x4982f1
xor edx, edx
jmp 0x498308
jmp 0x498314
xor eax, eax
push 0x8427d7c0
call 0x498321
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x49835d
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x498336
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x498374
add eax, 0
jno 0x498379
add esi, 0
ret 0x10