joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40baa0
Capabilities:
Create http request

Disassembly:
mov eax, 0x415fbc
call fcn.0040cb10
sub esp, 0xff4
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 4], esi
jne 0x40bb95
push esi
push esi
push esi
push esi
push str.Wildfire
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, esi
mov dword [edi + 4], eax
jne 0x40bb95
push ebx
call fcn.00403b87
lea ecx, [ebp - 0x24]
call fcn.0040bcfd
mov edi, eax
push 0x41e16c
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.00402e73
mov esi, eax
push 0xa
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.00404bfe
mov ebx, eax
push str.Couldnt_initialise_wininet_service__
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.00402e73
push ebx
mov edx, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00403925
push esi
mov edx, eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00403925
push edi
mov edx, eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.00403925
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0040320c
push eax
lea ecx, [ebp - 0x830]
call fcn.00402331
push 0x7d0
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x1000]
push eax
call fcn.0040c3d0
add esp, 0xc
push 0x41a3b8
lea eax, [ebp - 0x1000]
push eax
call fcn.0040cb2f
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40fb31
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41e778
cmp edx, dword [eax]
je 0x40fb53
add eax, 8
inc ecx
cmp eax, 0x41e808
jl 0x40fb44
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41e778]
jne 0x40fc81
mov eax, dword [0x41f770]
cmp eax, 1
je 0x40fc5b
test eax, eax
jne 0x40fb84
cmp dword [0x41e344], 1
je 0x40fc5b
cmp edx, 0xfc
je 0x40fc81
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40fbbb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040dd10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040cb70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40fbfe
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040cb70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4181bc
push edi
call fcn.00412a60
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040dd10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040dd20
lea eax, [ebp - 0xa0]
push 0x41819c
push eax
call fcn.0040dd20
push dword [esi + 0x41e77c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040dd20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004129c8
add esp, 0x2c
pop edi
jmp 0x40fc81
lea eax, [ebp + 8]
lea esi, [esi + 0x41e77c]
push 0
push eax
push dword [esi]
call fcn.0040cb70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x414a86
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
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 0x4eccc0
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4eca52
mov edx, 0x54d8d899
call fcn.004eccf0
add edx, edx
or edx, edx
add edi, edx
xor dword [eax], ebx
sub edi, edi
add edi, edi
add edx, edx
add eax, 1
dec edx
cmp eax, ecx
jl fcn.004eccc0
mov edx, edx
ret
Function at 0x406360
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x80fe5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x40461c
call fcn.00406fc1
push 4
mov dword [esp + 0x18], 0
call fcn.00407cbf
mov edi, eax
add esp, 4
test edi, edi
je 0x4063d4
push ebx
call fcn.00406e99
mov dword [edi], eax
call fcn.00406c58
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406f82
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4063c8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406faa
pop ebx
jmp 0x4063d6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408731
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8133d8]
jne 0x40873b
repz ret
jmp fcn.0040c91c
Function at 0x411b4e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x8133d8]
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.0040b48f
and dword [ebp - 0x14], 0
cmp dword [0x81580c], 0
mov dword [ebp - 0x18], eax
jne 0x411c01
push WriteConsoleInputW
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411ca9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404074
push ebx
call edi
test eax, eax
je GetConsoleAliasExesA
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404064
push ebx
mov dword [0x81580c], eax
call edi
push eax
call esi
push 0x404050
push ebx
mov dword [0x815810], eax
call edi
push eax
call esi
push 0x404034
push ebx
mov dword [0x815814], eax
call edi
push eax
call esi
mov dword [0x81581c], eax
test eax, eax
je 0x411c01
push 0x40401c
push ebx
call edi
push eax
call esi
mov dword [0x815818], eax
mov eax, dword [0x815818]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411c5a
cmp dword [0x81581c], ecx
je 0x411c5a
push eax
call esi
push dword [0x81581c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411c5a
test ebx, ebx
je 0x411c5a
call edi
test eax, eax
je 0x411c51
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411c51
test byte [ebp - 8], 1
jne 0x411c5a
or dword [ebp + 0x10], 0x200000
jmp 0x411c8d
mov eax, dword [0x815810]
cmp eax, dword [ebp - 0x18]
je 0x411c8d
push eax
call esi
test eax, eax
je 0x411c8d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411c8d
mov eax, dword [0x815814]
cmp eax, dword [ebp - 0x18]
je 0x411c8d
push eax
call esi
test eax, eax
je 0x411c8d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [WaitNamedPipeW]
call esi
test eax, eax
je 0x411ca9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411cab
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408731
leave
ret
Function at 0x80e850
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0xb9a558], 0x37
jne 0x80e8f6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0x404128
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404168
push 0x404144
push 0x4041c0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9a55c]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81a5bc]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x80eb00
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb9a558]
sub esp, 0x47c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x81a5bc]
cmp eax, ebx
jbe 0x80ecf6
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x80eb36
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0xb9a558], 0x1c
jne 0x80eb4d
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x814700]
mov eax, dword [0x814704]
mov esi, dword [edi]
mov ebp, dword [0x814708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x81470c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x80eb8a
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0xb994dc], ebx
mov eax, dword [esp + 0x18]
add dword [0xb994dc], eax
mov edx, dword [0xb994dc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0xb9a558], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x80ec24
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0xb9a558], 0x979
mov dword [0xb994e0], 0xff6b3619
mov dword [0xb994e4], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x80ec78
mov eax, dword [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x80eb88
cmp dword [0xb9a558], 0x8d4
jne 0x80ecaf
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0xb9a558], 0x17
jne 0x80ece5
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x80eb30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret
Function at 0x4672d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x417015
lea edi, [esi - 0x16015]
push edi
jmp 0x4672ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4672f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4672e0
mov eax, 1
add ebx, ebx
jne 0x467303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x467314
jne 0x467333
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467333
dec eax
add ebx, ebx
jne 0x467320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4672f8
add ebx, ebx
jne 0x46732f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x467385
xor ecx, ecx
sub eax, 3
jb 0x46734b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4673ba
sar eax, 1
mov ebp, eax
jmp 0x467356
add ebx, ebx
jne 0x467356
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467324
inc ecx
add ebx, ebx
jne 0x467364
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467324
add ebx, ebx
jne 0x467371
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x467366
jne 0x467382
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x467366
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4673a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x467396
jmp 0x4672e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4673a4
add edi, ecx
jmp 0x4672e6
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4673c2
cmp byte [edi], 0
jne 0x4673c2
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 0x4673c7
mov ebp, dword [esi + 0x676d4]
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 0x467422
sub esp, 0xffffff80
jmp 0x407c28
Function at 0x40ed65
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x40eae0
inc edi
sub edi, 0x31f65463
call fcn.0040ed90
push esi
pop esi
xor dword [ecx], ebx
mov esi, esi
inc ecx
cmp ecx, eax
jne fcn.0040ed65
sub esi, 0xac6e9eda
add esi, esi
ret
Function at 0x401d20
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esi, 0xcb
imul edx
imul esi
dec ebx
dec eax
neg esi
neg edx
and edi, 0xa6
inc ebx
or esi, 0x7a
inc ebx
sbb eax, 0x1f
imul eax
add ebx, 0xb6
imul ebx
imul edx
and eax, 0x2c
rcr eax, 0xb7
dec edx
neg eax
sub eax, 0xd6
mov ebx, 0x56
and eax, 0x6a
bswap esi
dec eax
sbb edx, 0x33
not eax
neg ebx
neg ebx
imul eax
inc edx
rcl esi, 0x2d
neg eax
mov edi, 6
ror eax, 6
bswap eax
not esi
sub esi, 0xe1
imul esi
rcl esi, 0xd4
and esi, 0xd0
not edx
sub edi, 0xf2
rcr esi, 7
not edx
and edi, 0x60
inc edi
sub esi, 0x54
neg ebx
neg edi
xor ecx, ecx
xor edi, edi
bswap edx
imul edi
not eax
dec eax
sbb eax, 0xb1
neg edi
neg edx
dec eax
add edi, 0x59
dec eax
bswap edx
imul esi
sub edi, 0x8a
dec edx
imul ebx
or edx, 0xf2
imul edx
imul edx
rol edx, 0xa
not esi
and esi, 0xe
imul edi
neg esi
not edx
or edx, 0x51
rol esi, 0xc4
imul edx
inc edi
inc edx
inc edx
sub edx, 0x2c
imul esi
inc edx
and ebx, 0x14
rcr esi, 2
mov edi, 0x17
neg ebx
dec ebx
not edi
neg edx
mov ebx, 0xc2
and edi, 0xfb
and eax, 0x79
inc ebx
and ebx, 0xbf
add esi, 0xa
rol edx, 0xbd
rol ebx, 0xa8
imul edi
imul edi
mov ecx, dword [ebp + 0xc]
and edi, 0xf7
not edi
rcl ebx, 0x80
not edi
neg esi
dec ebx
dec edi
add edi, 0xca
add esi, 0x44
rol ebx, 0x9c
imul edi
imul eax
sub edx, 0xc2
rol edi, 0x7f
rcr ebx, 0x96
rcl esi, 0x4a
dec edi
neg edx
imul edi
not esi
inc edx
bswap esi
and ebx, 0x71
or eax, 6
sbb esi, 0x22
add edi, 0x9c
not edx
not ebx
mov esi, 0x31
add edx, 0x4f
rcr edi, 0xc4
rcr eax, 0x3f
and edx, 0xb0
not eax
sub edx, 0xce
bswap edx
ror edx, 0xe9
inc edi
not ebx
imul edx
and edx, 0xed
dec esi
add edi, 0xe0
add ebx, 0x1c
not edx
dec eax
or ebx, 0xe
sbb eax, 0x95
add ebx, 0x4c
sbb edx, 0x30
mov edi, dword [ebp + 8]
mov eax, eax
mov esi, eax
mov ebx, esi
not byte [edi]
mov ebx, ebx
xor eax, eax
mov esi, eax
xor esi, esi
mov esi, ebx
xor eax, ebx
xor ebx, eax
xor eax, ebx
xor eax, eax
add byte [edi], 0x79
xor eax, esi
xor eax, eax
mov eax, eax
mov ebx, esi
mov ebx, eax
mov eax, eax
mov eax, ebx
xor esi, esi
xor esi, ebx
sub byte [edi], 0x30
mov esi, ebx
xor eax, eax
mov eax, esi
mov eax, ebx
mov eax, ebx
mov eax, eax
mov esi, esi
xor esi, esi
xor ebx, ebx
imul byte [edi]
inc edi
loop 0x401ed2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4074a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46c094]
jne 0x4074ae
repz ret
jmp fcn.0040be86
Function at 0x40d68d
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.0040a44f
and dword [ebp - 4], 0
cmp dword [0x46d614], 0
mov ebx, eax
jne 0x40d73e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d7ef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40d7ef
push eax
call fcn.0040a3dd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46d614], eax
call esi
push eax
call fcn.0040a3dd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46d618], eax
call esi
push eax
call fcn.0040a3dd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46d61c], eax
call esi
push eax
call fcn.0040a3dd
pop ecx
mov dword [0x46d624], eax
test eax, eax
je 0x40d73e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040a3dd
pop ecx
mov dword [0x46d620], eax
mov eax, dword [0x46d620]
cmp eax, ebx
je 0x40d796
cmp dword [0x46d624], ebx
je 0x40d796
push eax
call fcn.0040a458
push dword [0x46d624]
mov esi, eax
call fcn.0040a458
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d796
test edi, edi
je 0x40d796
call esi
test eax, eax
je 0x40d78d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d78d
test byte [ebp - 0xc], 1
jne 0x40d796
or dword [ebp + 0x10], 0x200000
jmp 0x40d7cf
mov eax, dword [0x46d618]
cmp eax, ebx
je 0x40d7cf
push eax
call fcn.0040a458
pop ecx
test eax, eax
je 0x40d7cf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d7cf
mov eax, dword [0x46d61c]
cmp eax, ebx
je 0x40d7cf
push eax
call fcn.0040a458
pop ecx
test eax, eax
je 0x40d7cf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46d614]
call fcn.0040a458
pop ecx
test eax, eax
je 0x40d7ef
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d7f1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406270
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42a52b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404544
call fcn.00406ed1
push 4
mov dword [esp + 0x18], 0
call fcn.00407d76
mov edi, eax
add esp, 4
test edi, edi
je 0x4062e4
push ebx
call fcn.00406da9
mov dword [edi], eax
call fcn.00406b68
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406e92
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4062d8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406eba
pop ebx
jmp 0x4062e6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4087e1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d520]
jne 0x4087eb
repz ret
jmp fcn.0040cf3c
Function at 0x4290a0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7b7820], 0x37
jne 0x429138
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x404110
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404148
push 0x4041c0
push 0x4041e8
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7b7824]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x437884]
mov byte [ecx + esi], al
add esp, 0xc0c
ret