joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ccd78
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x5d3e60]
cmp byte [eax], 0
jne 0x5ccd9a
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
test dword [eax + 0x74], 0x4000000
jle 0x5ccd9a
or eax, 0xffffffff
pop ebx
ret
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3460]
sub eax, dword [edx]
mov edx, dword [0x5d39c8]
cmp eax, dword [edx]
jb 0x5ccdf2
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0xf8]
xor edx, edx
push edx
push eax
mov eax, dword [0x5d3bd4]
mov eax, dword [eax]
cdq
cmp edx, dword [esp + 4]
jne 0x5ccdd7
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5ccdf2
jmp 0x5ccddb
pop edx
pop eax
jg 0x5ccdf2
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3f6c]
sub eax, dword [edx]
mov edx, dword [0x5d3638]
cmp eax, dword [edx]
jae 0x5ccdf7
or eax, 0xffffffff
jmp 0x5ccdfc
mov eax, 1
pop ebx
ret

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

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [0x5d3e60]
cmp byte [eax], 0
jne 0x5cce23
mov eax, dword [0x5d34c0]
mov eax, dword [eax]
test dword [eax + 0x74], 0x4000000
jle 0x5cce23
or esi, 0xffffffff
jmp 0x5cce94
mov esi, 1
cmp word [ebx + 0x98], 0xa
jae 0x5cce37
or esi, 0xffffffff
jmp 0x5cce94
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0xf8]
xor edx, edx
push edx
push eax
mov eax, dword [0x5d3bd4]
mov eax, dword [eax]
cdq
cmp edx, dword [esp + 4]
jne 0x5cce5d
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5cce8f
jmp 0x5cce61
pop edx
pop eax
jg 0x5cce8f
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3460]
sub eax, dword [edx]
mov edx, dword [0x5d39c8]
cmp eax, dword [edx]
jb 0x5cce8f
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5d3f6c]
sub eax, dword [edx]
mov edx, dword [0x5d3638]
cmp eax, dword [edx]
jae 0x5cce94
mov esi, 0xfffffffe
mov eax, esi
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [0x5d34c0]
cmp eax, dword [edx]
jne 0x5ccf2c
mov eax, dword [0x5d37a0]
mov eax, dword [eax]
call fcn.00535578
test al, al
je 0x5ccf11
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
mov dword [eax + 0xf4], edx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0xe0]
cmp eax, 0xbb8
seta al
pop ebp
ret
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0xe0]
cmp eax, 0x7d0
seta al
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x100038c0
Capabilities:
Get geographical location

Disassembly:
test byte [0x10008028], 1
jne 0x100038d8
mov eax, 0x80004001
ret 0xc
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], str.filter__p__level__p__country_code__p._n
mov dword [esp + 8], str.dvd_info2_GetPlayerParentalLevel
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0x10008028
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp], 0
sub eax, 0x168
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0_1
mov eax, 0x80004001
leave
ret 0xc

Function at 0x10004d60
Capabilities:
Get process heap flags

Disassembly:
test edx, edx
je 0x10004e32
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
mov esi, edx
push ebx
mov eax, dword fs:[0x18]
sub esp, 0x14
mov dword [esp + 8], 0x18
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x10004e38
mov dword [eax], sym._enum_pins_QueryInterface_12
mov dword [eax + 4], 1
mov dword [eax + 0x14], edi
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 4]
mov eax, dword [edi + 0x15c]
sub esp, 4
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
jmp 0x10004dd9
mov eax, dword [ebx + 0xc]
add eax, 1
mov dword [ebx + 0xc], eax
mov edx, dword [edi + 0x160]
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [edx]
test eax, eax
jne 0x10004dd0
test byte [0x10008058], 8
jne 0x10004e08
mov dword [esi], ebx
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Created_enumerator__p._n
mov dword [esp + 8], str.enum_pins_create
mov dword [esp + 4], 0x10008058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10004df5
mov eax, 0x80004003
ret
mov dword [esi], 0
mov eax, 0x8007000e
jmp 0x10004df9

Function at 0x10004f50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
sub esp, 0x18
mov esi, dword [ebp + 8]
lock xadd dword [esi + 4], ebx
sub ebx, 1
test byte [0x10008058], 8
jne 0x10004fb8
test ebx, ebx
jne 0x10004fa7
mov eax, dword [esi + 0x14]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._p_decreasing_refcount_to__lu._n
mov dword [esp + 8], str.enum_pins_Release
mov dword [esp + 4], 0x10008058
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10004f71
Function at 0x100064a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x100064f8
cmp byte [esi + ebx - 1], 0xa
je 0x100064cc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1001a084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10006b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x10006cf8
mov edi, dword [0x1001a084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x10006c07
test byte [0x10008070], 8
jne 0x10006ca0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10008080], 8
jne 0x10006c60
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10006ba9
cmp esi, 3
jbe 0x10006c18
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x10006bba
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x10015170]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x10006ba9
mov dword [esp], 0x10008080
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10006b80
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x10006b80
mov dword [esp], 0x10008070
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10006b6b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x10006b73
mov eax, 0xffffffff
jmp 0x10006c07
Function at 0x10006dc0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x1001a0a0]
test eax, eax
je 0x10006e78
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x10006e00
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x10006dec
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x10006ead
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x1001a0a0], eax
sub esp, 8
test eax, eax
jne 0x10006ddd
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x10006dee
Function at 0x10006ec0
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edx, dword [ebp - 0x10]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
sub esp, 8
test ebx, ebx
je 0x10007050
mov eax, dword [esi]
test eax, eax
je 0x10007038
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 0x14], 0
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
lea ecx, [eax + 1]
sub esp, 0x18
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], ecx
mov ecx, eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x1000705c
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
xor edx, edx
sub esp, 0x18
mov word [edi + eax - 2], dx
mov eax, dword [esi]
test ecx, ecx
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
jne 0x10007028
call dword [edx + 0x28]
mov dword [esi + 8], eax
sub esp, 8
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 8]
sub esp, 0xc
lea esp, [ebp - 0xc]
not eax
pop ebx
pop esi
shr eax, 0x1f
pop edi
pop ebp
ret 0x10
call dword [edx + 0x24]
mov dword [esi + 8], eax
sub esp, 8
jmp 0x10006fec
mov edx, esi
mov eax, edi
call sym._create_registrar
test eax, eax
jne 0x10006f26
lea esi, [esi]
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esi + 8], 0x8007000e
xor eax, eax
jmp 0x10007052
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3ab74c07
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x64893a33
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x100383c
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push 0x1001898
push 0
call dword [sym.imp.msvcrt.dll_setlocale]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
lea eax, reloc.msvcrt.dll_isdigit
push eax
dec ebx
add esi, 4
mov dword [ebp - reloc.msvcrt.dll_isdigit], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100378f
cmp dword [ebp - reloc.msvcrt.dll_isdigit], 5
jne 0x100378f
cmp dword [ebp - reloc.msvcrt.dll_isdigit], 0
jne 0x100378f
mov dword [reloc.msvcrt.dll_isdigit], 1
call fcn.01005e86
test eax, eax
jne 0x10037ab
push 0x4000277f
call fcn.01005d09
xor eax, eax
pop ecx
inc eax
jmp 0x1003843
test ebx, ebx
push edi
jne 0x10037b4
xor esi, esi
jmp 0x10037d7
push dword [esi]
push 0x1008298
call fcn.0100370b
mov edi, eax
test edi, edi
jne 0x10037e4
push dword [esi]
push 0x400027ab
call fcn.01005d09
pop ecx
xor esi, esi
pop ecx
inc esi
push 0
push 0
call fcn.01006564
mov eax, esi
jmp 0x1003842
dec ebx
add esi, 4
test ebx, ebx
jne 0x1003802
push 0x1001894
push dword [edi + 4]
call fcn.0100370b
push esi
push ebx
call dword [eax + 4]
xor eax, eax
jmp 0x1003842
push dword [esi]
push dword [edi + 4]
call fcn.0100370b
test eax, eax
jne 0x1003839
push dword [esi]
push 0x400027ab
call fcn.01005d09
pop ecx
pop ecx
push 0x1001894
push dword [edi + 4]
call fcn.0100370b
add esi, 4
push esi
dec ebx
push ebx
call dword [eax + 4]
xor eax, eax
inc eax
jmp 0x1003842
add esi, 4
push esi
dec ebx
push ebx
call dword [eax + 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10044aa
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0
mov eax, 0xff
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
jne 0x10044c0
push 0x40002783
call fcn.01005d09
pop ecx
jmp 0x1004529
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, reloc.msvcrt.dll_isdigit
push eax
lea eax, [ebp - 8]
push eax
lea eax, reloc.msvcrt.dll_isdigit
push eax
lea eax, [esi + 0x28]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
je 0x1004524
mov eax, dword [ebp - 8]
and word [ebp + eax*2 - 0x108], 0
mov eax, dword [ebp - 4]
and word [ebp + eax*2 - 0x208], 0
lea eax, reloc.msvcrt.dll_isdigit
push eax
lea eax, reloc.msvcrt.dll_isdigit
push eax
mov eax, dword [ebp + 8]
add eax, 0x40002783
push eax
call fcn.01005d09
add esp, 0xc
jmp 0x1004529
call fcn.01005db0
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.010060be
push eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.010060be
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.010060be
push eax
add esi, 8
push esi
call fcn.0100427a
push eax
push 0x4000278c
call fcn.01005d09
add esp, 0x14
pop esi
leave
ret 8
Function at 0x1005c0e
Capabilities:
Get disk size

Disassembly:
cmp dword [ebp - 0x1c], reloc.msvcrt.dll_isdigit
je 0x1005c01
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - reloc.msvcrt.dll_isdigit], edi
je 0x1005c16
push dword [ebp - 0x234]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
ret

Function at 0x1005cc6
Capabilities:
Parse pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FormatMessageW]
push edi
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
xor eax, eax
push eax
push eax
lea ecx, [ebp - 4]
push ecx
mov edi, 0x400
push edi
push 0x40002711
push eax
mov ebx, 0x900
push ebx
call esi
test eax, eax
je 0x1005c6e
push dword [ebp - 4]
push 0x1001b30
call dword [sym.imp.msvcrt.dll_wprintf]
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
xor eax, eax
cmp dword [ebp + 8], 0x40002710
push edi
push dword [ebp + 8]
setl al
push 0
dec eax
and eax, 0xfffff800
add eax, 0x1000
or eax, 0x100
push eax
call esi
test eax, eax
je 0x1005cbc
push dword [ebp - 4]
push 0x1001b20
call dword [sym.imp.msvcrt.dll_wprintf]
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1005d04
mov eax, dword [reloc.msvcrt.dll_isdigit]
cmp eax, reloc.msvcrt.dll_isdigit
jne 0x1005cd6
push 0x1001b14
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [reloc.msvcrt.dll_isdigit], eax
lea ecx, [ebp - 8]
push ecx
push 0
lea ecx, [ebp - 4]
push ecx
push edi
push dword [ebp + 8]
push eax
push ebx
call esi
test eax, eax
jne 0x1005ca1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push 0x1001ac0
call dword [sym.imp.msvcrt.dll_wprintf]
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5222c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c338
push 0x52395c
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x2c], 0x35
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xd8
call fcn.00523b50
add esp, 4
test eax, eax
je 0x52230a
mov ecx, eax
call fcn.00523600
mov dword [ebp - 0x1c], eax
jmp 0x522311
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xb8
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.00523560
test eax, eax
je 0x522352
cmp dword [ebp - 0x1c], 0
je 0x522348
mov ecx, dword [ebp - 0x1c]
call fcn.00523670
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00523b60
add esp, 4
mov eax, 0x7895
jmp 0x522485
wait
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00522cf0
mov ecx, dword [ebp - 0x1c]
call fcn.005227f0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
call fcn.00522b60
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc4], 0
je 0x5223b0
mov esi, eax
test esi, esi
je 0x52239e
mov ecx, esi
call fcn.00523670
push esi
call fcn.00523b60
add esp, 4
mov eax, 0x7895
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x522485
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xbc], 0
mov eax, dword fs:[0x20]
je 0x5223cc
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.005225c0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xd0], 0
je 0x522410
mov esi, eax
test esi, esi
je 0x522401
mov ecx, esi
call fcn.00523670
push esi
call fcn.00523b60
add esp, 4
mov eax, 0x7895
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x522485
cmp dword [ebp - 0x2c], 0
jne 0x52241c
mov eax, dword ds:[0]
mov ecx, dword [ebp - 0x1c]
call fcn.005229d0
xor dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0x7895
wait
jmp 0x522454
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x522468
mov dword [ebp - 0x20], 0x7895
cmp dword [ebp - 0x1c], 0
je 0x522482
mov ecx, dword [ebp - 0x1c]
call fcn.00523670
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00523b60
add esp, 4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc