joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1ffce6d0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xc
cmp dword [esp + 0x1c], 0
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
push ebp
jne 0x1ffce6ea
test esi, esi
je 0x1ffce8ac
mov edi, dword [esp + 0x24]
test edi, edi
je 0x1ffce8ac
cmp dword [esp + 0x2c], 0
jne 0x1ffce70f
test byte [esp + 0x28], 4
je 0x1ffce70f
mov dword [esp + 0x2c], 1
mov esi, dword [esi + 8]
test esi, esi
je 0x1ffce89d
mov eax, dword [esp + 0x28]
xor ebx, ebx
and eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
and eax, 8
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], ebx
je 0x1ffce73e
cmp dword [esi + 0x28], ebx
je 0x1ffce863
test byte [esp + 0x28], 2
je 0x1ffce74d
cmp dword [esi], ebx
je 0x1ffce863
test byte [esp + 0x28], 0x20
je 0x1ffce7f0
test esi, esi
jne 0x1ffce763
xor eax, eax
jmp 0x1ffce7ec
test byte [esi + 0x1077], 8
je 0x1ffce77c
mov al, byte [esi + 0x1051]
and al, 8
shr al, 3
movsx eax, al
jmp 0x1ffce7ec
mov ebp, esi
test esi, esi
je 0x1ffce78f
cmp dword [esi + 4], ebx
je 0x1ffce78f
mov ebp, dword [ebp + 4]
cmp dword [ebp + 4], ebx
jne 0x1ffce787
mov eax, dword [ebp + 0xfac]
test eax, eax
je 0x1ffce7c7
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
cmp eax, 0x8000
je 0x1ffce7c7
mov eax, dword [ebp + 0xfac]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xfac]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1ffce7cb
mov dword [esp + 0x10], ebx
mov eax, 1
cmp dword [esp + 0x10], ebx
je 0x1ffce7ec
mov eax, dword [esp + 0x10]
push 0x2c
push esi
push eax
call fcn.1ffd07c0
add esp, 0xc
cmp eax, 1
sbb eax, eax
inc eax
test eax, eax
je 0x1ffce863
mov eax, dword [esi + 0xf88]
test eax, eax
jne 0x1ffce863
test edi, edi
je 0x1ffce822
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1ffce822
inc eax
push eax
call sub.LTKRN13N.dll_Ordinal_282
mov dword [esi + 0xf88], eax
test eax, eax
je 0x1ffce822
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x28], ebx
and eax, 0x10
cmp eax, 1
sbb eax, eax
neg eax
push eax
push esi
call fcn.1ff9b150
cmp dword [esp + 0x30], ebx
je 0x1ffce863
mov eax, 0
test esi, esi
je 0x1ffce850
push esi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
push 0xd
mov eax, dword [esp + 0x38]
push 0x600
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x18], ebx
je 0x1ffce888
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1ffce888
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push eax
push 1
push edx
push edi
push ecx
call fcn.1ffce6d0
cmp eax, 1
jne 0x1ffce8b1
cmp dword [esp + 0x2c], ebx
je 0x1ffce893
mov esi, dword [esi + 0x10]
jmp 0x1ffce895
xor esi, esi
test esi, esi
jne 0x1ffce72f
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x14
mov eax, 0xfffffff3
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x14
Function at 0x1ffd2fc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
and eax, 0xffff
mov ebx, dword [esp + 0xc]
push edi
push ebp
push 0xa
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push ebx
call ebp
push eax
mov ebp, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [esp + 0x1c], 0
mov esi, eax
jne 0x1ffd2ffa
mov eax, 0xfffffff3
pop ebp
pop edi
pop esi
pop ebx
ret
mov edi, dword [esp + 0x1c]
xor eax, eax
mov ecx, 0xa
test ebp, ebp
rep stosd dword es:[edi], eax
je 0x1ffd3061
test esi, esi
je 0x1ffd3061
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1ffd3027
mov eax, 0xfffffff3
pop ebp
pop edi
pop esi
pop ebx
ret
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1ffd3043
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 0xfffffff3
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, dword [esp + 0x1c]
push 1
push ecx
push esi
push eax
call sub.LTDIS13N.dll_Ordinal_171
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, 0xfffffff3
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x1ffd3070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x474
and eax, 0xffff
push ebx
push esi
push edi
mov edi, dword [esp + 0x484]
push ebp
push 0xa
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
push 1
mov esi, dword [esp + 0x494]
push 1
push 1
push esi
call sub.LTKRN13N.dll_Ordinal_134
test ebx, ebx
je 0x1ffd3197
test ebp, ebp
je 0x1ffd3197
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1ffd30e1
mov eax, 0xfffffff3
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x474
ret
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x1ffd3105
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 0xfffffff3
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x474
ret
lea eax, [esp + 0x10]
push eax
call sub.LTFIL13N.DLL_Ordinal_130
push 0
call sub.LTFIL13N.DLL_Ordinal_131
lea eax, [esp + 0x14]
push 0
push 0
push ebp
push eax
push ebx
call sub.LTFIL13N.DLL_Ordinal_117_1
cmp eax, 1
jne 0x1ffd319c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
push eax
push 0x64
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
inc eax
push eax
call sub.LTFIL13N.DLL_Ordinal_131
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x68], 0x1000
push ecx
push 0
push ebp
push edx
push 0
push esi
push ebx
call sub.LTFIL13N.DLL_Ordinal_118
mov ebx, eax
push 0
push 0
push 0
push 0
push 0
push 1
push 1
push esi
push esi
call sub.LTKRN13N.dll_Ordinal_108
mov ecx, dword [esp + 0x10]
push ecx
call sub.LTFIL13N.DLL_Ordinal_131
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x474
ret
mov eax, 0xfffffff3
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x474
ret
Function at 0x1ffd31b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x28
and eax, 0xffff
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
push ebp
push 0xa
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call ebp
push eax
mov ebp, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea edi, [esp + 0x10]
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
test ebp, ebp
je 0x1ffd322e
test esi, esi
je 0x1ffd322e
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1ffd322e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1ffd3213
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x1ffd322e
lea ecx, [esp + 0x10]
push 1
push ecx
push esi
push eax
call sub.LTDIS13N.dll_Ordinal_171
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x1ffd3233
mov eax, 0xfffffff3
cmp eax, 1
jne 0x1ffd324a
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.1ffd0530
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x1ffd7890
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10c
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x1ffd7919
lea eax, [esp + 4]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x1ffd7919
cmp byte [esp + 4], 0x5c
je 0x1ffd78c7
cmp byte [esp + 4], 0x2f
jne 0x1ffd78da
mov al, byte [esp + 5]
cmp byte [esp + 4], al
jne 0x1ffd78da
xor eax, eax
add esp, 0x10c
ret
mov byte [esp], 0x3d
xor eax, eax
mov al, byte [esp + 4]
push eax
call fcn.1ffdae30
lea ecx, [esp + 8]
mov byte [esp + 5], al
mov byte [esp + 6], 0x3a
mov byte [esp + 7], 0
lea edx, [esp + 4]
add esp, 4
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x1ffd7919
xor eax, eax
add esp, 0x10c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1ffdadc0
add esp, 4
mov eax, 0xffffffff
add esp, 0x10c
ret
Function at 0x1ffd7960
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
push ebx
push esi
mov ebx, dword [esp + 0x118]
push edi
test ebx, ebx
je 0x1ffd79d3
push ebx
call fcn.1ffd7a90
add esp, 4
test eax, eax
jne 0x1ffd79a1
xor eax, eax
pop edi
mov dword [0x1ffe63ec], 0xf
mov dword [0x1ffe63e8], 0xd
pop esi
pop ebx
add esp, 0x10c
ret
add bl, 0x40
lea eax, [esp + 0x10]
mov byte [esp + 0xc], bl
push eax
lea ecx, [esp + 0x18]
lea ebx, [esp + 0x10]
mov byte [esp + 0x11], 0x3a
mov byte [esp + 0x12], 0x2e
mov byte [esp + 0x13], 0
push ecx
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x1ffd79e3
lea eax, [esp + 0x14]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x1ffd7a82
inc eax
cmp eax, 0x104
ja 0x1ffd7a82
mov edx, dword [esp + 0x120]
test edx, edx
jne 0x1ffd7a34
mov ecx, dword [esp + 0x124]
cmp ecx, eax
jg 0x1ffd7a0f
mov ecx, eax
push ecx
call fcn.1ffda850
add esp, 4
mov edx, eax
test edx, edx
jne 0x1ffd7a53
xor eax, eax
pop edi
mov dword [0x1ffe63e8], 0xc
pop esi
pop ebx
add esp, 0x10c
ret
cmp dword [esp + 0x124], eax
jge 0x1ffd7a53
xor eax, eax
pop edi
mov dword [0x1ffe63e8], 0x22
pop esi
pop ebx
add esp, 0x10c
ret
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, edx
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10c
ret

Function at 0x1ffd7a90
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 4
test eax, eax
jne 0x1ffd7aa4
mov eax, 1
add esp, 4
ret
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0x5c
mov byte [esp + 3], 0
add al, 0x40
mov byte [esp], al
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x1ffd7ad6
cmp eax, 1
je 0x1ffd7ad6
mov eax, 1
add esp, 4
ret
xor eax, eax
add esp, 4
ret
Function at 0x1ffd8290
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x1ffd837f
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp dword [0x1ffe59f4], 0
mov dword [0x1ffe63f4], eax
jne 0x1ffd82ef
cmp al, 3
jne 0x1ffd82c6
test eax, 0x80000000
je 0x1ffd82c6
push 2
call fcn.1ffdbc90
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x1ffd82ef
push str.IsTNT
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1ffd82ef
push 1
call fcn.1ffdbc90
add esp, 4
call fcn.1ffdb230
test eax, eax
jne 0x1ffd82fd
xor eax, eax
ret 0xc
xor edx, edx
mov ecx, dword [0x1ffe63f4]
mov dl, ch
mov eax, ecx
shr ecx, 0x10
and eax, 0xff
mov dword [0x1ffe6400], edx
mov dword [0x1ffe63fc], eax
shl eax, 8
mov dword [0x1ffe63f4], ecx
add eax, edx
mov dword [0x1ffe63f8], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x1ffe9750], eax
call fcn.1ffdbb00
cmp dword [0x1ffe9750], 0
mov dword [0x1ffe59e4], eax
je 0x1ffd8375
test eax, eax
je 0x1ffd8375
call fcn.1ffdb2b0
call fcn.1ffdbaf0
call fcn.1ffdb5b0
call fcn.1ffdb4c0
call fcn.1ffdaec0
inc dword [0x1ffe59e0]
mov eax, 1
ret 0xc
call fcn.1ffdb270
xor eax, eax
ret 0xc
test eax, eax
jne 0x1ffd836d
mov eax, dword [0x1ffe59e0]
test eax, eax
jle 0x1ffd83b2
dec eax
cmp dword [0x1ffe642c], 0
mov dword [0x1ffe59e0], eax
jne 0x1ffd83a0
call fcn.1ffdaf10
call fcn.1ffdb490
call fcn.1ffdb270
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc

Function at 0x1ffdaf20
Capabilities:
Terminate process

Disassembly:
cmp dword [0x1ffe6430], 1
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
jne 0x1ffdaf3e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x1ffe642c], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x1ffe6428], bl
jne 0x1ffdaf98
cmp dword [0x1ffe974c], 0
je 0x1ffdaf86
mov edi, dword [0x1ffe9748]
sub edi, 4
cmp edi, dword [0x1ffe974c]
jb 0x1ffdaf86
mov eax, dword [edi]
test eax, eax
je 0x1ffdaf7b
call eax
sub edi, 4
cmp edi, dword [0x1ffe974c]
jae 0x1ffdaf73
push 0x1ffe301c
push 0x1ffe3014
call fcn.1ffdafd0
add esp, 8
push 0x1ffe3024
push 0x1ffe3020
call fcn.1ffdafd0
add esp, 8
test ebx, ebx
jne 0x1ffdafbf
mov dword [0x1ffe6430], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
ret
Function at 0x1ffdbb00
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
push ebx
push esi
push edi
xor ebx, ebx
push ebp
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp dword [0x1ffe6884], ebx
jne 0x1ffdbb4f
call esi
cmp eax, ebx
mov edi, eax
je 0x1ffdbb2d
mov dword [0x1ffe6884], 1
jmp 0x1ffdbb4f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x1ffdbb45
mov dword [0x1ffe6884], 2
jmp 0x1ffdbb4f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x1ffe6884], 1
jne 0x1ffdbbfe
test edi, edi
jne 0x1ffdbb72
call esi
mov edi, eax
test edi, edi
jne 0x1ffdbb72
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp word [edi], 0
mov esi, edi
je 0x1ffdbb8c
add esi, 2
cmp word [esi], 0
jne 0x1ffdbb7a
add esi, 2
cmp word [esi], 0
jne 0x1ffdbb7a
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x1ffdbbed
push ebp
call fcn.1ffda850
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x1ffdbbed
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1ffdbbdc
push ebx
call fcn.1ffda640
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x1ffe6884], 2
jne 0x1ffdbc82
test ebx, ebx
jne 0x1ffdbc21
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x1ffdbc21
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov ebp, ebx
cmp byte [ebx], 0
je 0x1ffdbc36
inc ebp
cmp byte [ebp], 0
jne 0x1ffdbc28
inc ebp
cmp byte [ebp], 0
jne 0x1ffdbc28
sub ebp, ebx
inc ebp
push ebp
call fcn.1ffda850
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x1ffdbc5b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x1ffdbce0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1a8
xor ecx, ecx
mov eax, 0x1ffe6888
push ebx
mov edx, dword [esp + 0x1b0]
push esi
push edi
push ebp
cmp dword [eax], edx
je 0x1ffdbd07
add eax, 8
inc ecx
cmp eax, 0x1ffe6918
jb 0x1ffdbcf8
cmp dword [ecx*8 + 0x1ffe6888], edx
lea ebx, [ecx*8]
jne 0x1ffdbecb
cmp dword [0x1ffe59f0], 1
je 0x1ffdbe87
cmp dword [0x1ffe59f0], 0
jne 0x1ffdbd3e
cmp dword [0x1ffe59f4], 1
je 0x1ffdbe87
cmp edx, 0xfc
je 0x1ffdbecb
lea eax, [esp + 0xb4]
push 0x104
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call ebp
test eax, eax
jne 0x1ffdbd7b
mov esi, 0x1ffe0b4c
lea edi, [esp + 0xb4]
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebp, [esp + 0xb4]
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x1ffdbdbf
lea edi, [esp + 0xb4]
mov ecx, 0xffffffff
sub eax, eax
push 3
repne scasb al, byte es:[edi]
not ecx
lea ebp, [esp + ecx + 0x7c]
push 0x1ffe0b48
push ebp
call fcn.1ffda690
add esp, 0xc
mov esi, 0x1ffe0b2c
lea edi, [esp + 0x14]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, ebp
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x1ffe0b28
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x1ffe688c]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x12010
and ecx, 3
push 0x1ffe0b00
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1c]
push eax
call fcn.1ffdedd0
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
cmp dword [0x1ffe9640], 0
je 0x1ffdbe9d
mov eax, dword [0x1ffe9640]
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x1ffdbea7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebx + 0x1ffe688c]
push 0
lea eax, [esp + 0x14]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a8
ret
Function at 0x1ffdc870
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x418
cmp dword [0x1ffe9740], edx
push ebx
push esi
push edi
push ebp
jbe 0x1ffdca77
mov eax, edx
and eax, 0xffffffe7
sar eax, 3
add eax, 0x1ffe9640
mov dword [esp + 0x18], eax
mov eax, edx
and eax, 0x1f
mov ecx, dword [esp + 0x18]
shl eax, 3
mov ebx, dword [ecx]
mov ebp, eax
mov dword [esp + 0x1c], eax
mov al, byte [ebx + ebp + 4]
test al, 1
je 0x1ffdca77
xor esi, esi
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x20], esi
cmp ebp, esi
jne 0x1ffdc8d9
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
test al, 0x20
je 0x1ffdc8ea
push 2
push 0
push edx
call fcn.1ffdcaa0
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, dword [eax]
test byte [ecx + 4], 0x80
je 0x1ffdc986
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x430]
mov eax, ebx
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x1ffdc9bf
lea edi, [esp + 0x24]
mov eax, ebx
sub eax, dword [esp + 0x430]
cmp eax, ebp
jae 0x1ffdc94d
mov al, byte [ebx]
inc ebx
cmp al, 0xa
jne 0x1ffdc93b
mov byte [edi], 0xd
inc esi
inc edi
mov byte [edi], al
inc edi
mov eax, edi
lea ecx, [esp + 0x24]
sub eax, ecx
cmp eax, 0x400
jl 0x1ffdc922
lea eax, [esp + 0x24]
push 0
sub edi, eax
lea ecx, [esp + 0x28]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
push edi
push ecx
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax + ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1ffdc9b5
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], eax
cmp eax, edi
jge 0x1ffdc90d
jmp 0x1ffdc9bf
lea eax, [esp + 0x14]
push 0
mov edx, dword [esp + 0x434]
push eax
push ebp
mov ecx, dword [ecx]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1ffdc9b5
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x1ffdc9bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x20], 0
jne 0x1ffdca66
cmp dword [esp + 0x10], 0
je 0x1ffdca18
cmp dword [esp + 0x10], 5
jne 0x1ffdc9fb
mov dword [0x1ffe63e8], 9
mov eax, dword [esp + 0x10]
pop ebp
pop edi
mov dword [0x1ffe63ec], eax
mov eax, 0xffffffff
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x10]
push eax
call fcn.1ffdadc0
add esp, 4
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
test byte [edx + ecx + 4], 0x40
je 0x1ffdca42
mov eax, dword [esp + 0x430]
cmp byte [eax], 0x1a
jne 0x1ffdca42
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, 0xffffffff
pop ebp
mov dword [0x1ffe63e8], 0x1c
mov dword [0x1ffe63ec], 0
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x20]
pop ebp
sub eax, esi
pop edi
pop esi
pop ebx
add esp, 0x418
ret
mov eax, 0xffffffff
pop ebp
mov dword [0x1ffe63e8], 9
mov dword [0x1ffe63ec], 0
pop edi
pop esi
pop ebx
add esp, 0x418
ret
Function at 0x1ffddbe0
Capabilities:
Get geographical location

Disassembly:
push ebx
mov eax, dword [0x1ffe7504]
push esi
test eax, eax
push edi
push ebp
jne 0x1ffddc28
push 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 1
push 0
call esi
test eax, eax
je 0x1ffddc08
mov eax, 1
jmp 0x1ffddc2e
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1ffddc21
mov eax, 2
jmp 0x1ffddc2e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [0x1ffe7504], eax
cmp eax, 1
jne 0x1ffddc53
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov ebx, dword [esp + 0x18]
push ecx
push edx
push ebx
call esi
pop ebp
pop edi
pop esi
pop ebx
ret
mov dword [0x1ffe7504], eax
cmp eax, 2
jne 0x1ffddce1
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x1ffddc6f
mov edi, dword [0x1ffe5a58]
mov eax, dword [esp + 0x18]
push 0
mov ebx, dword [esp + 0x18]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov ebp, eax
test ebp, ebp
jne 0x1ffddc90
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push ebp
call fcn.1ffda850
add esp, 4
mov esi, eax
test esi, esi
jne 0x1ffddca6
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x18]
push ebp
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1ffddcd6
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x1ffddce6
push 0
push 0
push 0xffffffffffffffff
push esi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
jne 0x1ffddcfe
push esi
call fcn.1ffda640
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push eax
mov eax, dword [esp + 0x20]
push eax
push 0xffffffffffffffff
push esi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
test edi, edi
je 0x1ffddcd6
push esi
call fcn.1ffda640
add esp, 4
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret