joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ed80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x41ed98
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x41eda0
mov al, 1
jmp 0x41edbd
movzx esi, word [ebp]
mov eax, esi
call fcn.00410814
test al, al
jne 0x41edb9
cmp si, 0x5f
je 0x41edb9
xor eax, eax
jmp 0x41edbb
mov al, 1
xor al, 1
test al, al
jne 0x41ee4d
test bl, bl
je 0x41ee0d
mov eax, ebp
test eax, eax
je 0x41edd4
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41ee49
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.004108a0
test al, al
jne 0x41ee01
cmp di, 0x5f
je 0x41ee01
cmp di, 0x2e
je 0x41ee01
xor eax, eax
jmp 0x41ee03
mov al, 1
test al, al
je 0x41ee4d
inc esi
dec ebx
jne 0x41ede1
jmp 0x41ee49
mov eax, ebp
test eax, eax
je 0x41ee18
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41ee49
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.004108a0
test al, al
jne 0x41ee3f
cmp di, 0x5f
je 0x41ee3f
xor eax, eax
jmp 0x41ee41
mov al, 1
test al, al
je 0x41ee4d
inc esi
dec ebx
jne 0x41ee25
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41f8cc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x41fa00
push dword fs:[eax]
mov dword fs:[eax], esp
movzx ebx, byte [0x41fa10]
mov dl, 1
mov eax, esi
call fcn.0041fb94
test al, al
jne 0x41f91d
mov dl, 1
mov eax, esi
call fcn.0041fafc
test al, al
je 0x41f9b3
lea edx, [ebp - 0x424]
mov eax, esi
call fcn.00420324
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 4]
call fcn.004267f4
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 4]
call fcn.00408ac4
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x41f9ae
test byte [ebp - 0xc], 1
je 0x41f979
or bl, 1
test byte [ebp - 0xc], 2
je 0x41f982
or bl, 2
test byte [ebp - 0xc], 0x80
je 0x41f98b
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x41f99f
dec eax
je 0x41f9a4
dec eax
je 0x41f9a9
dec eax
jne 0x41f9da
or bl, 0x10
jmp 0x41f9da
or bl, 4
jmp 0x41f9da
or bl, 8
jmp 0x41f9da
call fcn.00427198
lea edx, [ebp - 0x428]
mov eax, dword [0x536098]
call fcn.0040bdbc
mov ecx, dword [ebp - 0x428]
mov dl, 1
mov eax, dword [0x41ac6c]
call fcn.00425318
call fcn.00407328
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fa07
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00407c90
lea eax, [ebp - 4]
call fcn.00407c30
ret
Function at 0x41fafc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00408ac4
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41fb66
test ah, 4
je 0x41fb5f
test bl, bl
jne 0x41fb24
mov al, 1
jmp 0x41fb8d
test al, 0x10
je 0x41fb2c
xor eax, eax
jmp 0x41fb8d
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41fb50
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x41fb8d
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41fb8d
test al, 0x10
sete al
jmp 0x41fb8d
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x41fb87
cmp ebx, 3
je 0x41fb87
cmp ebx, 0x7b
je 0x41fb87
mov eax, esi
call fcn.0041fabc
test al, al
jne 0x41fb8b
xor eax, eax
jmp 0x41fb8d
mov al, 1
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.00408ac4
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41fc3b
test esi, 0x400
jne 0x41fbd0
test esi, 0x10
setne bl
jmp 0x41fc5a
cmp byte [esp], 0
je 0x41fc04
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41fc5a
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41fc5a
test esi, 0x10
je 0x41fc10
mov bl, 1
jmp 0x41fc5a
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41fc37
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41fc5a
mov bl, 1
jmp 0x41fc5a
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x41fc54
cmp eax, 3
je 0x41fc54
cmp eax, 0x7b
je 0x41fc54
cmp eax, 0x35
jne 0x41fc58
xor ebx, ebx
jmp 0x41fc5a
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41fdc4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x41fe69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00408ac4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x41fe4e
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.0041e3b4
test al, al
je 0x41fe4e
mov eax, dword [ebp - 4]
call fcn.00420508
test al, al
je 0x41fe3e
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00420288
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004267f4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00408d20
mov eax, dword [ebp - 4]
call fcn.00408ac4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fe70
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407c90
ret
Function at 0x41fe7c
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41ff4f
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408058
cmp byte [ebp - 9], 0
je 0x41ff0d
mov eax, ebx
call fcn.00408ac4
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x41ff0d
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0041e3b4
test al, al
je 0x41ff0d
mov eax, dword [ebp - 8]
call fcn.00420508
test al, al
je 0x41ff02
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00420288
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004267f4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.00408d20
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00408058
push edi
mov eax, dword [ebp - 4]
call fcn.00408ac4
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x41ff27
call sub.kernel32.dll_GetLastError_2
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ff56
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407c90
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407c90
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.00408ac4
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4200cd
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4200c7
test ah, 4
je 0x4200c7
test al, 0x10
je 0x4200c7
mov eax, esi
call fcn.00408ac4
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4200cd
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x424484
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4244bd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407db8
jmp 0x4244c6
mov eax, ebx
mov edx, esi
call fcn.00408010
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4244d0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4244f2
movzx eax, word [esp]
jmp 0x4244f4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4251c8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4252ed
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00424fd0
mov esi, eax
mov eax, dword [0x535fec]
cmp byte [eax], 0
je 0x425295
mov eax, dword [0x535cfc]
call fcn.00404fc8
call fcn.0040473c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x425198]
call fcn.0040a018
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x425308
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4252d1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x535c94]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x539c50]
call fcn.0040a334
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4252f4
lea eax, [ebp - 4]
mov edx, dword [0x425198]
call fcn.0040a13c
ret

Function at 0x42703c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00408138
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040be50
mov edi, eax
cmp edi, 0x104
jbe 0x426fe3
mov eax, edi
add eax, eax
call fcn.004045e8
mov esi, eax
jmp 0x426fe5
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040be50
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x427020
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42700a
mov eax, esp
cmp esi, eax
je 0x42702d
mov eax, esi
call fcn.00404604
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x427068
cmp bl, 0
je 0x427064
cmp bl, 0x41
jl 0x42705f
cmp bl, 0x5a
jg 0x42705f
or bl, 0x20
xor al, bl
inc esi
jmp 0x427043
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x426fa4

Function at 0x427870
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00408b70
add esp, 0x800
pop ebx
ret
Function at 0x451148
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4511e6
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4511aa
cmp byte [ebx + 0x10], 0
jne 0x4511aa
cmp byte [ebx + 0x3c], 0
jne 0x4511aa
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4511cb
lea edx, [ebp - 4]
mov eax, dword [0x535f74]
call fcn.0040bdbc
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4405bc]
call fcn.00425318
call fcn.00407328
jmp 0x4511cb
lea edx, [ebp - 8]
mov eax, dword [0x535f74]
call fcn.0040bdbc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4405bc]
call fcn.00425318
call fcn.00407328
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4511ed
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407c90
ret

Function at 0x451ae8
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x451b36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00451080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x451b4f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x451b58
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00451080
dec esi
jne 0x451b7a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x45695c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4569ae
test eax, edx
je 0x4569b1
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x456971
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x456997
add ecx, 4
js 0x456987
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x456994
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4569bd
test edx, edx
jne 0x456964
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x4687a8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7e8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4688b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00407c30
xor edx, edx
push ebp
push 0x468886
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040ba00
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.0040ba00
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 0xc]
call fcn.0040ba00
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 4]
mov ecx, 0
call fcn.0040877c
lea eax, [ebp - 0x815]
xor ecx, ecx
mov edx, 0x801
call fcn.0040502c
mov eax, dword [ebp - 0x10]
call fcn.00408634
push eax
push 0x800
lea eax, [ebp - 0x815]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00408634
push eax
mov eax, dword [ebp - 8]
call fcn.00408634
push eax
mov eax, dword [ebp - 4]
call fcn.00408634
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
jbe 0x46887c
mov ecx, esi
lea eax, [ebp - 0x815]
mov edx, 0x800
call fcn.0040bda8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x468890
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4688ba
lea eax, [ebp - 0x10]
call fcn.00407c54
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407cc0
ret

Function at 0x4688c4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4689a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00407c54
xor eax, eax
push ebp
push 0x468989
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [ebx + 4]
mov ecx, 0
call fcn.0040877c
lea eax, [ebp - 0x809]
xor ecx, ecx
mov edx, 0x801
call fcn.0040502c
mov eax, dword [ebp - 4]
call fcn.00408634
push eax
push 0x800
lea eax, [ebp - 0x809]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00408634
push eax
mov eax, dword [ebp - 8]
call fcn.00408634
push eax
mov eax, edi
call fcn.00408634
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ebx, eax
test ebx, ebx
jbe 0x46897f
mov eax, esi
xor ecx, ecx
mov edx, ebx
call fcn.00408704
mov eax, esi
call fcn.004081f0
mov edx, eax
lea eax, [ebp - 0x809]
mov ecx, ebx
call fcn.0040478c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x468993
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4689b0
lea eax, [ebp - 4]
call fcn.00407c54
ret
Function at 0x469944
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
lea eax, [ebp - 8]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
xor eax, eax
push ebp
push 0x469992
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, 0x4699b0
mov eax, dword [ebp - 8]
call fcn.004698a0
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469999
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret

Function at 0x46ad8c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46aebf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x46ae97
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.0040502c
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
movzx eax, word [ebx + 0x18]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 4]
mov edx, dword [ebx + 8]
call fcn.00408058
lea eax, [ebp - 0x60]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00408ef0
mov eax, dword [ebp - 0x60]
mov edx, 0x46aee0
call fcn.00408eb8
je 0x46ae2e
push 0x46aee0
push dword [ebp - 4]
push 0x46aee0
lea eax, [ebp - 4]
mov edx, 3
call fcn.00408da8
cmp dword [ebx + 0x14], 0
je 0x46ae4c
push dword [ebp - 4]
push 0x46aef0
push dword [ebx + 0x14]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00408da8
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00408ac4
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x46ae8d
mov eax, dword [ebp - 0x58]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0xc], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46aea1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46aec6
lea eax, [ebp - 0x60]
call fcn.00407c30
lea eax, [ebp - 4]
call fcn.00407c30
ret
Function at 0x46b294
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov eax, edi
call fcn.00407c30
call fcn.0046c938
test al, al
jne 0x46b4b8
mov eax, dword [ebx + 0xc]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46b4b8
xor eax, eax
push ebp
push 0x46b4ae
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x46b49d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [ebp - 0x48]
inc eax
call fcn.004045e8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x48]
mov byte [eax + edx], 0
cmp dword [ebp - 8], 0
jne 0x46b325
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b4b8
xor eax, eax
push ebp
push 0x46b47f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push 0x20498
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualQueryEx
test eax, eax
jne 0x46b362
call fcn.0040741c
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b4b8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
jne 0x46b396
call fcn.0040741c
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b4b8
mov ebx, 0x20498
sub ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
lea esi, [eax + ebx]
mov eax, esi
call fcn.0040814c
inc eax
add eax, eax
add ebx, eax
cmp ebx, 0x1002
jl 0x46b3d0
call fcn.0040741c
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b4b8
inc ebx
mov eax, ebx
and eax, 0x80000003
jns 0x46b3de
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
jne 0x46b3cf
cmp ebx, 0x1002
jl 0x46b401
call fcn.0040741c
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b4b8
mov eax, dword [ebp - 8]
lea esi, [eax + ebx]
mov eax, esi
call fcn.0040814c
inc eax
add eax, eax
add ebx, eax
cmp ebx, 0x1002
jl 0x46b432
call fcn.0040741c
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b4b8
mov eax, dword [ebp - 8]
cmp byte [eax + ebx], 0
jne 0x46b43e
add ebx, 2
cmp ebx, 0x1002
jl 0x46b45a
call fcn.0040741c
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46b4b8
mov eax, dword [ebp - 8]
lea esi, [eax + ebx]
mov eax, edi
mov edx, esi
call fcn.00408b1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b486
mov eax, dword [ebp - 8]
call fcn.00404604
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret