joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fec88
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fee76
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00481258
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00485bc0
test al, al
jne 0x4fecf5
xor eax, eax
push ebp
push 0x4feceb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
xor eax, eax
call fcn.004860b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fecf5
push 0
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
mov eax, dword [0x51016c]
call fcn.004064d4
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x4fed24
mov eax, dword [0x508e7c]
mov eax, dword [eax + 0x1a4]
call fcn.004fe198
push 0x80
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x50cb50]
push eax
push 0
mov ecx, 0x4fee84
mov edx, 0x4fee88
xor eax, eax
call fcn.0040a124
mov dword [ebp - 8], eax
push 0x4fe358
push 0xfffffffffffffffc
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [0x510198], eax
xor eax, eax
push ebp
push 0x4fee3f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x97
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x508e6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00480c2c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x4feea4
call fcn.0040ec08
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
call fcn.00480b0c
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00406854
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004fe240
mov dword [ebp - 0xc], eax
call fcn.004fe31c
test al, al
jne 0x4fee1f
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4fedfd
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fee46
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DestroyWindow
ret
Function at 0x5001c4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x50047e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x508e6c]
mov eax, dword [eax]
mov edx, 0x500498
call fcn.0047d8b8
push 5
mov eax, dword [0x508e6c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
push ebp
push 0x500445
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004e2438
lea eax, [ebp - 0x10]
call fcn.004810d0
mov eax, dword [ebp - 0x10]
call fcn.0040e6b4
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00480c2c
mov edx, dword [ebp - 0x14]
mov eax, 0x51016c
call fcn.00406448
call fcn.004fe550
lea ecx, [ebp - 0x18]
mov edx, 0x5004b8
mov eax, dword [0x51016c]
call fcn.0047fd10
mov edx, dword [ebp - 0x18]
mov eax, 0x510170
call fcn.00406448
lea ecx, [ebp - 0x1c]
mov edx, 0x5004d0
mov eax, dword [0x51016c]
call fcn.0047fd10
mov edx, dword [ebp - 0x1c]
mov eax, 0x510174
call fcn.00406448
push 2
push 0
push 1
mov ecx, dword [0x51016c]
mov dl, 1
mov eax, dword [0x482d04]
call fcn.00483044
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50031c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 0x24]
sub edx, 8
mov eax, dword [ebp - 4]
call fcn.00483004
lea edx, [ebp - 0xc]
mov ecx, 8
mov eax, dword [ebp - 4]
call fcn.00482fdc
cmp dword [ebp - 0xc], 0x67734d49
je 0x5002f7
mov cl, 1
xor edx, edx
mov eax, dword [0x510174]
call fcn.004842c8
jmp 0x500306
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [0x51016c]
call fcn.004842c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500323
mov eax, dword [ebp - 4]
call fcn.00404098
ret
Function at 0x4c1160
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4c11c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x572354]
test esi, esi
jle 0x4c12e0
mov eax, dword [0x572358]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x4c11f4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x4c1277
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4c11e0
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x4c1307
mov eax, dword [0x572358]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x572358]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4c12e7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x4c1270
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x4c1280
add dword [0x572354], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x572358]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x4c1270
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4c11fe
mov eax, dword [0x572358]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x4c17c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x572370
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x572368]
sub esp, 4
test ebx, ebx
je 0x4c1815
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4c180e
test esi, esi
je 0x4c180e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4c17f0
mov dword [esp], 0x572370
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4c1b40
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4c1b65
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x4c1b70
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4c1b65
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x4c1bb8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x4c1bae
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x4c1bba
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x4c1ba0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4019b1
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, 0x58ced85
jg 0x4019de
inc edi
cmp edi, 0x1f6502b1
jl 0x4019bd
cmp dword [0x2be13c4], 0x400
jne 0x401a27
push str.sadahoziyofejonoh_niforapo_pihekezavokigubodatojup_rafepigojamulexiwodugaxexude_jam
push str.nelugidoneyari
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeKeepStringHandle]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
push esi
push esi
call fcn.00401fad
push esi
push esi
call fcn.00401fad
push esi
call fcn.00402117
push esi
call fcn.00402126
add esp, 0x18
xor edi, edi
cmp edi, 0xd0fe
jge 0x401a38
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
cmp edi, 0xd2ce6e
jg 0x401a5f
inc edi
cmp edi, 0x26bcf
jl 0x401a29
mov eax, dword [0x422c14]
mov dword [0x2be13c4], eax
call fcn.00401728
mov edi, 0x3078f
cmp dword [0x2be13c4], 0x51f
jne 0x401a8b
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec edi
jne 0x401a73
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x404bae
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422930]
jne 0x404bb8
repz ret
jmp fcn.004061ec
Function at 0x405aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x422930]
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.00402e05
and dword [ebp - 0x14], 0
cmp dword [0x42d790], 0
mov dword [ebp - 0x18], eax
jne 0x405b9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405c46
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405c46
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42d790], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42d794], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42d798], eax
call edi
push eax
call esi
mov dword [0x42d7a0], eax
test eax, eax
je 0x405b9e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42d79c], eax
mov eax, dword [0x42d79c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405bf7
cmp dword [0x42d7a0], ecx
je 0x405bf7
push eax
call esi
push dword [0x42d7a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405bf7
test ebx, ebx
je 0x405bf7
call edi
test eax, eax
je 0x405bee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405bee
test byte [ebp - 8], 1
jne 0x405bf7
or dword [ebp + 0x10], 0x200000
jmp 0x405c2a
mov eax, dword [0x42d794]
cmp eax, dword [ebp - 0x18]
je 0x405c2a
push eax
call esi
test eax, eax
je 0x405c2a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405c2a
mov eax, dword [0x42d798]
cmp eax, dword [ebp - 0x18]
je 0x405c2a
push eax
call esi
test eax, eax
je 0x405c2a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42d790]
call esi
test eax, eax
je 0x405c46
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405c48
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404bae
leave
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x403032
Capabilities:
Packed with generic packer

Disassembly:
push 0
add byte [esi], dl
popal
push ecx
add byte [ecx], al
add byte [eax], al
add byte [eax + 0x51], dl
push ebx
push esi
add byte [eax], al
pushal
xchg edi, eax
add byte [ebx], dh
les edx, [eax - 0x73]
add byte [eax], al
adc byte [ebx], ah
add byte [eax], al
add byte [ebx + 0x24748900], cl
or al, 0xc7
add byte [eax], al
dec ebp
nop
add byte [ebx + 0x44c7c6], cl
add byte [edx], al
add byte [eax], al
add al, cl
mov dl, 0xe
add byte [eax], al
lea ecx, [esi + 0x398]
add byte [0x52a5c8], dl
mov eax, dword [esi]
xor ebx, ebx
sbb ebx, eax
je 0x403091
add al, ch
or ch, byte [esi + 0x10]
add al, 0x8d
mov es, word [ebx + eax]
lea ecx, [esi + 0x384]
add byte [eax], al
mov word [ebx], es
add byte [eax], al
mov dword [esi + 0x390], ebx
mov dword [esi + 0x394], ebx
call dword [0x52a5c8]
lea eax, [eax]
add byte [ebx], al
add byte [eax], al
call 0x50e156
add byte [esi + 0x22c], cl
add byte [eax], al
and al, 0x18
add edi, edi
adc eax, 0x9338
lea ecx, [esi + 0x100]
mov byte [eax + eax + 0x18], bl
call dword [0x9328]
invalid
inc esp
and al, 0x18
invalid
invalid
invalid

Function at 0x4192f2
Capabilities:
Access peb ldr_data

Disassembly:
or byte [eax], al
add byte [esp + ebx], ah
mov eax, dword [edi + 4]
lea edx, [eax + eax]
mov dword [esp + 0x10], eax
push eax
lea eax, [esi + 0x10]
add byte [ecx - 0x17ebdb84], cl
add byte [eax], al
add byte [eax], al
mov eax, 1
add byte [eax], al
and byte [ecx - 0x3976dbba], cl
mov ecx, dword [eax + eax + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
add byte [eax], al
add ah, cl
sub esp, 8
push ebx
mov ebx, dword [eax + eax + 0x30]
mov ecx, dword [ebx + 0xc]
mov eax, dword [eax]
add byte [ebp - 0x3f], dl
jmp 0x5702ce49
Function at 0x445588
Capabilities:
Encode data using xor

Disassembly:
clc
inc ebx
mov ebx, 0xc1e3656a
add ch, byte [ebp + 0x7a]
hlt
pop ecx
scasd eax, dword es:[edi]
jns 0x4454da
adc byte [eax + 0x23], 0xa1
mov al, 0x62
arpl word [ecx - 0x41], sp
inc ebx
mov eax, dword [0x616362b0]
mov edi, 0x61f8e543
in eax, 0xf8
popal
sub dh, ch
cdq
and eax, 0x973dd11c
stosb byte es:[edi], al
cmpsb byte [esi], byte es:[edi]
push esp
inc eax
stosd dword es:[edi], eax
jo 0x4454e1
add byte [eax - 0x12a03154], bh
salc
jle 0x4454d3
insb byte es:[edi], dx
test esp, ebx
push ecx
in al, dx
jo 0x4454b4
lahf
iretd
mov bh, 0x96
cmpsb byte [esi], byte es:[edi]
jno 0x4454d5
aas
or ch, bl
insb byte es:[edi], dx
leave
invalid
dec ebx
lahf
jecxz 0x445516
adc al, 0xa3
adc ebx, dword [ecx + 0x7d]
sar byte [edx], 1
outsd dx, dword [esi]
adc eax, 0xec1b5a66
mov edi, 0xa323eaa1
push 0xffffffffffffffc3
xor eax, esp
lds esi, [ecx - 0x14]
test eax, 0x70ad6dd7
movsb byte es:[edi], byte [esi]
invalid
dec edi
hlt
aam 7
cmp ch, dl
in al, dx
jno 0x44559c
loopne 0x44558d
loopne 0x44558d
mov dh, al
je 0x44557d
invalid
salc
aas
xor ebx, ebx
loop 0x44558e
nop
sub ebx, 0xffffff92
inc edx
push 0x2b
jns 0x445552
aam 0xa
imul ebx
push edi
arpl word [edi - 0x632df637], cx
sti
mov eax, dword [0xc0984649]
and al, 0x35
les edx, [ecx]
je 0x445586
pop eax
pop esp
push ebp
xchg ebp, eax
inc edi
and byte [edx - 0x7f], 0xa5
xor dh, 0xc2
salc
in al, 0x12
push eax
jb 0x445624
xchg ecx, eax
and byte [ebx - 0x6c], 0x74
call 0x505c8a5d
add byte [edx + 0x51be23ca], ch
aam 0xa3
jle 0x445607
adc byte [ecx], dh
and byte [edi], 0x20
invalid
and bl, byte [esp + edx*2 - 0x5cb205be]
aam 0x58
les ebp, [ecx - 0x2cea85e4]
add eax, esp
pop dword [0x5ea7d08b]
loopne 0x445598
add eax, 0x5ea7d08b
push ds
add dword [ebx + 0x65], 0x6d90f672
inc edi
xor esp, edx
rcl edx, cl
je 0x4455c1
adc al, 0xe5
inc edx
jg 0x4455f6
mov cl, 0xc1
xchg esi, eax
push ecx
lodsb al, byte [esi]
xor al, 0x89
pop eax
invalid
Function at 0x45a300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x4fb068
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x45a324
call fcn.0041ea20
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
push 0
push 0
call dword [sym.imp.USER32.dll_GetClassLongA]
mov esi, dword [ebp - 4]
push 0
add esi, eax
call fcn.00477e50
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetACP]
add esi, eax
mov dword [ebp - 4], esi
mov ebx, dword fs:[0x18]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x4fac50]
push ecx
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + 8]
mov dword [0x504108], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [0x504108]
push 0x4f7430
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp + 8]
push 0x104
push 0x4fadc8
push edi
mov dword [0x4fac54], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, eax
push esi
call fcn.00477e50
mov eax, dword [0x4fafe0]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
pop ebx
je 0x45a3c5
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esi - 1]
test eax, eax
jbe 0x45a405
mov cl, 0x5c
cmp byte [eax + 0x4fadc8], cl
je 0x45a3db
dec eax
jne 0x45a3ce
jmp 0x45a405
lea ecx, [eax + 0x4fadc9]
push ecx
call fcn.0041ea10
add esp, 4
test eax, eax
je 0x45a3fb
pop edi
mov eax, 0xff
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0
call fcn.004ef970
add esp, 4
cmp dword [0x4faed4], 3
jge 0x45a41b
pop edi
mov eax, 0xff
pop esi
mov esp, ebp
pop ebp
ret 0x10
push edi
call fcn.00496880
add esp, 4
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x477e50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5298
push 0x4efc40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [0x503100]
cmp eax, 0xbb40e64e
je 0x477ead
test eax, 0xffff0000
je 0x477ead
not eax
mov edi, eax
mov dword [ebp - 0x28], edi
jmp 0x477efe
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
xor esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x1c]
xor edi, dword [ebp - 0x20]
mov dword [ebp - 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x20]
xor eax, esi
mov dword [ebp - 0x24], eax
cmp eax, 0xbb40e64e
je 0x477eef
test dword [0x503100], 0xffff0000
jne 0x477ef7
mov eax, 0xbb40e64f
mov dword [ebp - 0x24], eax
mov dword [0x503100], eax
not eax
mov dword [0x503104], eax
cmp dword [0x4fac54], ebx
je 0x477fe2
cmp dword [0x4fafe0], ebx
jne 0x477fe2
mov edx, dword [0x4fac50]
push edx
call dword [sym.imp.USER32.dll_GetSysColor]
add dword [0x4fac60], eax
push 0x4f7448
lea eax, [ebp - 0x24]
push eax
call dword [0x4fac54]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x4fac44], eax
mov dword [ebp - 4], ebx
mov ecx, dword [0x4fac54]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x20]
mov edx, eax
and edx, 0xffff
sub ecx, edx
xor edx, edx
mov dl, byte [ecx - 0x96790]
mov ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x477f9c
and eax, 0xff
xor eax, ecx
cmp eax, 0x67
jne 0x477fc4
push ebx
call fcn.0043c430
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x4fafe0], 0x2c
mov dword [0x4fb174], 0x72745064
mov dword [0x4fb16c], 0x61427349
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49633e
Capabilities:
Access the windows event log
Compare security identifiers
Delete registry key
Delete registry value
Get user security identifier
Query or enumerate registry value
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
push 0
or ecx, eax
push 0
push 0
mov dword [esp + 0x14], ecx
invalid
invalid
Function at 0x496880
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
push edi
lea eax, [ebp - 0xd4]
mov dword [ebp - 8], eax
mov ecx, 0x1d
xor eax, eax
mov edi, dword [ebp - 8]
rep stosd dword es:[edi], eax
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetClassNameA]
mov ecx, dword [0x4fac60]
add ecx, eax
mov dword [0x4fac60], ecx
push 0x2c
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x4968f1
mov edx, dword [ebp - 8]
mov eax, dword [0x50410c]
mov dword [edx + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4fac60]
add ecx, eax
mov dword [0x4fac60], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x4fac44], eax
jmp 0x49690a
push 0
call fcn.00477e40
add esp, 4
call fcn.00495fb0
mov dword [ebp - 0x10], eax
mov byte [0x4f7031], 0x31
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x70], 0x4780f0
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], 0x4d1f60
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], 0x43c8f0
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], 0x496a70
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], fcn.0041ea20
add byte [ebx + 0x41c7f84d], cl
adc al, 0xa0
test dword [edi], eax
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], 0x4b4550
mov eax, dword [ebp - 8]
mov dword [eax + 0x28], 0x4efac0
lea ecx, [ebp - 0x854]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov dword [edx + 8], 0x401000
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x45a430
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [0x4fac60]
add edx, eax
mov dword [0x4fac60], edx
dec edi
add byte [ebx + 0xd8bf845], cl
mov al, 0x51
dec edi
add byte [ecx + 0x15ff0448], cl
movsb byte es:[edi], byte [esi]
push ecx
dec edi
add byte [ebx + 0x4fac44], ah
mov dword [0x4fac60], 0
mov dword [0x4fac64], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x858], eax
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetClassNameA]
mov ecx, dword [0x4fac60]
add ecx, eax
mov dword [0x4fac60], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x584
jne 0x496a27
mov edx, dword [ebp - 8]
mov dword [edx], 0x7b
mov eax, dword [ebp - 8]
mov dword [eax + 0x28], 0x7b
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], 0x401000
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], 0x4d1f60
push 0
call fcn.0043c430
add esp, 4
jmp 0x496a5a
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [0x4fac60]
add ecx, eax
mov dword [0x4fac60], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0x858]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00478520
add esp, 8
mov eax, dword [ebp - 8]
push eax
call dword [ebp - 4]
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret