joyce8/EMBER2024-capa huggingface dataset:
Function at 0x490630
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x94
push 0xffffffffffffffff
push 0x50f3e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.restart.hzt
lea ecx, [ebp + 0x48]
call fcn.0040a850
mov dword [ebp - 4], 0
lea eax, [ebp + 0x48]
push eax
lea eax, [ebx + 4]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x48]
call fcn.0040a7c0
lea eax, [ebp + 0x78]
push eax
call fcn.00413fc0
add esp, 4
test al, al
je 0x4907fe
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.0048f690
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x78]
call fcn.0041bd50
lea ecx, [ebp + 0x60]
call fcn.0040a730
test al, al
jne 0x4907f2
lea ecx, [ebp - 0x18]
call fcn.0040a0e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x60]
push 0x3b
push eax
call fcn.00420ff0
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00402fb0
mov edx, eax
call fcn.0040a980
mov ecx, dword [edx]
cmp ecx, dword [eax]
je 0x4907e6
lea ecx, [ebp - 0x18]
call fcn.00402fb0
mov edi, eax
push str.EXIT
mov esi, dword [edi]
mov ecx, esi
call fcn.0040c060
test al, al
jne 0x4907e6
mov edx, 0x52e200
mov ecx, esi
call fcn.0040b840
test al, al
jne 0x4907e6
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00490c50
lea ecx, [ebp - 0x18]
call fcn.0040bfc0
cmp eax, 3
jne 0x4907e6
push dword [edi]
lea ecx, [ebp]
call fcn.0040a8b0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x18]
mov eax, dword [edi]
add eax, 0x18
push eax
call fcn.0040a8b0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x30]
mov eax, dword [edi]
add eax, 0x30
push eax
call fcn.0040a8b0
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x18]
push 1
call fcn.0040a750
push eax
lea ecx, [ebp + 0x30]
call fcn.0040a750
push eax
lea ecx, [ebp]
call fcn.0040a750
push eax
push str.open
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x30]
call fcn.0040a7c0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x18]
call fcn.0040a7c0
mov byte [ebp - 4], 4
lea ecx, [ebp]
call fcn.0040a7c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0040a5c0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x60]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x78]
call fcn.0040a7c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.004d6fd3
lea esp, [ebp + 0x94]
pop ebp
ret
Function at 0x490a20
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f4ce
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5500a4]
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 esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
call fcn.00490170
push str.download
lea ecx, [ebp - 0x40]
call fcn.0040a850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
lea eax, [esi + 4]
push ecx
push eax
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x70]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
lea eax, [ebp - 0x70]
push eax
call fcn.00413fc0
add esp, 4
test al, al
jne 0x490ab8
lea ecx, [ebp - 0x70]
call fcn.00414980
test al, al
jne 0x490ab8
xor bl, bl
jmp 0x490c1e
lea ecx, [ebp - 0x40]
call fcn.0040a890
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.00415df0
add esp, 8
test al, al
jne 0x490adc
xor bl, bl
jmp 0x490c12
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push 0
call fcn.0040a750
push eax
mov ecx, ebx
call fcn.0040a750
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x490b18
xor bl, bl
jmp 0x490c06
lea ecx, [ebp - 0x28]
call fcn.0040a890
mov byte [ebp - 4], 5
push str.DELETE
call fcn.0040acf0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push str.DELETE
call fcn.0040ab90
push 0x3b
lea ecx, [ebp - 0x28]
call fcn.004136c0
lea ecx, [ebp - 0x58]
call fcn.00402fb0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x490b5b
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040c160
push 0x3b
lea ecx, [ebp - 0x28]
call fcn.004136c0
push str.startup.hzt
lea ecx, [ebp - 0x88]
call fcn.0040a850
mov byte [ebp - 4], 6
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00418310
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0040a7c0
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0048f380
test al, al
jne 0x490bc8
xor bl, bl
jmp 0x490beb
lea ecx, [ebp - 0x58]
call fcn.00402fb0
cmp edi, eax
je 0x490be9
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x490bde
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.0040ab90
mov bl, 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.0040a7c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0040a7c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0040a7c0
mov al, bl
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.004d6fd3
mov esp, ebp
pop ebp
ret 8
Function at 0x491400
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f780
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5500a4]
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 esi, ecx
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.004b5e40
lea ebx, [esi + 0x24]
push str..bak
lea eax, [ebp - 0x70]
mov dword [ebp - 0x7c], ebx
push ebx
push eax
call fcn.004153e0
add esp, 0xc
mov esi, eax
mov dword [ebp - 4], 0
mov ecx, esi
push 0xb
call fcn.0040a750
push eax
mov ecx, ebx
call fcn.0040a750
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x49147b
mov bl, 1
jmp 0x491585
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x71], 0
call fcn.0040a890
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
mov ecx, ebx
call fcn.0041c200
movzx ecx, byte [ebp - 0x71]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x40]
call fcn.0040a890
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0041c200
test al, al
jne 0x4914c5
cmp byte [ebp - 0x78], al
je 0x491502
push 0xb
lea ecx, [ebp - 0x40]
call fcn.0040a750
push eax
lea ecx, [ebp - 0x58]
call fcn.0040a750
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x491502
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0040a7c0
mov bl, 1
jmp 0x491585
mov ecx, esi
call fcn.0041bba0
cmp eax, 0xffffffff
je 0x49156b
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a8b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0041bfc0
test al, al
je 0x49155f
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041bc40
test al, al
je 0x49155f
mov edx, esi
mov ecx, ebx
call fcn.0041bc40
lea ecx, [ebp - 0x28]
test al, al
je 0x491558
call fcn.0041bd50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
jmp 0x4914e3
mov edx, esi
call fcn.0041bc40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0040a7c0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0040a7c0
test bl, bl
je 0x4915b6
mov ecx, edi
call fcn.004b62f0
push 1
push dword [ebp - 0x7c]
mov ecx, edi
call fcn.004b5c00
mov ecx, edi
call fcn.004b5e40
mov al, 1
jmp 0x4915b8
xor al, al
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.004d6fd3
mov esp, ebp
pop ebp
ret
Function at 0x4922c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fa48
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5500a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x18]
call fcn.0040a0e0
mov dword [ebp - 4], 0
mov edx, ecx
mov ecx, esi
call fcn.00416bc0
lea ecx, [ebp - 0x18]
call fcn.00402fb0
mov edx, eax
call fcn.0040a980
mov ecx, dword [edx]
cmp ecx, dword [eax]
lea ecx, [ebp - 0x18]
setne bh
xor edi, edi
call fcn.0040a5d0
test eax, eax
je 0x4923a1
lea ecx, [ebp - 0x18]
call fcn.00402fb0
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
mov esi, dword [eax + edi*4]
test esi, esi
jne 0x492340
xor bl, bl
jmp 0x49238f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor bl, bl
cmp eax, esi
je 0x49238f
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x49238f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, esi
je 0x492388
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test eax, eax
je 0x492388
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
and bh, bl
inc edi
call fcn.0040a5d0
mov ecx, dword [ebp - 0x1c]
cmp edi, eax
jb 0x492333
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040a5e0
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x493d40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ffba
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.00493e70
add esp, 8
mov dword [ebp - 4], 1
lea edx, [ebp - 0x234]
push edx
call fcn.004140d0
add esp, 4
movzx eax, al
test eax, eax
jne 0x493dd5
push 0x528a44
mov ecx, dword [ebp + 8]
call fcn.0040a850
mov ecx, dword [ebp - 0x238]
or ecx, 1
mov dword [ebp - 0x238], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040a7c0
mov eax, dword [ebp + 8]
jmp 0x493e48
push 0x20a
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.004d98b0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.0040a750
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x528a44
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040a850
mov edx, dword [ebp - 0x238]
or edx, 1
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040a7c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6fd3
mov esp, ebp
pop ebp
ret
Function at 0x4adf40
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4adf4b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004adf60
Function at 0x4af9d0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x5127a2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x4afa14
call fcn.004afb60
cmp byte [0x5530c4], 0
jne 0x4afa27
mov eax, 0x80000001
jmp 0x4afb3c
mov eax, dword [esi]
test eax, eax
jne 0x4afa92
push 8
call fcn.004d6fe4
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
push 1
call fcn.004d6fe4
mov dword [edi + 4], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp + 4]
push eax
call fcn.004d98b0
add esp, 0x14
mov dword [ebp], 0x11c
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4afa81
cmp dword [ebp + 4], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x4afb2b
call fcn.0041cdf0
test al, al
jne 0x4afacc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.0041d330
test al, al
je 0x4afb2b
mov ecx, dword [esi]
add ecx, 4
call fcn.0041c950
call fcn.0041cdf0
test al, al
je 0x4afb2b
push str.Advapi32.dll
lea ecx, [ebp - 0x28]
call fcn.0040a850
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.0041a7c0
mov ecx, eax
call fcn.0041a880
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
test edi, edi
je 0x4afb2b
push 0x52fa84
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4afb2b
push dword [esi]
push dword [ebp + 0x128]
call eax
test eax, eax
je 0x4afb2b
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x4afb3a
mov dword [eax], 0x80000001
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.004d6fd3
lea esp, [ebp + 0x120]
pop ebp
ret 4
Function at 0x4afdd0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x628]
sub esp, 0x628
push 0xffffffffffffffff
push 0x512850
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp + 0x624], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x630]
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp + 0x634]
call fcn.0040a890
mov dword [ebp - 4], 0
lea ecx, [ebp]
push 0x553158
mov dword [ebp], 0
call fcn.0040eb00
mov byte [ebp - 4], 1
mov ecx, 0x553134
call fcn.0040a730
test al, al
jne 0x4afe7e
mov ecx, 0x553134
call fcn.00402fb0
lea ecx, [ebp - 0x24]
cmp ecx, eax
je 0x4aff33
mov ecx, 0x553134
call fcn.00402fb0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4afe75
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x4aff2b
push 0x20c
lea eax, [ebp + 0x418]
push 0
push eax
call fcn.004d98b0
add esp, 0xc
lea eax, [ebp + 0x418]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x4affbd
xor eax, eax
push 0x412
push eax
mov word [ebp + 0x622], ax
lea eax, [ebp + 4]
push eax
call fcn.004d98b0
add esp, 0xc
lea eax, [ebp + 4]
push 0x208
push eax
lea eax, [ebp + 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x4aff14
test eax, eax
je 0x4aff14
add eax, eax
cmp eax, 0x412
jae 0x4b0001
xor ecx, ecx
mov word [ebp + eax + 4], cx
lea eax, [ebp + 4]
push eax
call fcn.0040acf0
add esp, 4
push eax
lea eax, [ebp + 4]
jmp 0x4aff2a
lea eax, [ebp + 0x418]
push eax
call fcn.0040acf0
add esp, 4
push eax
lea eax, [ebp + 0x418]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040ab90
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.0040eb20
push ebx
push edi
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.004afd60
test al, al
je 0x4aff54
mov bl, 1
jmp 0x4affcb
push 0x20c
lea eax, [ebp + 0x418]
push 0
push eax
call fcn.004d98b0
add esp, 0xc
lea eax, [ebp + 0x418]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x4affc9
xor eax, eax
mov word [ebp + 0x622], ax
lea eax, [ebp + 0x418]
push eax
call fcn.0040acf0
add esp, 4
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp + 0x418]
push eax
call fcn.0040ab90
push ebx
push edi
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.004afd60
mov bl, al
jmp 0x4affcb
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.0040eb20
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040a7c0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x624]
xor ecx, ebp
call fcn.004d6fd3
lea esp, [ebp + 0x628]
pop ebp
ret 8
call fcn.004d7688
int3
Function at 0x4b20f0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512c84
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5500a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0040a890
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.0040a890
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.0040a890
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.0040a890
mov byte [ebp - 4], 3
lea ecx, [esi + 0x70]
mov word [esi + 0x60], 0x101
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
call fcn.0040a890
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4b4e70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5130c8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
call fcn.004b4420
test al, al
jne 0x4b4edf
xor bl, bl
jmp 0x4b5043
lea ecx, [ebp - 0x5c]
call fcn.004b26b0
mov byte [ebp - 4], 1
add esi, 0x24
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x4b4f1c
push esi
lea ecx, [ebp - 0x5c]
call fcn.004b6520
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x50]
call fcn.004b6520
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x44]
call fcn.004b6520
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004b3bb0
test al, al
jne 0x4b4f34
xor bl, bl
jmp 0x4b5037
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x5c]
call fcn.004b3240
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x4b5029
mov ecx, edi
call fcn.0041b9e0
test al, al
je 0x4b5029
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x24]
sub ecx, eax
push edx
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x18], 0
call fcn.0041b820
test al, al
je 0x4b5029
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cmp dword [ebp - 0x18], eax
jne 0x4b5029
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
sub esi, ebx
mov eax, dword [edi]
mov dword [ebp - 0x34], esi
test eax, eax
je 0x4b5029
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x4b5029
push 0
lea ecx, [ebp - 0x18]
push ecx
push 4
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4b5029
cmp dword [ebp - 0x18], 4
jne 0x4b5029
cmp ebx, dword [ebp - 0x2c]
je 0x4b5001
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
push esi
push ebx
call fcn.0041b820
test al, al
je 0x4b5029
cmp dword [ebp - 0x18], esi
jne 0x4b5029
lea eax, [ebp - 0x64]
xorps xmm0, xmm0
push eax
mov ecx, edi
movlpd qword [ebp - 0x64], xmm0
call fcn.0041b8a0
test al, al
je 0x4b5025
push dword [ebp - 0x60]
mov ecx, edi
push dword [ebp - 0x64]
call fcn.0041ba30
mov bl, 1
jmp 0x4b502b
xor bl, bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0041a0f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.004b52e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0041a0f0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d6fd3
mov esp, ebp
pop ebp
ret 4
Function at 0x4b5190
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513148
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5500a4]
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 eax, dword [ebp + 8]
mov ecx, eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push 0x80
push dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
push dword [ebp + 0x14]
push esi
push edi
call fcn.0041b6f0
mov bl, al
test bl, bl
jne 0x4b52bb
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, 0x50000000
je 0x4b526e
call eax
cmp eax, 5
jne 0x4b5269
push 0x80
mov ecx, edi
call fcn.0040a750
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
call ebx
test eax, eax
jne 0x4b524e
lea ecx, [ebp - 0x28]
call fcn.0040a890
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0041c200
test al, al
je 0x4b523f
push 0x80
lea ecx, [ebp - 0x28]
call fcn.0040a750
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
mov ecx, dword [ebp - 0x2c]
push 0x80
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push edi
call fcn.0041b6f0
mov bl, al
test bl, bl
jne 0x4b52bb
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
cmp eax, 0x21
je 0x4b527a
cmp eax, 0x20
jne 0x4b52bb
xor esi, esi
nop dword [eax]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x2c]
push 0x80
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.0041b6f0
mov bl, al
test bl, bl
jne 0x4b52bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
je 0x4b52b5
cmp eax, 0x20
jne 0x4b52bb
inc esi
cmp esi, 0x28
jb 0x4b5280
mov al, bl
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.004d6fd3
mov esp, ebp
pop ebp
ret 0x18