joyce8/EMBER2024-capa huggingface dataset:
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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6afa131a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3f307be5
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword fs:[0x18]
push ebx
push esi
push edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 8], ecx
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov esi, dword [eax + 0x14]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x18]
add edi, ecx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add edx, ecx
mov dword [ebp - 0x18], edi
add eax, ecx
xor edi, edi
mov dword [ebp - 0x24], esi
test esi, esi
mov dword [ebp - 0x20], ebx
mov esi, dword [ebp - 0x24]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
je 0x4010f8
cmp dword [edx + edi*4], 0
je 0x4010eb
xor edx, edx
mov dword [ebp - 0xc], edx
test ebx, ebx
je 0x4010e8
movzx eax, word [eax + edx*2]
mov dword [ebp - 0x1c], eax
cmp eax, edi
jne 0x4010dd
mov eax, dword [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 0x58], 0x50746547
mov dword [ebp - 0x54], 0x41636f72
mov dword [ebp - 0x50], 0x65726464
mov edi, dword [eax + edx*4]
xor edx, edx
add edi, ecx
mov word [ebp - 0x4c], 0x7373
lea eax, [ebp - 0x58]
sub edi, eax
lea ecx, [ebp - 0x58]
add ecx, ebx
mov al, byte [edi + ecx]
cmp al, byte [ecx]
jne 0x4010b6
inc edx
cmp edx, 0xe
jne 0x4010cb
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ecx + eax*4]
mov ecx, dword [ebp - 8]
add esi, ecx
jmp 0x4010ce
mov ecx, dword [ebp - 8]
inc ebx
cmp ebx, 0xe
jb 0x4010a9
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0xc], edx
cmp edx, ebx
jb 0x401072
mov edx, dword [ebp - 4]
inc edi
mov dword [ebp - 0x14], edi
cmp edi, dword [ebp - 0x24]
jb 0x40105f
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x64616f4c
push eax
xor ebx, ebx
mov dword [ebp - 0x44], 0x7262694c
push ecx
mov dword [ebp - 0x40], 0x41797261
mov byte [ebp - 0x3c], bl
mov dword [ebp - 0x38], 0x7373654d
mov dword [ebp - 0x34], 0x42656761
mov dword [ebp - 0x30], 0x41786f
mov dword [ebp - 0x2c], 0x72657355
mov word [ebp - 0x28], 0x3233
mov byte [ebp - 0x26], bl
call esi
lea ecx, [ebp - 0x2c]
push ecx
call eax
lea ecx, [ebp - 0x38]
push ecx
push eax
call esi
push ebx
push str.Notification
push str.Hello_World
push ebx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420b5b
Capabilities:
Parse pe header

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

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401923
push esp
mov dword [ebp - 0x24], 0x401640
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.zeenty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.upsent
push str.zeenty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019c2
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019a3
pop ebp
ret 0x10
Function at 0x419400
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x419428
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x419437
mov eax, 1
ret 4

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x40b74c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b5f8]
jne 0x40b756
repz ret
jmp fcn.0040defb

Function at 0x40b932
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43b5f8]
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.00407980
and dword [ebp - 0x14], 0
cmp dword [0x43f71c], 0
mov dword [ebp - 0x18], eax
jne 0x40b9e5
push 0x40248c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ba8d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402480
push ebx
call edi
test eax, eax
je 0x40ba8d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402470
push ebx
mov dword [0x43f71c], eax
call edi
push eax
call esi
push 0x40245c
push ebx
mov dword [0x43f720], eax
call edi
push eax
call esi
push 0x402440
push ebx
mov dword [0x43f724], eax
call edi
push eax
call esi
mov dword [0x43f72c], eax
test eax, eax
je 0x40b9e5
push 0x402428
push ebx
call edi
push eax
call esi
mov dword [0x43f728], eax
mov eax, dword [0x43f728]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ba3e
cmp dword [0x43f72c], ecx
je 0x40ba3e
push eax
call esi
push dword [0x43f72c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ba3e
test ebx, ebx
je 0x40ba3e
call edi
test eax, eax
je 0x40ba35
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40ba35
test byte [ebp - 8], 1
jne 0x40ba3e
or dword [ebp + 0x10], 0x200000
jmp 0x40ba71
mov eax, dword [0x43f720]
cmp eax, dword [ebp - 0x18]
je 0x40ba71
push eax
call esi
test eax, eax
je 0x40ba71
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ba71
mov eax, dword [0x43f724]
cmp eax, dword [ebp - 0x18]
je 0x40ba71
push eax
call esi
test eax, eax
je 0x40ba71
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43f71c]
call esi
test eax, eax
je 0x40ba8d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ba8f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b74c
leave
ret
Function at 0x422d50
Capabilities:
Accept command line arguments
Delete directory
Get common file path
Write file on windows

Disassembly:
mov eax, 0x1420
call fcn.0040ded0
cmp dword [0x22816a4], 0x37
jne 0x422e0f
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x403478
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x824]
push eax
push 0x4034b0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0xc20]
push edx
push 0
push 0x4034fc
push 0x40352c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x40354c
push 0x403554
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov eax, dword [0x22816a8]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x444834]
mov byte [eax + esi], dl
add esp, 0x1420
ret

Function at 0x422e40
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x64
mov edx, dword [0x43c358]
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push ebx
mov ebx, dword [0x43c360]
push ebp
mov ebp, dword [0x43c364]
push esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [0x43c35c]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0xc6ef3720
mov dword [esp + 0x28], 0x9e3779b9
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0x20
jmp 0x422e94
mov eax, dword [esp + 0x18]
mov edx, eax
mov edi, eax
shr edx, 5
shl edi, 4
add edi, ebx
add edx, ebp
xor edx, edi
mov edi, dword [esp + 0x10]
add edi, eax
xor edx, edi
sub esi, edx
mov eax, esi
shl eax, 4
mov dword [0x2277654], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], eax
mov edi, dword [esp + 0x10]
add edi, esi
cmp dword [0x22816a4], 0x1be
jne 0x422ef0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esp + 0x78]
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x24]
mov dword [0x2277658], 0xff6b3619
xor edx, edi
xor dword [esp + 0x14], edx
mov dword [0x227765c], 0xffffffff
mov eax, dword [esp + 0x14]
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x10], eax
dec dword [esp + 0x1c]
jne 0x422e90
cmp dword [0x22816a4], 0x8d4
jne 0x422f5b
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4
mov edx, dword [esp + 0x18]
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x64
ret 4
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x35ea095c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x66ee3b00
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x415450
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x41dc60], ecx
add edx, 1
cmp edx, 0x100
jb 0x415452
cmp edx, 0x800
jae 0x41553b
mov edi, edi
mov eax, dword [edx*4 + 0x41d860]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x41dc60]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x41dc5c], eax
jb 0x415510
mov dword [0x41dc34], 0x415bf0
call fcn.00415680
test eax, eax
jne 0x415558
mov dword [0x41dc34], 0x415b10
ret

Function at 0x401a22
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.0040161c
Function at 0x40b0b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x822d78]
jne 0x40b0ba
repz ret
jmp fcn.0040dcdc

Function at 0x40c4f0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x822d78]
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.0040663e
and dword [ebp - 0x14], 0
cmp dword [0x82674c], 0
mov dword [ebp - 0x18], eax
jne 0x40c5a3
push 0x402c9c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c64b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c90
push ebx
call edi
test eax, eax
je 0x40c64b
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402c80
push ebx
mov dword [0x82674c], eax
call edi
push eax
call esi
push 0x402c6c
push ebx
mov dword [0x826750], eax
call edi
push eax
call esi
push 0x402c50
push ebx
mov dword [0x826754], eax
call edi
push eax
call esi
mov dword [0x82675c], eax
test eax, eax
je 0x40c5a3
push 0x402c38
push ebx
call edi
push eax
call esi
mov dword [0x826758], eax
mov eax, dword [0x826758]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c5fc
cmp dword [0x82675c], ecx
je 0x40c5fc
push eax
call esi
push dword [0x82675c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c5fc
test ebx, ebx
je 0x40c5fc
call edi
test eax, eax
je 0x40c5f3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c5f3
test byte [ebp - 8], 1
jne 0x40c5fc
or dword [ebp + 0x10], 0x200000
jmp 0x40c62f
mov eax, dword [0x826750]
cmp eax, dword [ebp - 0x18]
je 0x40c62f
push eax
call esi
test eax, eax
je 0x40c62f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c62f
mov eax, dword [0x826754]
cmp eax, dword [ebp - 0x18]
je 0x40c62f
push eax
call esi
test eax, eax
je 0x40c62f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x82674c]
call esi
test eax, eax
je 0x40c64b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c64d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b0b0
leave
ret
Function at 0x8091f0
Capabilities:
Accept command line arguments
Delete directory
Get common file path

Disassembly:
mov eax, 0x1420
call fcn.0040eb80
cmp dword [0x26686cc], 0x37
jne 0x8092a7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x403480
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x824]
push eax
push 0x403498
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea edx, [esp + 0xc20]
push edx
push 0
push 0x4034f0
push 0x403508
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x4035a8
push 0x403668
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov eax, dword [0x26686d0]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x82b85c]
mov byte [eax + esi], dl
add esp, 0x1420
ret

Function at 0x8092e0
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x64
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov edx, dword [0x823380]
push ebx
push ebp
mov ebp, dword [0x82337c]
push esi
mov esi, dword [ecx + 4]
mov ecx, dword [0x823378]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x823384]
mov ebx, 0xc6ef3720
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x809334
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x20]
shl ecx, 4
add ecx, dword [esp + 0x24]
add eax, ebx
xor edx, ecx
xor edx, eax
sub esi, edx
mov ecx, esi
shl ecx, 4
mov dword [0x265e67c], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
cmp dword [0x26686cc], 0x1be
lea edi, [ebx + esi]
jne 0x809389
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, esi
shr eax, 5
add eax, ebp
xor eax, edi
xor dword [esp + 0x10], eax
mov dword [0x265e680], 0xff6b3619
mov dword [0x265e684], 0xffffffff
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
mov ecx, dword [0x26686cc]
cmp ecx, 0x93
je 0x8093cd
lea eax, [esp + 0x18]
call fcn.008092d0
mov ebx, dword [esp + 0x18]
dec dword [esp + 0x1c]
jne 0x809330
cmp ecx, 0x8d4
jne 0x809401
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x64
ret 4
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4