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

Disassembly:
call fcn.0040381f
test eax, eax
je 0x4018de
mov eax, dword [esp + 8]
test eax, eax
je 0x4018de
cmp word [eax], 0
je 0x4018de
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
jmp 0x4018fb
cmp dword [esp + 4], 0
je 0x4018f9
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4018f9
xor eax, eax
inc eax
jmp 0x4018fb
xor eax, eax
ret 8

Function at 0x40190c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
call fcn.0040381f
test eax, eax
je 0x401931
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x401931
cmp word [eax], 0
je 0x401931
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x401943
cmp dword [ebp + 8], 0
je 0x40194a
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
jmp 0x40194c
xor al, al
pop ebp
ret 0xc

Function at 0x401ab1
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
call fcn.0040381f
mov esi, dword [ebp + 0xc]
xor ebx, ebx
test eax, eax
je 0x401ad7
cmp esi, ebx
je 0x401ad7
cmp word [esi], bx
je 0x401ad7
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x401ae6
cmp dword [ebp + 8], ebx
je 0x401b14
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, ebx
je 0x401aff
cmp byte [ebp + 0x10], bl
je 0x401afb
push dword [ebp + 0x14]
push esi
push dword [ebp + 8]
call fcn.0040190c
xor eax, eax
jmp 0x401b17
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x401b14
cmp eax, 3
je 0x401b14
xor eax, eax
inc eax
jmp 0x401b17
push 2
pop eax
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x40205b
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x4171b0]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push esi
mov esi, dword [ebp + 0x7b0]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40208d
xor al, al
jmp 0x4020de
push 0x400
push esi
lea eax, [ebp - 0x60]
push eax
call fcn.00404e7c
lea eax, [ebp - 0x60]
push eax
call fcn.00406cf5
xor ecx, ecx
push 0x1e
mov word [ebp + eax*2 - 0x5e], cx
push ecx
lea eax, [ebp - 0x80]
push eax
call fcn.00407620
add esp, 0x10
push 0x14
pop eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x7c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0x7a4]
xor ecx, ebp
pop esi
call fcn.00406d1a
add ebp, 0x7a8
leave
ret 4
Function at 0x403a03
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov word [esi], ax
lea eax, [ebp + 8]
push eax
push 1
push 0
push str.SoftwareWinRARPaths
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403a56
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push 0x413270
push dword [ebp + 8]
mov dword [ebp - 4], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [esi], 0
je 0x403a68
push esi
push 0
call fcn.004018b4
test al, al
jne 0x403a6e
push esi
call fcn.00403974
pop esi
leave
ret 4

Function at 0x403a9c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x530]
sub esp, 0x5b0
mov eax, dword [0x4171b0]
xor eax, ebp
mov dword [ebp + 0x52c], eax
mov eax, dword [ebp + 0x53c]
mov ecx, dword [ebp + 0x538]
push edi
xor edi, edi
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], eax
cmp word [eax], di
je 0x403b81
lea edx, [ebp - 0x68]
push edx
push 0x20019
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403b81
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x39c]
push eax
mov dword [ebp - 0x70], edi
push edi
jmp 0x403b52
lea eax, [ebp + 0x39c]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x64]
push str._s_s
push 0x200
push eax
call fcn.004055e3
add esp, 0x14
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x78]
call fcn.00403a9c
inc dword [ebp - 0x70]
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x39c]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x68]
mov dword [ebp - 0x6c], 0xc8
call esi
test eax, eax
je 0x403b0e
push dword [ebp - 0x68]
call fcn.00403a73
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
test eax, eax
jne 0x403b81
inc dword [0x41aff4]
mov ecx, dword [ebp + 0x52c]
xor ecx, ebp
pop edi
call fcn.00406d1a
add ebp, 0x530
leave
ret 8

Function at 0x403c36
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4171b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push esi
call fcn.00403b99
test al, al
je 0x403ca2
lea eax, [ebp - 0x408]
push eax
push 0x20006
push 0
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403ca2
push edi
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x408]
call fcn.00403a73
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00406d1a
leave
ret 0xc
Function at 0x404b2f
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00406d30
mov eax, dword [0x4171b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp edi, esi
je 0x404b5c
push dword [ebp + 0x10]
push esi
push edi
call fcn.00404e7c
lea eax, [ebp - 0x1008]
push eax
push 1
push 0
push str.SoftwareWinRARGeneral
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404c30
push esi
call fcn.00406cf5
pop ecx
mov ecx, 0x3ff
sub ecx, eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x1010]
push eax
push 0
push str.LanguageFolder
push dword [ebp - 0x1008]
add ecx, ecx
mov dword [ebp - 0x100c], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404c24
mov word [ebp - 0x804], ax
push 0x400
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x804]
push eax
call fcn.004038b9
push esi
call fcn.0040390c
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00406608
pop ecx
pop ecx
lea eax, [ebp - 0x804]
push eax
push 0
call fcn.004018b4
test al, al
je 0x404c24
push dword [ebp + 0x10]
lea eax, [ebp - 0x804]
push eax
push edi
call fcn.00404e7c
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00406d1a
leave
ret 0xc

Function at 0x404cc1
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x898]
sub esp, 0x918
mov eax, dword [0x4171b0]
xor eax, ebp
mov dword [ebp + 0x894], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x8a4]
mov esi, ecx
call fcn.00404b0c
mov ebx, 0x400
lea eax, [ebp + 0x94]
test edi, edi
je 0x404d06
push edi
push eax
call fcn.00406636
pop ecx
pop ecx
jmp 0x404d10
push ebx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.rarlng.dll
lea eax, [ebp + 0x94]
push eax
call fcn.0040390c
push eax
call fcn.00406636
pop ecx
pop ecx
push ebx
lea eax, [ebp + 0x94]
push eax
push eax
call fcn.00404b2f
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x70], 2
jne 0x404d6f
cmp dword [ebp - 0x7c], 5
ja 0x404d5c
jne 0x404d6f
cmp dword [ebp - 0x78], 1
jbe 0x404d6f
push 2
push 0
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x404d7c
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x41afb8], eax
setne al
pop edi
mov byte [esi], al
pop esi
test al, al
mov eax, dword [ebp + 0x8a0]
pop ebx
jne 0x404d9a
mov dword [0x41afb8], eax
mov ecx, dword [ebp + 0x894]
xor ecx, ebp
mov dword [0x41afb4], eax
call fcn.00406d1a
add ebp, 0x898
leave
ret 8
Function at 0x4053f1
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
push dword [esp + 0x10]
call fcn.00406cf5
mov esi, eax
inc esi
lea eax, [esi + esi + 2]
push eax
call fcn.004067a3
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x405439
push esi
push edi
push dword [esp + 0x18]
call fcn.00404edd
push dword [esp + 0xc]
push edi
call fcn.00406900
pop ecx
push eax
push 1
push edi
call fcn.00407a11
push edi
call fcn.0040686d
add esp, 0x14
pop edi
pop esi
ret 8
Function at 0x40639a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x413a80
push 1
xor ebx, ebx
push ebx
push 0x413aa0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40646b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x413a90
push eax
call dword [ecx]
test eax, eax
jl 0x406462
cmp byte [ebp + 8], bl
je 0x4063ed
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x40640a
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x40641c
push 0x412600
jmp 0x40641f
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x406434
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x406445
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x406459
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x406472
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x406d1a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4171b0]
jne 0x406d24
repz ret
jmp fcn.0040a744
Function at 0x40ef6b
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.0040ac5e
and dword [ebp - 4], 0
cmp dword [0x41eb00], 0
mov ebx, eax
jne 0x40f01c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f0cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40f0cd
push eax
call fcn.0040abec
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41eb00], eax
call esi
push eax
call fcn.0040abec
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41eb04], eax
call esi
push eax
call fcn.0040abec
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41eb08], eax
call esi
push eax
call fcn.0040abec
pop ecx
mov dword [0x41eb10], eax
test eax, eax
je 0x40f01c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040abec
pop ecx
mov dword [0x41eb0c], eax
mov eax, dword [0x41eb0c]
cmp eax, ebx
je 0x40f074
cmp dword [0x41eb10], ebx
je 0x40f074
push eax
call fcn.0040ac67
push dword [0x41eb10]
mov esi, eax
call fcn.0040ac67
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f074
test edi, edi
je 0x40f074
call esi
test eax, eax
je 0x40f06b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f06b
test byte [ebp - 0xc], 1
jne 0x40f074
or dword [ebp + 0x10], 0x200000
jmp 0x40f0ad
mov eax, dword [0x41eb04]
cmp eax, ebx
je 0x40f0ad
push eax
call fcn.0040ac67
pop ecx
test eax, eax
je 0x40f0ad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f0ad
mov eax, dword [0x41eb08]
cmp eax, ebx
je 0x40f0ad
push eax
call fcn.0040ac67
pop ecx
test eax, eax
je 0x40f0ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41eb00]
call fcn.0040ac67
pop ecx
test eax, eax
je 0x40f0cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f0cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405830
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677012
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x71a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov word [edi + 4], ax
mov dword [ebp - 4], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], al
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], al
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0xf
mov byte [edi + 0x4c], al
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], 0xf
mov byte [edi + 0x64], al
mov dword [edi + 0x8c], eax
mov dword [edi + 0x90], 0xf
mov byte [edi + 0x7c], al
lea esi, [edi + 0x94]
mov byte [ebp - 4], 5
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0042de91
add esp, 4
cmp dword [ebp + 8], 0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
setne al
mov byte [edi], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x40d320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677712
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x71a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0
call fcn.00428640
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x40d3b8
push eax
push esi
call fcn.00428a6c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x701b80
lea ecx, [ebp - 0x1c]
call fcn.0040d2e0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0040d280
int3
Function at 0x410130
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677a7f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x71a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x410185
mov dword [edi], 0x701df4
mov dword [edi + 0x50], 0x692ebc
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x692ec4
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ebx, dword [eax + 4]
add ebx, edi
mov ecx, ebx
call fcn.0040e050
lea eax, [edi + 4]
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 4], 2
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 3
push eax
call fcn.00411860
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx eax, ax
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 4
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
test eax, eax
je 0x41020b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
cmp dword [ebx + 0x38], 0
mov word [ebx + 0x40], ax
jne 0x41022c
mov eax, dword [ebx + 0xc]
mov ecx, ebx
or eax, 4
push 0
push eax
call fcn.0040dfc0
mov dword [ebp - 4], 5
lea ebx, [edi + 4]
mov eax, dword [edi]
push 8
mov dword [ebp + 0xc], ebx
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x692f4c
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
mov dword [ebx], 0x692ecc
call fcn.0042de91
mov esi, eax
push 1
mov byte [ebp - 4], 6
call fcn.00428965
mov dword [esi + 4], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 4]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], eax
add esp, 8
lea eax, [ebx + 0x14]
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov ecx, eax
not ecx
mov dword [ebx], 0x692f0c
and ecx, 1
mov dword [ebx + 0x38], 0
shl ecx, 2
mov edx, ecx
or edx, 8
and al, 8
cmove edx, ecx
mov ecx, dword [ebp + 8]
mov eax, edx
or eax, 0x10
and cl, 4
cmove eax, edx
mov dword [ebx + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6771a0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x71a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x692ecc
call fcn.0042de91
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00428965
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x417ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x678258
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x71a06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push 0x10
push 0x70230c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00407210
mov dword [ebp - 4], 0
call fcn.00419f10
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
mov edx, 0x811c9dc5
cmovae esi, ebx
mov dword [ebp - 0x2c], eax
mov edi, dword [eax + 4]
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x417b65
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x417b50
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x2c]
and eax, edx
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0x30], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x34], eax
cmp edx, edi
jne 0x417b8a
mov eax, edi
jmp 0x417b8e
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x417bc3
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 8]
push eax
call fcn.004196d0
test al, al
je 0x417bad
mov esi, dword [esi]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
jmp 0x417b82
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004196d0
test al, al
mov ecx, edi
cmove ecx, esi
jmp 0x417bc5
mov ecx, edi
cmp ecx, edi
je 0x417c07
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041a670
mov eax, dword [ebp - 0x38]
mov esi, dword [eax + 0x20]
mov edi, dword [eax + 0x24]
cmp esi, edi
je 0x417c04
mov ebx, dword [ebp - 0x3c]
nop dword [eax]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x417c57
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
add esi, 0x28
cmp esi, edi
jne 0x417bf0
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x417c36
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x417c2c
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417c52
push ecx
push ebx
call fcn.0042de60
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d815
mov esp, ebp
pop ebp
ret
call fcn.0050d85e
call fcn.00428427
int3
Function at 0x419390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x71a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x419431
cmp byte [esi + 0x3d], 0
je 0x419431
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4193e7
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4193f9
sub eax, 1
je 0x4193fd
sub eax, 2
je 0x419431
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d815
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41941a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00511c57
add esp, 0x10
cmp edi, eax
jne 0x4193e7
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d815
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0042d815
mov esp, ebp
pop ebp
ret

Function at 0x4197c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6771a0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x71a06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x6932c8
call fcn.0042de91
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00428965
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret