joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4eb230
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.004ea9a2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004ea957
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004ea9a2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004ea957
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
invalid
movsd dword es:[edi], dword [esi]
invalid

Function at 0x4eb820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc esp
stc
invalid
jnp 0x4eb7a2
movsd dword es:[edi], dword [esi]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.004ea992
inc ebp
dec eax
mul dh
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004ea970
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
Function at 0x4eb8d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.004ea9a2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004ea957
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.004ea992
out dx, eax
cmpsd dword [esi], dword es:[edi]
scasd eax, dword es:[edi]
pop edx
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.004ea992
push edi
iretd

Function at 0x4ebe30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.004ea992
jp 0x4ebebe
ror dword es:[ebp - 0x72b7b], 1
call dword [eax - 0x18]
pop ss
jmp 0x4ebe89
invalid
stc
invalid

Function at 0x4ed7d0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
mov al, byte [ecx]
push ebx
xor ebx, ebx
cmp al, bl
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp + 0x10], ebx
je 0x4ed82b
mov dl, 0x3a
cmp byte [ecx + 1], dl
jne 0x4ed82b
mov ecx, dword [0x757e48]
movsx eax, al
mov al, byte [eax + ecx]
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x19], dl
lea edx, [esp + 8]
push edx
mov byte [esp + 0x1c], al
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
mov byte [esp + 0x26], 0x5c
mov byte [esp + 0x27], bl
push edx
jmp 0x4ed840
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
cmp eax, ebx
pop ebx
jne 0x4ed855
or eax, 0xffffffff
or edx, 0xffffffff
add esp, 0x18
ret
mov eax, dword [esp]
imul eax, dword [esp + 4]
imul eax, dword [esp + 8]
xor edx, edx
add esp, 0x18
ret
Function at 0x5200a0
Capabilities:
Inspect section memory permissions

Disassembly:
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x4eb18b
xlatb
add al, byte [eax]
invalid
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.004ea903
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x4eaf02
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x28]
xor ebx, ebx
cmp edi, ebx
je 0x4fb921
test byte [edi + 8], 2
jne 0x4fb901
mov eax, dword [edi + 0x1c]
cmp eax, ebx
je 0x4fb901
push eax
call fcn.004fb170
test byte [edi + 8], 1
jne 0x4fb916
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x4fb916
push eax
mov ecx, esi
call fcn.004fb170
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov dword [esi + 0x28], ebx
mov cl, byte [esi + 9]
mov al, byte [esi + 0x3c]
and cl, 0xf7
mov byte [esi + 9], cl
and al, 0xfc
pop edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], al
mov ecx, esi
pop esi
pop ebx
jmp 0x4eae90
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
test eax, eax
push edi
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
je 0x5200da
lea esp, [esp]
mov eax, dword [esi + 0x48]
mov edi, dword [eax + 8]
push eax
mov ecx, 0x675da0
call fcn.004e1da0
mov eax, edi
test eax, eax
mov dword [esi + 0x48], edi
jne 0x5200c0
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x5200f5
mov edi, dword [eax + 4]
push eax
mov ecx, 0x675d7c
call fcn.004e1da0
test edi, edi
mov eax, edi
jne 0x5200e1
pop edi
mov dword [esi + 0x4c], 0
mov ecx, esi
pop esi
jmp 0x4fb8e0
Function at 0x551520
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
mov eax, dword [ecx + 0x48]
mov dword [eax + 0x44], 1
jmp fcn.004eaf00

Function at 0x551f80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push ebp
push esi
mov esi, edx
mov eax, esi
mov ebp, ecx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x551f90
sub eax, edx
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x551fe9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x551fb6
sub ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x551fef
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop ebp
xor eax, eax
pop ebx
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x552010
Capabilities:
Open clipboard

Disassembly:
sub esp, 8
push ecx
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x55202a
add esp, 8
ret
push esi
push 1
call dword [0x673874]
mov esi, eax
test esi, esi
je 0x55205d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
lea edx, [ecx + 1]
push ebx
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x552046
sub ecx, edx
pop ebx
mov dword [esp + 8], ecx
jne 0x55206a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop esi
add esp, 8
ret
mov edx, eax
lea ecx, [esp + 4]
call fcn.004ea050
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret

Function at 0x552a70
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push 0
lea eax, [esp + 0xc]
push eax
mov esi, ecx
mov edx, dword [esi + 8]
push 2
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 8]
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ax, word [esp + 4]
cmp al, 0xff
pop esi
jne 0x552ab6
cmp ah, 0xfe
jne 0x552ab6
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x401e06
Capabilities:
Create process on windows
Get common file path
Print debug messages
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
lea eax, [ebp - 0x10c]
push edi
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x10c]
push str._uninsep.bat
push eax
call fcn.00409700
pop ecx
lea eax, [ebp - 0x210]
pop ecx
xor edi, edi
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
push 0x80
push 2
push edi
push edi
lea eax, [ebp - 0x10c]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x401f09
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.00409670
mov esi, str.:Repeat_r_ndel___s__r_nif_exist___s__goto_Repeat_r_ndel___s_
mov ebx, eax
push esi
call fcn.00409670
lea ebx, [eax + ebx*2 + 0x14]
lea eax, [ebp - 0x10c]
push eax
call fcn.00409670
add ebx, eax
push ebx
call fcn.00409528
add esp, 0x10
mov ebx, eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 8]
push edi
push eax
push ebx
call fcn.00409670
pop ecx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
lea eax, [ebp - 0x10c]
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push str.Selfdestruct____
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebx
pop edi
pop esi
leave
ret

Function at 0x402110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
je 0x402184
push str.PRVSETTINGS
push 0x7d1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402184
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402184
test edi, edi
je 0x402184
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea esi, [edi + 1]
mov dword [ebp + 8], eax
push esi
call fcn.004097e0
push esi
push 0
push eax
mov dword [ebx], eax
call fcn.00409480
push edi
push dword [ebp + 8]
push dword [ebx]
call fcn.00409140
add esp, 0x1c
mov al, 1
jmp 0x402186
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40218b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
je 0x4021ff
push 0x4151e4
push 0x7d2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4021ff
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4021ff
test edi, edi
je 0x4021ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea esi, [edi + 1]
mov dword [ebp + 8], eax
push esi
call fcn.004097e0
push esi
push 0
push eax
mov dword [ebx], eax
call fcn.00409480
push edi
push dword [ebp + 8]
push dword [ebx]
call fcn.00409140
add esp, 0x1c
mov al, 1
jmp 0x402201
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0xa23130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0xa23140
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea esi, [esi + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0xa23150
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0xa23710
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x22c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 4]
lea ecx, [esp + 0x14]
xor esi, esi
push ecx
mov ecx, dword [edi]
or edx, 0x2001f
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.00a236a0
mov ebp, eax
cmp ebp, esi
je 0xa23774
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0xa2376d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0xa2380d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push esi
push esi
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
push edx
mov dword [esp + 0x40], 0x100
call ebx
test eax, eax
jne 0xa237da
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00a23710
mov ebp, eax
cmp ebp, esi
jne 0xa2375e
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
push esi
push ecx
mov dword [esp + 0x40], 0x100
call ebx
test eax, eax
je 0xa237a0
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0xa237ef
push eax
call ebp
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x24]
mov eax, edi
mov dword [esp + 0x18], esi
call fcn.00a23890
mov edi, eax
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0xa2380b
push eax
call ebp
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00b68a41
add esp, 0x228
ret 4
Function at 0xa243e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0xbd2ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0xc416ec]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
xor esi, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, esi
jne 0xa2445f
call fcn.00a22970
mov esi, eax
jmp 0xa24554
mov eax, dword [ebp - 0x14]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, esi
jne 0xa2447b
call fcn.00a22970
jmp 0xa2454b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp eax, esi
jne 0xa24494
call fcn.00a22970
jmp 0xa2454b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
jae 0xa244b2
mov esi, 0x8007000e
jmp 0xa2454d
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0xa244c7
cmp eax, 0xffffffff
jbe 0xa244d1
push 0x80070216
call fcn.00a24db0
cmp eax, 0x400
jbe 0xa244fa
lea ecx, [ebp]
push ecx
call fcn.00a23110
jmp 0xa24500
lea edx, [ebp + 4]
mov dword [ebp], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp]
cmp eax, esi
jne 0xa24515
mov esi, 0x8007000e
jmp 0xa2454d
push ebx
push eax
mov eax, dword [ebp - 0x18]
push ebx
push eax
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jne 0xa24530
call fcn.00a22970
jmp 0xa2454b
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea esi, [ebp - 0x24]
call fcn.00a24250
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0xa24564
lea eax, [ebp]
call fcn.00a230f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00b68a41
lea esp, [ebp + 0x408]
pop ebp
ret 0xc
Function at 0xa26000
Capabilities:
Get common file path

Disassembly:
cmp dword [0xc5d554], 0
jne 0xa260b8
cmp byte [0xc5d450], 0
jne 0xa2608d
push 0xc5d450
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
jb 0xa26056
push 0x104
push 0xc5d450
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0xc5d450
call fcn.00b6a2d0
add esp, 8
test eax, eax
je 0xa26056
mov byte [eax + 1], 0
mov eax, 0xc5d450
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0xa26060
mov ecx, dword [str._debug.log]
mov edx, dword [0xbf8ac8]
mov dword [eax], ecx
mov cx, word [0xbf8acc]
mov dword [eax + 4], edx
mov dl, byte [0xbf8ace]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
push 0xbf8ad0
push 0xc5d450
call fcn.00b6a19e
add esp, 8
mov dword [0xc5d554], eax
test eax, eax
jne 0xa260ab
xor al, al
ret
push 2
push 0
push eax
call fcn.00b6a67f
add esp, 0xc
mov al, 1
ret
Function at 0xa260c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0xbc9f2b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x29c]
cmp dword [ebp + 0x10], 0
je 0xa2627c
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x7e]
push ecx
mov word [esp + 0x80], ax
call fcn.00b6e420
add esp, 0xc
push 0x104
lea edx, [esp + 0x78]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x74]
push 0x5c
push eax
call fcn.00b6a0b4
add esp, 8
test eax, eax
je 0xa26154
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x74]
lea edx, [eax + 2]
jmp 0xa26160
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xa26160
sub eax, edx
sar eax, 1
mov edx, 0x104
sub edx, eax
push edx
lea eax, [esp + 0x78]
push 0xbf8ad4
push eax
call fcn.00b69f23
xor ecx, ecx
add esp, 0xc
cmp dword [ebp + 0x14], 0x10
mov word [esp + 0x27a], cx
jb 0xa2619e
mov eax, dword [ebp]
jmp 0xa261a0
mov eax, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
mov esi, eax
test esi, esi
je 0xa2627c
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00b67a7c
add esp, 4
mov edi, eax
cmp dword [ebp + 0x14], 0x10
jb 0xa261e4
mov ebp, dword [ebp]
push esi
push edi
or esi, 0xffffffff
push esi
push ebp
push 0
push 0xfde9
call ebx
test eax, eax
je 0xa2626c
push 0x44
lea eax, [esp + 0x30]
push 0
push eax
call fcn.00b6e420
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0xa2625c
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [esp + 0x1c]
push eax
call ebx
jmp 0xa2626c
push 0x10
push str.Fatal_error
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
mov dword [esp + 0x298], esi
call fcn.00b69081
add esp, 4
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00b68a41
add esp, 0x284
ret
Function at 0xa262d0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0xbcd653
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0xc416ec]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
mov eax, dword [0xc416ec]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x58], 0
mov eax, dword [edi]
cmp eax, dword [0xc5d448]
jl 0xa264f0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 8]
call fcn.00a26f30
push 2
mov ebx, 1
push 0xbf8b18
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], bl
call fcn.00a278a0
cmp dword [0xc5d44c], 0
lea ebp, [ebx + 0xf]
je 0xa26362
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebp
jae 0xa2635b
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0xc5d44c], ebx
je 0xa263d8
call fcn.00a26000
test al, al
je 0xa263d8
cmp byte [0xc5d55a], 0
jne 0xa2638d
push 0xc5d3dc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0xc5d55a], bl
push 0xc5d3dc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0xc5d554]
push 2
push 0
push edx
call fcn.00b6a67f
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x28], ebp
jae 0xa263b9
lea eax, [esp + 0x14]
push eax
mov eax, dword [0xc5d554]
push 0xbf8b1c
push eax
call fcn.00b6a1b5
add esp, 0xc
push 0xc5d3dc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [edi], 3
jne 0xa264c3
mov ecx, dword [0xc5d554]
push ecx
call fcn.00b69ec7
add esp, 4
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0xa26405
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0xa264c3
cmp dword [0xc5d55c], 0
je 0xa2643c
lea edx, [esp + 0x30]
push edx
lea ecx, [edi + 8]
call fcn.00a26f30
push eax
mov byte [esp + 0x5c], 2
call dword [0xc5d55c]
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], bl
call fcn.00ae0ca0
jmp 0xa264c3
mov eax, dword [0xc44e74]
cmp byte [eax], 0
jne 0xa26470
lea ecx, [esp + 0x30]
push ecx
lea ecx, [edi + 8]
call fcn.00a26f30
push eax
mov byte [esp + 0x5c], 3
call fcn.00a260c0
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], bl
call fcn.00ae0ca0
jmp 0xa264b5
lea edx, [esp + 0x30]
push edx
lea ecx, [edi + 8]
call fcn.00a26f30
cmp dword [eax + 0x14], ebp
jb 0xa26484
mov eax, dword [eax]
push eax
push 0xbf8b20
call fcn.00b69acd
add eax, 0x40
push eax
call fcn.00b6a1b5
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00ae0ca0
call fcn.00b69acd
add eax, 0x40
push eax
call fcn.00b69ec7
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [esp + 0x58], 0
cmp dword [esp + 0x28], ebp
jb 0xa264db
mov eax, dword [esp + 0x14]
push eax
call fcn.00b68a36
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
lea esi, [edi + 0x68]
mov ecx, esi
mov dword [esp + 0x58], 0xffffffff
call fcn.00a26e90
push esi
mov dword [esi], vtable.std::ios_base.0
call fcn.00b67cfc
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00b68a41
add esp, 0x4c
ret