joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4064ac
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
call fcn.004058dc
test eax, eax
je 0x4064d2
test ebx, ebx
je 0x4064d2
cmp word [ebx], 0
je 0x4064d2
push 0
push ebx
call sub.KERNEL32.DLL_CreateDirectoryW
jmp 0x4064da
push 0
push esi
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x4064ed
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.004066b4
xor eax, eax
jmp 0x406508
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
je 0x4064fc
cmp eax, 3
jne 0x406503
mov eax, 2
jmp 0x406508
mov eax, 1
pop edi
pop esi
pop ebx
ret

Function at 0x406654
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
call fcn.004058dc
test eax, eax
je 0x40667f
test ebx, ebx
je 0x40667f
cmp word [ebx], 0
je 0x40667f
push ebx
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
setne al
and eax, 1
pop esi
pop ebx
ret
push esi
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
setne al
and eax, 1
pop esi
pop ebx
ret

Function at 0x4066b4
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
call fcn.004058dc
test eax, eax
je 0x4066e1
test ebx, ebx
je 0x4066e1
cmp word [ebx], 0
je 0x4066e1
push esi
push ebx
call sub.KERNEL32.DLL_SetFileAttributesW
test eax, eax
setne al
and eax, 1
jmp 0x4066f0
push esi
push edi
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
setne al
and eax, 1
pop edi
pop esi
pop ebx
ret

Function at 0x407cd8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, 0x411f78
push edi
push ebp
mov ebp, edx
cmp dword [esi + 4], 0
mov edi, ecx
mov ebx, eax
jne 0x407cf2
call fcn.00407ca0
mov eax, ebp
cmp edi, 8
jb 0x407d7d
xor ebx, dword [eax]
xor edx, edx
mov dl, bl
sub edi, 8
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
xor ebx, dword [eax + 4]
add eax, 8
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
cmp edi, 8
mov ebx, ecx
jae 0x407cfd
xor edx, edx
jmp 0x407d97
mov ecx, ebx
xor cl, byte [eax + edx]
and ecx, 0xff
shr ebx, 8
mov ecx, dword [esi + ecx*4]
xor ecx, ebx
mov ebx, ecx
inc edx
cmp edi, edx
ja 0x407d81
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40a52c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
push esi
push edi
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebx + 0xc18], eax
mov edi, ecx
cmp byte [ebp + 8], 0
mov esi, 0x80000000
je 0x40a555
or esi, 0x40000000
mov dword [ebp - 8], 1
cmp byte [ebx + 0x12], 0
jne 0x40a568
cmp byte [ebp + 0xc], 0
je 0x40a56c
or dword [ebp - 8], 2
call fcn.004058dc
test eax, eax
je 0x40a598
test edi, edi
je 0x40a598
cmp word [edi], 0
je 0x40a598
push 0
push 0x8000000
push 3
push 0
push dword [ebp - 8]
push esi
push edi
call sub.KERNEL32.DLL_CreateFileW
mov esi, eax
jmp 0x40a5b1
push 0
push 0x8000000
push 3
push 0
push dword [ebp - 8]
push esi
push dword [ebp - 4]
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x40a5ca
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
jne 0x40a5ca
mov dword [ebx + 0xc18], 1
xor eax, eax
cmp esi, 0xffffffff
mov byte [ebx + 0x13], 0
setne dl
mov dword [ebx + 0xc], eax
and edx, 1
mov byte [ebx + 0x10], 0
mov byte [ebp - 9], dl
cmp byte [ebp - 9], 0
je 0x40a608
mov dword [ebx + 4], esi
test edi, edi
je 0x40a5fd
lea eax, [ebx + 0x416]
mov edx, edi
call fcn.0040bccc
lea eax, [ebx + 0x15]
mov edx, dword [ebp - 4]
call fcn.0040b5c4
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40a750
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0xc], 0
jne 0x40a75f
cmp byte [ebx + 0x14], 0
jne 0x40a763
xor eax, eax
pop ebx
ret
cmp dword [ebx + 4], 0xffffffff
je 0x40a770
mov eax, ebx
call fcn.0040a6e4
call fcn.004058dc
test eax, eax
je 0x40a799
cmp word [ebx + 0x416], 0
je 0x40a799
add ebx, 0x416
push ebx
call sub.KERNEL32.DLL_DeleteFileW
test eax, eax
setne al
and eax, 1
jmp 0x40a7aa
add ebx, 0x15
push ebx
call sub.KERNEL32.DLL_DeleteFileA
test eax, eax
setne al
and eax, 1
pop ebx
ret
Function at 0x40a7ac
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, ecx
test esi, esi
mov edi, eax
mov dword [esp], edx
je 0x40a88d
mov eax, dword [edi + 0xc]
test eax, eax
je 0x40a7e7
dec eax
je 0x40a7d1
dec eax
je 0x40a7dd
jmp 0x40a7e7
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
jmp 0x40a7e7
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
cmp dword [edi + 0xc], 0
je 0x40a839
xor ebp, ebp
cmp esi, ebp
jle 0x40a855
push 0
lea eax, [esp + 8]
push eax
mov edx, esi
sub edx, ebp
cmp edx, 0x4000
jge 0x40a80c
mov ecx, esi
sub ecx, ebp
jmp 0x40a811
mov ecx, 0x4000
push ecx
mov eax, dword [esp + 0xc]
add eax, ebp
push eax
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
je 0x40a855
add ebp, 0x4000
cmp esi, ebp
jg 0x40a7f3
jmp 0x40a855
push 0
lea eax, [esp + 8]
push eax
push esi
push dword [esp + 0xc]
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
jne 0x40a889
cmp dword [edi + 0xc], 0
jne 0x40a889
lea ebp, [edi + 0x15]
mov eax, 0x4123b8
mov edx, ebp
call fcn.0040912c
test al, al
jne 0x40a7e7
mov edx, ebp
mov eax, 0x4123b8
call fcn.004090fc
jmp 0x40a889
mov byte [edi + 8], 1
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40a964
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
push ecx
mov edi, edx
cmp dword [ebx + 0xc], 1
mov esi, ecx
jne 0x40a98b
cmp esi, 0x4e20
jle 0x40a981
mov esi, 0x4e20
push 0xfffffffffffffff6
call sub.KERNEL32.DLL_GetStdHandle
mov dword [ebx + 4], eax
push 0
lea eax, [esp + 4]
push eax
push esi
push edi
push dword [ebx + 4]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x40a9dc
mov eax, ebx
call fcn.0040ab94
test al, al
je 0x40a9c3
cmp esi, 0x4e20
jle 0x40a9c3
mov ecx, 0x4e20
mov edx, edi
mov eax, ebx
call fcn.0040a964
jmp 0x40a9df
cmp dword [ebx + 0xc], 1
jne 0x40a9d7
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x6d
jne 0x40a9d7
xor eax, eax
jmp 0x40a9df
or eax, 0xffffffff
jmp 0x40a9df
mov eax, dword [esp]
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bbe0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x410938], 0
jne 0x40bbf9
call fcn.0040b764
mov dword [0x410934], eax
inc byte [0x410938]
call fcn.0040b764
sub eax, dword [0x410934]
cmp eax, 0x64
jle 0x40bc35
cmp dword [0x410ab8], 0
je 0x40bc30
mov eax, 0x4123b8
mov edx, 0xff
call fcn.00409244
mov eax, 0x4123b8
mov edx, 0xff
call fcn.0040923c
call fcn.00402674
ret
Function at 0x25807297
Capabilities:
Print debug messages

Disassembly:
push 0x1c
mov eax, 0x2581bb95
call fcn.2581acc1
mov eax, dword fs:[0x2c]
xor ebx, ebx
mov ecx, dword [0x25824498]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x25823cc0]
cmp eax, dword [ecx + 4]
jg 0x25807364
cmp byte [0x25823cbc], 0
je 0x2580735e
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
call fcn.25817b45
push 1
lea esi, [eax + 6]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x2580735e
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
push esi
push edi
call fcn.25817b45
add esp, 0x14
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
push str._nEFS:TMS:
call fcn.2580cd40
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.2580cca0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, 0x10
jb 0x2580735e
inc eax
push eax
push dword [ebp - 0x28]
call fcn.25817b45
pop ecx
pop ecx
call fcn.2581acb0
ret
mov edi, 0x25823cc0
push edi
call fcn.25817b45
cmp dword [0x25823cc0], 0xffffffff
pop ecx
jne 0x258072c5
mov eax, dword [0x25823df0]
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x2581d220]
call esi
test al, al
je 0x258073c2
mov eax, dword [0x258240cc]
push ebx
push str.enableTMSLogging
push 0x2581db80
mov esi, dword [eax + 0x5a8]
mov ecx, esi
call dword [0x2581d220]
call esi
add esp, 0xc
test ax, ax
mov al, 1
jne 0x258073c6
jmp 0x258073c2
mov al, bl
jmp 0x258073c6
or dword [ebp - 4], 0xffffffff
push edi
mov byte [0x25823cbc], al
call fcn.25817b45
pop ecx
jmp 0x258072c5
Function at 0x25817b45
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x25817b54
pop dword [ebp - 0x20]
mov eax, 0xbcc4da0c
sub eax, 0x97435eb8
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x59f9567a
sub dword [ebp - 0x30], 0xba7112f
mov dword [ebp - 0x2c], 0x32328cc6
sub dword [ebp - 0x2c], 0xffff4081
mov dword [ebp - 0x28], 0x7d83484a
add dword [ebp - 0x28], 0xcec8fbe4
mov dword [ebp - 0x24], 0x7f736f2
add dword [ebp - 0x24], 0xf808c90e
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x3fa66fbf
add dword [ebp - 0x30], 0x34cbf997
mov dword [ebp - 0x2c], 0x9c7de4ac
sub dword [ebp - 0x2c], 0x5b118337
mov dword [ebp - 0x28], 0xbf81431b
add dword [ebp - 0x28], 0xa3ee2951
mov dword [ebp - 0x24], 0x9e9aa72e
sub dword [ebp - 0x24], 0x9e9aa72e
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x8d83ae41
add eax, 0x97fe223f
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3a0c8
push 0
call eax
mov ecx, 0x3d99
xor ebx, ebx
add ebx, eax
mov esi, 0x54b61429
add esi, 0xd0cc81d7
add esi, dword [ebp - 0x20]
mov edx, 0xc36fa88
add edx, 0xd32fcf7d
xor dword [ebp - 8], 0x7db29df5
mov edi, dword [esi]
sub edi, edx
mov dword [ebp - 0xc], 0x7ce6701f
mov dword [ebx], edi
add ebx, 4
add esi, 4
loop 0x25817c6d
add eax, 0xf8a71225
sub eax, 0xf8a628ee
mov ebx, eax
add eax, 0x1b9a117c
sub eax, 0x1b9a1177
mov ecx, 0x8b0f3104
sub ecx, 0x658f3104
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420004]
jne 0x40100a
repz ret
jmp fcn.0040164f

Function at 0x4071e4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420004]
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.0040401f
and dword [ebp - 0x14], 0
cmp dword [0x422da4], 0
mov dword [ebp - 0x18], eax
jne 0x407297
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40733f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40733f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x422da4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x422da8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x422dac], eax
call edi
push eax
call esi
mov dword [0x422db4], eax
test eax, eax
je 0x407297
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x422db0], eax
mov eax, dword [0x422db0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4072f0
cmp dword [0x422db4], ecx
je 0x4072f0
push eax
call esi
push dword [0x422db4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4072f0
test ebx, ebx
je 0x4072f0
call edi
test eax, eax
je 0x4072e7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4072e7
test byte [ebp - 8], 1
jne 0x4072f0
or dword [ebp + 0x10], 0x200000
jmp 0x407323
mov eax, dword [0x422da8]
cmp eax, dword [ebp - 0x18]
je 0x407323
push eax
call esi
test eax, eax
je 0x407323
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407323
mov eax, dword [0x422dac]
cmp eax, dword [ebp - 0x18]
je 0x407323
push eax
call esi
test eax, eax
je 0x407323
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x422da4]
call esi
test eax, eax
je 0x40733f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407341
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x41ba30
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x408
mov eax, dword [0x420004]
xor eax, esp
mov dword [esp + 0x404], eax
cmp dword [0x22c5eac], 0xfc7
jne 0x41ba5f
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x4232c4]
imul eax, eax, 0x343fd
cmp dword [0x22c5eac], 0x139e
mov dword [0x4232c4], eax
jne 0x41ba8e
mov ecx, dword [esp]
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x4232c4]
add eax, 0x269ec3
push esi
mov dword [0x4232c4], eax
movzx esi, word [0x4232c6]
and esi, 0x7fff
cmp dword [0x22c5eac], 0x8e7
jne 0x41bac3
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ecx, dword [esp + 0x408]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x408
ret

Function at 0x41bb90
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x420004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x421200]
push ebx
mov ebx, dword [0x22c5850]
push edi
mov edi, dword [0x22c5eac]
call fcn.0041bae0
cmp dword [0x22c5eac], 0x2f
jne 0x41bbf5
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.0041bb10
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x24
ret
Function at 0x41bed0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.00409160
mov eax, dword [0x420004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x41bef9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x41bf9f
cmp dword [0x22c5eac], 0xa5f
jne 0x41bf43
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push 0x41ec7c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x84526b
jne 0x41bf68
mov eax, dword [0x422020]
mov dword [0x22c5eac], eax
mov ecx, dword [0x22c5eac]
add ecx, 0xa231
mov dword [0x22c5eac], ecx
cmp dword [0x22c5eac], 0x141
jne 0x41bf9a
push str.durudaxo_payuyafelamelokeyir_tacadasevow_kipazoci_kanorowawacasolicalotija
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x4232c8], 0xec58acac
mov dword [0x4232cc], 0xffffffff
jmp 0x41bef0
call fcn.0041bc10
jmp dword [0x22c5850]
Function at 0x1000cac3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, dword [0x100139e8]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 8], edi
mov esi, dword [eax + esi*4]
mov eax, dword [0x10013e80]
cmp eax, dword [esi + 4]
jg 0x1000cb78
lea eax, [ebx + edi]
cmp eax, ebx
ja 0x1000cb01
mov eax, 0x10dd
jmp 0x1000cb71
mov eax, dword [0x10013e7c]
cmp edi, eax
jbe 0x1000cb0f
push 0x32
pop eax
jmp 0x1000cb71
mov edi, dword [ebp + 8]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
lea esi, [eax - 1]
push ecx
not esi
push dword [edi]
and esi, ebx
push eax
push esi
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x1000cb37
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x1000cb71
mov ecx, dword [0x10013e7c]
mov eax, dword [ebp - 8]
dec ecx
mov edx, dword [ebp - 4]
dec eax
add eax, ebx
mov dword [edi], edx
not ecx
and ecx, eax
cmp ecx, esi
je 0x1000cb6c
lea eax, [ebp - 4]
push eax
push dword [edi + 4]
push dword [0x10013e7c]
push ecx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x1000cb2f
mov edx, dword [ebp - 4]
mov dword [edi + 4], edx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
mov esi, 0x10013e80
push esi
call fcn.1000cd54
cmp dword [0x10013e80], 0xffffffff
pop ecx
jne 0x1000caf3
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x28]
push esi
mov dword [0x10013e7c], eax
call fcn.1000cd54
mov edi, dword [ebp - 8]
pop ecx
jmp 0x1000caf3

Function at 0x1000cd54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000cd63
pop dword [ebp - 0x24]
mov eax, 0xe16a6b26
sub eax, 0xd1699dc3
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x3bf5b
push 0
mov eax, 0xe4f3b58c
sub eax, 0xd4f27528
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x53cd
xor esi, esi
add esi, eax
mov edi, 0x10018600
add edi, dword [ebp - 0x24]
mov ebx, 0xedaf4e73
sub ebx, 0x2a1750b9
mov dword [ebp - 0x1c], 0xe3a2c011
mov edx, dword [edi]
add dword [ebp - 0x10], ebx
add edx, ebx
xor dword [ebp - 0x14], 0x94a85e9a
mov dword [esi], edx
add dword [ebp - 0x14], edx
add esi, 0x2ae9fe4e
add esi, 0xd51601b6
add edi, 0xd2cbd8ac
add edi, 0x2d342758
loop 0x1000cdb8
add eax, 0x7fa1315e
add eax, 0x806010a9
mov ebx, eax
add eax, 0x438f71ca
add eax, 0xbc708e3b
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x43ee8b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4c57a3
call fcn.004b48a4
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x50]
call fcn.004029db
mov edi, 0x7b4
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [esi], 0x4d3530
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 3
mov dword [esi + 0x3c], 0x400
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
call fcn.004b4894
push edi
push ebx
push eax
mov dword [esi + 0x4c], eax
call fcn.004b48bc
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44630c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4c5c30
call fcn.004b48a4
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
call fcn.00470327
lea eax, [ebp - 0xd]
xor ebx, ebx
push eax
push 0x2d
mov byte [esi + 0xe0], 1
push 1
lea ecx, [ebp - 0x20]
mov dword [esi + 0xe4], ebx
mov byte [esi + 0xe8], bl
mov byte [esi + 0xe9], bl
call fcn.0044a4bd
mov edi, 0x4cf4c4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x100]
push eax
mov dword [ebp - 4], ebx
call fcn.00402d70
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
neg ecx
sbb ecx, ecx
lea eax, [ebp - 0x20]
and ecx, eax
mov dword [ebp - 0x24], edi
call fcn.0040204f
or dword [esi + 0x170], 0xffffffff
or dword [esi + 0x12c], 0xffffffff
lea eax, [esi + 0x188]
mov dword [esi + 0x114], 5
mov dword [esi + 0x118], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x130], 0x4000
mov dword [esi + 0x1e8], ebx
mov byte [esi + 0x1ec], bl
mov dword [esi + 0x174], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0x198]
mov ecx, esi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov eax, 0xff
mov dword [esi + 0xd8], ebx
push eax
push eax
push eax
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0x168], ebx
call fcn.0044234b
mov eax, dword [esi + 0xa4]
lea edi, [esi + 0xa4]
push ebx
mov ecx, edi
call dword [eax + 0x30]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x30]
mov eax, dword [edi]
push 2
mov ecx, edi
call dword [eax + 0x30]
mov eax, dword [edi]
push 3
mov ecx, edi
call dword [eax + 0x30]
mov eax, dword [edi]
push 4
mov ecx, edi
call dword [eax + 0x30]
mov eax, dword [edi]
push 5
mov ecx, edi
call dword [eax + 0x30]
push 2
lea ecx, [esi + 0x1a8]
call fcn.00475a65
mov eax, dword [esi + 0x1f0]
lea ecx, [esi + 0x1f0]
push esi
push 0x4467e5
mov dword [esi + 0x1e4], 0x3e8
mov dword [esi + 0x1e0], 0x1f4
call dword [eax + 0x24]
mov eax, dword [esi + 0x210]
lea ecx, [esi + 0x210]
push esi
push 0x449cda
call dword [eax + 0x24]
mov eax, dword [edi]
push dword [ebp + 8]
mov ecx, edi
call dword [eax + 0xd4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x46a805
Capabilities:
Access peb ldr_data

Disassembly:
add edx, eax
add al, 0
mov eax, 0x4c7a07
call fcn.004b48a4
push ecx
push esi
mov esi, ecx
push edi
push 0x20
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4d7954
call fcn.00402068
mov dword [esi + 4], eax
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.00402068
mov dword [esi + 8], eax
mov dword [eax], eax
mov eax, dword [esi + 8]
pop ecx
pop ecx
mov dword [eax + 4], eax
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.0046b4cb
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov byte [esi + 0x2c], 1
call fcn.004029db
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 4
call fcn.004029db
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x4d7900
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret