joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0646
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4c0666
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004bfa5a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4c0689
test byte [esp + 8], 2
je 0x4c0689
call fcn.004bfacd
mov dword [eax], 0xd
call fcn.004bfad6
mov dword [eax], 5
jmp 0x4c0662
xor eax, eax
ret

Function at 0x4d42b5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d42ed
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d2342
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d231a
jmp 0x4d42f9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d59a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d59e9
call fcn.004db464
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d59e9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d59e0
xor eax, eax
jmp 0x4d59f1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d59f7
pop edi
pop esi
pop ebx
ret 4

Function at 0x4db994
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4db9c2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4db9e0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004db8fa
jmp 0x4db9e0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4db9e0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004db8fa
test edi, edi
mov eax, edi
jne 0x4db9ca
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x74900195
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
push 0x5d
add al, 0
jle 0x748f734b
add al, 0
add byte [eax], al
add byte [eax], al
mov byte [esi + 4], dl
add byte [eax - 0x4dfffbaa], ah
push esi
add al, 0
retf 0x456
add byte [esi + 0x58], bl
add al, 0
jbe 0x748f73aa
add al, 0
nop
pop eax
add al, 0
cmpsb byte [esi], byte es:[edi]
pop eax
add al, 0
rcr byte [eax + 4], 0
ficomp dword [eax + 4]
add ah, ah
pop eax
add al, 0
add al, 0x59
add al, 0
adc al, 0x59
add al, 0
sub byte [ecx + 4], bl
add byte [ecx + ebx*2], dh
add al, 0
push eax
pop ecx
add al, 0
push 0x59
add al, 0
sbb byte [ecx + 4], 0
xchg esi, eax
pop ecx
add al, 0
scasb al, byte es:[edi]
pop ecx
add al, 0
rcr byte [ecx + 4], 0
fcomp dword [ecx + 4]
add byte [esi + edx*2 + 4], dh
add dl, dh
pop ecx
add al, 0
cld
pop ecx
add al, 0
adc byte [edx + 4], bl
add byte [edx], ch
pop edx
add al, 0
pop edx
add al, 0
push esi
pop edx
add al, 0
bound ebx, qword [edx + 4]
add byte [esi + 0x5a], bh
add al, 0
lcall 0x45a, 0xbc00045a
add al, cl
pop edx
add al, 0
fcomp dword [edx + 4]
add ah, ah
in al, 0x5a
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x7601afec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x23c], 0
jne 0x749001f6
test byte [esi + 0x244], 2
jne 0x749001f6
call fcn.74900218
test eax, eax
jne 0x74900345
cmp dword [ebp + 8], eax
je 0x748f72e6
mov ecx, esi
call 0x7493cf57
lea ecx, [esi + 0x248]
cmp ecx, eax
je 0x74a2d0dc
mov eax, dword [esi + 0x238]
mov dword [esi + 0x23c], eax
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x749002e9
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call 0x749532d0
leave
ret 4
lea eax, [esi + 0x248]
jmp 0x74900204
mov dword [esi + 0x244], 2
jmp 0x749001f6
push ebx
push edi
lea ebx, [esi + 0x248]
push ebx
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
call 0x74944511
push dword [esi + 0x22c]
mov ecx, dword [esi + 0x228]
call fcn.7493caa5
test eax, eax
je 0x74902993
lea eax, [ebp - 0x20c]
push eax
push edi
push ebx
call 0x74944511
pop edi
pop ebx
jmp 0x74900304
jmp eax
Function at 0x46dcaa
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], esi
mov al, byte [esp + 1]
xchg word [esp], dx
mov cx, bx
jmp 0x46dce2
lea edx, [ecx + ecx]
not ax
mov ch, 0xf0
neg ax
jmp 0x46dd15
lea esp, [esp + 4]
dec ebp
rdtsc
mov eax, 0xc55fa09a
cmc
jmp 0x46dd0b
mov ch, 0xf0
neg ax
jmp 0x46dd15
jl 0x46dccc
lea edx, [ecx + ecx]
not ax
jmp 0x46dcf1
xor ebp, 0x43e9e7e2
setnp dh
adc ax, 0x2c8f
jmp 0x46dd91
xchg cx, ax
jmp 0x46dd65
rdtsc
jmp 0x46de03
dec ebp
lea eax, [edi*4]
dec dx
jp 0x46dd4f
jnp 0x46dd7b
fistp word [edi - 0x31]
stosb byte es:[edi], al
pop ecx
cmpsb byte [esi], byte es:[edi]
xor ch, byte [0x81e9310f]
add byte [eax], al
add byte [ecx], bh
mov esi, 0xc64b2c
or dword [ebx + reloc.KERNEL32.dll_GetFileAttributesW], edx
xchg esi, eax
add eax, eax
rdtsc
jmp 0x46de03
jl 0x46dd29
xchg cx, ax
jmp 0x46dd65
lea ecx, [eax + ecx]
call 0x46ddcc
aaa
xchg edx, eax
push ecx
rdtsc
xchg ah, al
lea ecx, [ecx - 0x1e]
mov ax, si
call fcn.0046dddc
push ds
mov al, byte [esp]
bt dx, si
neg ecx
mov ecx, edi
xchg dword [esp], ecx
jmp 0x46ddb6
lea ecx, [esp + ecx]
jmp 0x46de63
not ebp
rol dl, 2
jns 0x46ddad
lea ecx, [eax + ecx]
jmp 0x46dded
add ebp, dword [esi]
jmp 0x46ded0
or cx, 0xaa21
jmp 0x46dee6
mov ax, word [esp]
mov ah, ch
bsr eax, eax
jbe 0x46deb9
or cx, 0xaa21
jmp 0x46dee6
Function at 0x671dc5
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.00671058
mov eax, dword [eax + 0x1c]
jmp 0x671d67
lea esp, [esp + 4]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x671cfc
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x671053
push dword [esp]
mov word [esp + 4], sp
mov byte [esp + 1], ah
mov dword [esp + 4], edi
jmp 0x671d12

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

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10020313
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10020322
pop dword [ebp - 0x38]
mov eax, 0x10020322
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x346d915
add dword [ebp - 0x48], 0x4b0b6c36
mov dword [ebp - 0x44], 0xab9c81b2
add dword [ebp - 0x44], 0x8696ca93
mov dword [ebp - 0x40], 0x59973042
sub dword [ebp - 0x40], 0xd4aec14
mov dword [ebp - 0x3c], 0xf9108e3a
add dword [ebp - 0x3c], 0x6ef71c6
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x4cac0236
add dword [ebp - 0x48], 0x27c66720
mov dword [ebp - 0x44], 0xdc21ad5b
sub dword [ebp - 0x44], 0x9ab54be6
mov dword [ebp - 0x40], 0x86db30a1
add dword [ebp - 0x40], 0xdc943bcb
mov dword [ebp - 0x3c], 0xd69c911c
sub dword [ebp - 0x3c], 0xd69c911c
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x363b8
push 0
call eax
mov ecx, 0xbc901828
sub ecx, 0xbc8fd7e6
xor edx, edx
add edx, eax
mov esi, 0x7a98f1a3
sub esi, 0x6a95d5a3
add esi, dword [ebp - 0x38]
mov ebx, 0x166dbb1e
add ebx, 0xa5eb87e0
mov dword [ebp - 0x28], 0x4d503b60
mov edi, dword [esi]
xor dword [ebp - 0x34], 0x2a728296
sub edi, ebx
xor dword [ebp - 0x30], 0x7aa90572
mov dword [edx], edi
sub dword [ebp - 0x20], eax
add edx, 0xc50b9597
add edx, 0x3af46a6d
add esi, 0x9f012ca3
sub esi, 0x9f012c9f
loop 0x10020437
add eax, 0x858fdeed
add eax, 0x7a7114ee
mov ebx, eax
add eax, 5
mov ecx, 0x92b9e4ff
sub ecx, 0x82b9e4ff
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x401f78
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
nop
lea eax, [ebp - 0x44]
push eax
call sub.kernel32.dll_GetStartupInfoA
mov eax, dword [ebp - 0x18]
and eax, 1
cmp eax, 0
je 0x401fa6
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x50], eax
jmp 0x401fae
mov eax, 0xa
mov dword [ebp - 0x50], eax
mov eax, 0
mov dword [ebp - 0x48], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
cmp eax, 0
je 0x401fdd
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.msvcrt.dll_strstr
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, 0
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jne 0x402003
mov eax, 0x4031ac
push eax
call sub.msvcrt.dll__strdup
add esp, 4
mov dword [ebp - 0x48], eax
jmp 0x40202c
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
cmp eax, ecx
jbe 0x40202c
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x40202c
mov eax, dword [ebp - 0x48]
add eax, 0xffffffff
mov dword [ebp - 0x48], eax
mov eax, 0x30000
push eax
mov eax, 0x10000
push eax
call sub.msvcrt.dll__controlfp
add esp, 8
mov eax, 0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, 0
push ecx
push eax
call fcn.00401c31
leave
ret
Function at 0x4026c0
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
sub esp, 0x110
lea eax, [esp + 0xc]
push ebx
push esi
push edi
push str.SYSTEMCurrentControlSetServices_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
push str.Distribueoo
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [0x408d60]
test eax, eax
je 0x402715
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x104
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push str.ImagePath
push eax
call dword [0x408d64]
test eax, eax
je 0x402761
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x408d68]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov edx, dword [esp + 0x10]
push edx
call dword [0x408d68]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402788
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0
push 0
push 3
push 0
push 1
lea ecx, [esp + 0x2c]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4027b5
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4027d9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4027fb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
push 0
push edx
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40282d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x120]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, eax
test esi, esi
jne 0x40285d
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov edx, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
push edx
push ebx
push 0
push 0x66
push 0xa
push esi
call ebp
mov edi, eax
test edi, edi
je 0x402896
push str.Distribueoo
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push str.Distribueoo
push 0
push 0x65
push 0xa
push esi
call ebp
mov edi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
pop ebp
test eax, eax
push ebx
jne 0x4028b7
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x110
ret
Function at 0x403d90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push str.Program_FilesInternet_Exploreriexplore.exe
push ecx
mov byte [esp + 0xa], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x108]
lea edx, [esp]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
add esp, 0x104
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1003dfc
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001400
call fcn.01003fcc
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1003e37
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003e37
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1003e4f
cmp eax, 0x20b
je 0x1003e3c
mov dword [ebp - 0x1c], edi
jmp 0x1003e63
cmp dword [ecx + 0x84], 0xe
jbe 0x1003e37
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1003e5d
cmp dword [ecx + 0x74], 0xe
jbe 0x1003e37
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1005028], 0xffffffff
or dword [0x100502c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1005024]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1005020]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1005030], eax
call fcn.01003fc2
cmp dword [section..data], edi
jne 0x1003ebe
push fcn.01003fc2
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01003fab
push 0x10010a4
push 0x10010a0
call sub.msvcrt.dll__initterm
mov eax, dword [0x100501c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1005018]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x100109c
push 0x1001098
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010014a9
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1003f35
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1003f6a
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01004007
ret
Function at 0x455ad4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
xor eax, eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x455c32
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x110]
xor eax, eax
call fcn.00402a4c
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 4]
call fcn.00408d88
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov ebx, eax
push 0x459d38
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.0040490c
mov eax, dword [ebp - 0x114]
mov ecx, ebx
mov edx, 1
call fcn.00404bb4
lea eax, [ebp - 0x118]
mov ecx, 0x455c48
mov edx, dword [0x459d38]
call fcn.004049a8
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 4]
call fcn.00408870
test eax, eax
je 0x455c0c
lea eax, [ebp - 0x11c]
mov ecx, 0x455c5c
mov edx, dword [0x459d38]
call fcn.004049a8
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 4]
call fcn.00408870
test eax, eax
je 0x455c0c
lea eax, [ebp - 0x120]
mov ecx, 0x455c68
mov edx, dword [0x459d38]
call fcn.004049a8
mov eax, dword [ebp - 0x120]
mov ecx, 0xffffd120
mov edx, 0xa
call fcn.00455614
lea eax, [ebp - 0x124]
mov ecx, 0x455c68
mov edx, dword [0x459d38]
call fcn.004049a8
mov eax, dword [ebp - 0x124]
call fcn.00454ca4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455c39
lea eax, [ebp - 0x124]
mov edx, 6
call fcn.004046c8
lea eax, [ebp - 4]
call fcn.004046a4
ret

Function at 0x455ebc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x455f39
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x459d24], 0
jne 0x455eea
lea eax, [ebp - 4]
mov edx, 0x455f50
call fcn.0040473c
jmp 0x455ef2
lea eax, [ebp - 4]
call fcn.004046a4
push 5
lea edx, [ebp - 8]
mov eax, dword [0x457f24]
mov eax, dword [eax]
call fcn.00451b98
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404964
mov eax, dword [ebp - 8]
call fcn.00404b54
push eax
call sub.kernel32.dll_WinExec
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455f40
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046c8
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401820
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
push eax
push 0x401138
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x30011
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
leave
ret

Function at 0x401931
Capabilities:
Query environment variable

Disassembly:
push dword [0x4062f4]
call fcn.00403951
mov dword [esp], 0x400
call fcn.0040393d
mov dword [esp], 0x104
push eax
push dword [esp + 0xc]
mov dword [0x4062f4], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, dword [0x4062f4]
ret
Function at 0x4019ad
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
mov esi, 0x80
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ebx, ebx
push ebx
push esi
push 3
push ebx
push 2
push 0x1f01ff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, ebx
je 0x401b29
cmp byte [ebp + 0x14], bl
jne 0x401abd
push 2
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 0xc]
lea eax, [ebp - 0x110]
push 0x401188
push eax
call fcn.004038e1
lea eax, [ebp - 0x110]
push eax
call fcn.0040308a
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0x10
push ebx
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x110]
push eax
push edi
call esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x110]
push 0x401188
push eax
call fcn.004038e1
lea eax, [ebp - 0x110]
push eax
call fcn.0040308a
add esp, 0x10
push ebx
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x110]
push eax
push edi
call esi
push dword [ebp - 0xc]
lea eax, [ebp - 0x110]
push 0x401180
push eax
call fcn.004038e1
add esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 6
lea eax, [ebp - 0x110]
push eax
push edi
call esi
push dword [ebp - 8]
lea eax, [ebp - 0x110]
push 0x401180
push eax
call fcn.004038e1
add esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 6
lea eax, [ebp - 0x110]
jmp 0x401b1e
push dword [ebp + 0xc]
call fcn.004030d6
push dword [ebp + 0x10]
shl eax, 1
mov dword [ebp - 8], eax
call fcn.004030d6
pop ecx
pop ecx
push 2
push ebx
push ebx
shl eax, 1
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push dword [ebp + 0xc]
push edi
call esi
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push dword [ebp + 0x10]
push edi
call esi
push ebx
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push edi
call esi
push ebx
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret