joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402caf
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x4083f0
call fcn.00403d74
mov edi, 0x94
mov eax, edi
call fcn.00403ed0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x4080ac]
mov ecx, dword [esi + 0x10]
mov dword [0x40ad7c], ecx
mov eax, dword [esi + 4]
mov dword [0x40ad88], eax
mov edx, dword [esi + 8]
mov dword [0x40ad8c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x40ad80], esi
cmp ecx, 2
je 0x402d0f
or esi, 0x8000
mov dword [0x40ad80], esi
shl eax, 8
add eax, edx
mov dword [0x40ad84], eax
xor esi, esi
push esi
mov edi, dword [0x4080f8]
call edi
cmp word [eax], 0x5a4d
jne 0x402d4a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402d4a
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x402d62
cmp eax, 0x20b
je 0x402d4f
mov dword [ebp - 0x1c], esi
jmp 0x402d76
cmp dword [ecx + 0x84], 0xe
jbe 0x402d4a
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x402d70
cmp dword [ecx + 0x74], 0xe
jbe 0x402d4a
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00403d21
pop ecx
test eax, eax
jne 0x402d8a
push 0x1c
call fcn.00402c8b
pop ecx
call fcn.00403c18
test eax, eax
jne 0x402d9b
push 0x10
call fcn.00402c8b
pop ecx
call fcn.004039b2
mov dword [ebp - 4], esi
call fcn.004037b4
test eax, eax
jge 0x402db4
push 0x1b
call fcn.00402c66
pop ecx
call dword [0x408100]
mov dword [0x40b594], eax
call fcn.00403692
mov dword [0x40ad6c], eax
call fcn.004035f0
test eax, eax
jge 0x402dda
push 8
call fcn.00402c66
pop ecx
call fcn.004033bd
test eax, eax
jge 0x402deb
push 9
call fcn.00402c66
pop ecx
push 1
call fcn.00402ede
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x402e01
push eax
call fcn.00402c66
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x4080fc]
call fcn.00403360
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x402e22
movzx eax, word [ebp - 0x40]
jmp 0x402e25
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00402ad0
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x402e43
push edi
call fcn.0040300b
call fcn.0040302d
jmp 0x402e75
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00403daf
ret
Function at 0x405e6e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x405e9c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x405ea3
cmp ebx, dword [eax + 4]
jae 0x405ea3
xor eax, eax
jmp 0x406093
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x405eb4
xor eax, eax
inc eax
jmp 0x406092
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x405eca
cmp ecx, edx
jae 0x40600f
cmp dword [eax + 4], 0
je 0x405ed3
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x405ebb
cmp dword [ebp + 8], 0
je 0x405ef5
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40600f
cmp eax, esi
jae 0x40600f
mov eax, dword [0x40b060]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x405f1a
cmp dword [esi*4 + 0x40b068], edi
je 0x406013
inc esi
cmp esi, eax
jl 0x405f08
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x408090]
test eax, eax
je 0x40608f
cmp dword [ebp - 8], 0x1000000
jne 0x40608f
test byte [ebp - 0xc], 0xcc
je 0x405f98
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40608f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40608f
cmp word [eax + 0x18], 0x10b
jne 0x40608f
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40608f
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x405f98
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x405f98
test byte [ecx + 0x27], 0x80
jne 0x40600f
push 1
push 0x40b0a8
call dword [0x40802c]
test eax, eax
jne 0x405eac
mov ecx, dword [0x40b060]
test ecx, ecx
mov edx, ecx
jle 0x405fcc
lea eax, [ecx*4 + 0x40b064]
cmp dword [eax], edi
je 0x405fcc
dec edx
sub eax, 4
test edx, edx
jg 0x405fc0
test edx, edx
jne 0x405ffd
push 0xf
pop ebx
cmp ecx, ebx
jg 0x405fd9
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x405ff1
lea eax, [edx*4 + 0x40b068]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x405fdf
cmp ecx, 0x10
jge 0x405ffd
inc ecx
mov dword [0x40b060], ecx
push 0
push 0x40b0a8
call dword [0x40802c]
jmp 0x405eac
xor eax, eax
jmp 0x406092
test esi, esi
jle 0x405eac
mov ebx, dword [0x40802c]
push 1
push 0x40b0a8
call ebx
test eax, eax
jne 0x405eac
cmp dword [esi*4 + 0x40b068], edi
je 0x406069
mov eax, dword [0x40b060]
lea esi, [eax - 1]
test esi, esi
jl 0x406057
cmp dword [esi*4 + 0x40b068], edi
je 0x406053
dec esi
jns 0x406047
test esi, esi
jge 0x406067
cmp eax, 0x10
jge 0x406062
inc eax
mov dword [0x40b060], eax
lea esi, [eax - 1]
jmp 0x406069
je 0x406081
xor ecx, ecx
test esi, esi
jl 0x406081
lea eax, [ecx*4 + 0x40b068]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40606f
push 0
push 0x40b0a8
call ebx
jmp 0x405eac
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4050e0
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, 0x1854
call fcn.004167c0
mov eax, dword [0x70c7ec]
mov ecx, dword [0x7096f4]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x405255
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov ebp, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameA]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x70c7ec], 0x959
jne 0x40523b
push 0
push 0
call edi
lea eax, [esp + 0x40]
push eax
call ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xc64]
push edx
push 0
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x464]
push ecx
push 0
push 0x403734
push 0x403770
push 0x4037b0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
lea edx, [esp + 0x24]
push edx
push 0
call esi
push 0
push 0
push 0
lea eax, [esp + 0x106c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
lea ecx, [esp + 0x64]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0x4037d0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0x403830
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push 0
push 0x403834
push 0x403840
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
push 0x403868
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edx, dword [esp + 0x14]
push edx
call fcn.00404f00
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x405124
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1854
ret
Function at 0x408c8d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b238]
jne 0x408c97
repz ret
jmp fcn.00410eac

Function at 0x4149c1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040ef46
and dword [ebp - 4], 0
cmp dword [0x44ea38], 0
mov ebx, eax
jne 0x414a72
push 0x402db0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414b23
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402da4
push edi
call esi
test eax, eax
je 0x414b23
push eax
call fcn.0040eed4
mov dword [esp], 0x402d94
push edi
mov dword [0x44ea38], eax
call esi
push eax
call fcn.0040eed4
mov dword [esp], 0x402d80
push edi
mov dword [0x44ea3c], eax
call esi
push eax
call fcn.0040eed4
mov dword [esp], 0x402d64
push edi
mov dword [0x44ea40], eax
call esi
push eax
call fcn.0040eed4
pop ecx
mov dword [0x44ea48], eax
test eax, eax
je 0x414a72
push 0x402d4c
push edi
call esi
push eax
call fcn.0040eed4
pop ecx
mov dword [0x44ea44], eax
mov eax, dword [0x44ea44]
cmp eax, ebx
je 0x414aca
cmp dword [0x44ea48], ebx
je 0x414aca
push eax
call fcn.0040ef4f
push dword [0x44ea48]
mov esi, eax
call fcn.0040ef4f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x414aca
test edi, edi
je 0x414aca
call esi
test eax, eax
je 0x414ac1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x414ac1
test byte [ebp - 0xc], 1
jne 0x414aca
or dword [ebp + 0x10], 0x200000
jmp 0x414b03
mov eax, dword [0x44ea3c]
cmp eax, ebx
je 0x414b03
push eax
call fcn.0040ef4f
pop ecx
test eax, eax
je 0x414b03
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414b03
mov eax, dword [0x44ea40]
cmp eax, ebx
je 0x414b03
push eax
call fcn.0040ef4f
pop ecx
test eax, eax
je 0x414b03
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44ea38]
call fcn.0040ef4f
pop ecx
test eax, eax
je 0x414b23
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414b25
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43f950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
jmp 0x43f96a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43f971
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43f960
mov eax, 1
add ebx, ebx
jne 0x43f983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43f978
jne 0x43f994
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43f978
xor ecx, ecx
sub eax, 3
jb 0x43f9a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43fa1a
mov ebp, eax
add ebx, ebx
jne 0x43f9b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43f9c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43f9e4
inc ecx
add ebx, ebx
jne 0x43f9d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43f9c5
jne 0x43f9e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43f9c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43fa04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43f9f5
jmp 0x43f966
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43fa04
add edi, ecx
jmp 0x43f966
pop esi
mov edi, esi
mov ecx, 0xa57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43fa22
cmp byte [edi], 0x12
jne 0x43fa22
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 0x43fa27
lea edi, [esi + 0x3d000]
mov eax, dword [edi]
or eax, eax
je 0x43fa9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x59c68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x59d48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43fa54
mov ecx, edi
jns 0x43fa83
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 + 0x59d50]
or eax, eax
je 0x43fa99
mov dword [ebx], eax
add ebx, 4
jmp 0x43fa71
call dword [esi + 0x59d4c]
mov ebp, dword [esi + 0x59d54]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x43fad3
sub esp, 0xffffff80
jmp 0x41942f
Function at 0x10013640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10013653
test al, 0x10
jne 0x10013653
mov al, 1
ret
xor al, al
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

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

Function at 0x407120
Capabilities:
Parse pe header

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

Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
sub esp, 0x44
mov eax, 0x401023
mov ecx, 0
mov bl, byte [eax]
add bl, 0x38
mov byte [eax], bl
add eax, 1
add ecx, 1
cmp ecx, 0xd137
jne 0x40100e
or al, 0xc8
or eax, ecx
or eax, 0x52c8c8c8
loopne 0x401078
mov ebp, dword [ebp - 0x76b41fb0]
leave
dec ebx
mov cl, cl
dec ecx
rol edi, 0xef
enter 0x3dc8, 0xffffffffffffffb3
or al, 0xd8
or al, cl
or dword [ebx + 0x518b8b8b], 0xffffffe0
sbb byte [ebp + 0x4bc808a2], 0x88
enter 0xffffffffffff8c4b, 0xc
invalid
not dword [ecx - 0x74de3738]
and dword [eax - 0x4e37f611], 0xc8c86da6
mov al, 0xcd
enter 0xffffffffffffc8c8, 0xffffffffffffffb1
ror al, cl
enter 0xffffffffffff81c8, 0xffffffffffffffd0
invalid

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

Disassembly:
pushal
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x3e7f45d4
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..rdata
nop
mov ebx, 0x42f314
nop
mov ecx, 0x34972338
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x100011b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, eax
push ebp
mov ebx, 1
call fcn.10001180
push ebp
mov ebx, 4
call fcn.10001180
mov esi, dword [ebp + 0x3c]
mov eax, dword [esi + ebp + 0x54]
mov ecx, dword [esp + 0x18]
add esi, ebp
push eax
push ebp
push ecx
call fcn.10001620
movzx edx, word [esi + 0x14]
xor eax, eax
xor ebx, ebx
lea edi, [edx + esi + 0x18]
cmp ax, word [esi + 6]
jae 0x10001222
add edi, 0x14
lea ebx, [ebx]
mov ecx, dword [edi - 4]
mov edx, dword [edi]
mov eax, dword [edi - 8]
add eax, dword [esp + 0x18]
push ecx
add edx, ebp
push edx
push eax
call fcn.10001620
movzx ecx, word [esi + 6]
inc ebx
add edi, 0x28
cmp ebx, ecx
jl 0x10001200
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x10002740
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push esi
mov ecx, 0x6782
sub ecx, dword [ebp + 8]
imul ecx, ecx, 0x51
mov eax, dword [ebp + 8]
imul eax, eax, 0x62
add eax, 0x767a
xor edx, edx
mov esi, 0x3d
div esi
lea eax, [ecx + eax + 0x6781]
xor edx, edx
mov ecx, 0x5f
div ecx
cmp edx, 0x6281
jb 0x1000279c
push 0x7658769
push 0x11
push 0x12
call dword [sym.imp.ntoskrnl.exe_RtlIntegerToUnicodeString]
push 0x67565766
push 0x12
call dword [sym.imp.ntoskrnl.exe_RtlCheckRegistryKey]
mov eax, dword [ebp + 8]
jmp 0x100027a1
mov eax, 0xc0000001
pop esi
pop ebp
ret 8

Function at 0x100027b0
Capabilities:
Delete registry key
Install driver
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x100027c3
xor eax, eax
jmp 0x100028c0
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push 0xa
push 0x10003008
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ntoskrnl.exe__wcsnicmp]
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000281b
push 0x6576576
call dword [sym.imp.ntoskrnl.exe_RtlxUnicodeStringToAnsiSize]
test eax, eax
je 0x1000280f
push 0x7676766
call dword [sym.imp.ntoskrnl.exe_ZwLoadDriver]
test eax, eax
je 0x1000280f
push 0x65765765
call dword [sym.imp.ntoskrnl.exe_RtlLengthSecurityDescriptor]
xor eax, eax
jmp 0x100028c0
push 0x6576767
push 0x7657676
call dword [sym.imp.ntoskrnl.exe_RtlStringFromGUID]
push 0xc687657
push 0x67576765
call dword [sym.imp.ntoskrnl.exe_MmAddPhysicalMemory]
test eax, eax
jl 0x1000284c
push 0x7657567
call dword [sym.imp.ntoskrnl.exe_MmUnmapViewInSessionSpace]
jmp 0x10002878
push 4
push 0x10
push 1
push 0x65756765
push 0
push 0x1000
push 0x1000
push 0x65656436
push 0x65556
push 0x76576565
call dword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
push 0x6576578
call dword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
test eax, eax
je 0x10002899
push 0x7687659
push 0x6576559
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
jmp 0x100028ae
push 0x25
push 0x10003028
push 0x6575647
call dword [sym.imp.ntoskrnl.exe_wcsncat]
add esp, 0xc
push 0x76768787
push 0x57657657
call dword [sym.imp.ntoskrnl.exe_ZwQueryFullAttributesFile]
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x403050
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, dword [0x4c5f3c]
mov ecx, dword [0x4c2e48]
sub esp, 0xc2c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403143
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x4c5f3c], 0x959
jne 0x403129
push 0
push 0
call esi
push 0
lea eax, [esp + 0x43c]
push eax
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
push 0
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
push 0x402b70
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov eax, dword [esp + 0x14]
push eax
call fcn.00402e90
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x403090
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc2c
ret
Function at 0x4039c0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x457ff8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp dword [0x4c5f3c], 0x84
jne 0x403a4c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
push ebx
mov dword [esp + 0x2c], ebx
call fcn.00403d13
push ebx
push ebx
call fcn.00403da1
add esp, 0xc
mov dword [esp + 0x28], 0xffffffff
cmp dword [esp + 0x1c], 0x10
jb 0x403a3c
mov eax, dword [esp + 8]
push eax
call fcn.00403f88
add esp, 4
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
cmp byte [0x45bdf0], bl
jle 0x403a5c
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [0x45b0d4]
mov edx, dword [0x45b0a8]
mov dword [0x4c5f3c], ecx
mov dword [0x4c68dc], edx
call fcn.00403190
mov ecx, dword [esp + 0x20]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10

Function at 0x405610
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459118]
jne 0x40561a
repz ret
jmp fcn.00409be2
Function at 0x409905
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040768b
and dword [ebp - 4], 0
cmp dword [0x45b9b4], 0
mov ebx, eax
jne 0x4099b6
push 0x401a4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409a67
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401a40
push edi
call esi
test eax, eax
je 0x409a67
push eax
call fcn.00407619
mov dword [esp], 0x401a30
push edi
mov dword [0x45b9b4], eax
call esi
push eax
call fcn.00407619
mov dword [esp], 0x401a1c
push edi
mov dword [0x45b9b8], eax
call esi
push eax
call fcn.00407619
mov dword [esp], 0x401a00
push edi
mov dword [0x45b9bc], eax
call esi
push eax
call fcn.00407619
pop ecx
mov dword [0x45b9c4], eax
test eax, eax
je 0x4099b6
push 0x4019e8
push edi
call esi
push eax
call fcn.00407619
pop ecx
mov dword [0x45b9c0], eax
mov eax, dword [0x45b9c0]
cmp eax, ebx
je 0x409a0e
cmp dword [0x45b9c4], ebx
je 0x409a0e
push eax
call fcn.00407694
push dword [0x45b9c4]
mov esi, eax
call fcn.00407694
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409a0e
test edi, edi
je 0x409a0e
call esi
test eax, eax
je 0x409a05
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409a05
test byte [ebp - 0xc], 1
jne 0x409a0e
or dword [ebp + 0x10], 0x200000
jmp 0x409a47
mov eax, dword [0x45b9b8]
cmp eax, ebx
je 0x409a47
push eax
call fcn.00407694
pop ecx
test eax, eax
je 0x409a47
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409a47
mov eax, dword [0x45b9bc]
cmp eax, ebx
je 0x409a47
push eax
call fcn.00407694
pop ecx
test eax, eax
je 0x409a47
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b9b4]
call fcn.00407694
pop ecx
test eax, eax
je 0x409a67
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409a69
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret