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

Disassembly:
test dword [eax - 0x74000004], ecx
dec ebp
cld
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.00404d96
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x406232
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x40627b
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x406225
call fcn.00404e25
aam 0x18
das
xor eax, dword [eax - 0x72b5b]
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
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.00404e25
push eax
stosd dword es:[edi], eax
pop edx
lea eax, [ebp - 0x72c]
push eax
call fcn.00404e35
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404dea
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.00404e25
mov ebp, 0x8d0e069c
test eax, ebp
clc
invalid

Function at 0x408050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a9c1
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x410034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xdc], 0x64
push eax
push 1
push 0
push str.SoftWareApple_Computer__Inc.QUICKTIME
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408169
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xd8]
push eax
push 0
push 0
push str.InstallDir
push 0x40b890
push dword [ebp - 0xfc]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x408169
cmp dword [ebp - 0xdc], 0x64
ja 0x408169
push dword [ebp - 0xfc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.quicktimeplayer.exe
lea eax, [ebp - 0xd8]
push 0x64
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
mov dword [ebp - 0xe0], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0xf8]
movups xmmword [ebp - 0xf8], xmm0
movq qword [ebp - 0xe8], xmm0
call dword [0x40b32c]
push 0
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xf8]
call dword [sym.imp.mfc140u.dll_CFileFind::FindFile]
test eax, eax
lea ecx, [ebp - 0xf8]
setne byte [ebp - 0xfd]
call dword [sym.imp.mfc140u.dll_CFileFind::CFileFind]
mov al, byte [ebp - 0xfd]
jmp 0x40816b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040950f
mov esp, ebp
pop ebp
ret
Function at 0x402420
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x407004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xa0
xor ebx, ebx
lea eax, [ebp - 0xa8]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x2bc], ebx
lea eax, [ebp - 0x2bc]
push ebx
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push 0x401128
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call fcn.004025a6
push dword [0x407cf8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4024bb
lea eax, [ebp - 0x2b8]
push eax
push dword [0x407cf8]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 8
lea eax, [ebp - 0x2b8]
push eax
push 3
push ebx
push 0x401258
push dword [ebp - 0x2bc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push ebx
push 0x146
push 0xc9
push dword [0x407cf8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor esi, esi
movzx edi, ax
inc esi
cmp esi, edi
ja 0x402500
lea eax, [ebp - 0xa8]
push eax
lea eax, [esi - 1]
push eax
push 0x148
push 0xc9
push dword [0x407cf8]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x402509
xor eax, eax
mov word [ebp - 0xa8], ax
push esi
push 0x401238
lea eax, [ebp - 0x2a8]
push 0x200
push eax
call fcn.0040192a
add esp, 0x10
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0xa8]
push eax
push 1
push ebx
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2bc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
inc esi
cmp esi, 0x14
jbe 0x4024d9
push dword [ebp - 0x2bc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 2
push str.DIALER.HLP
push dword [0x407cf8]
call dword [sym.imp.USER32.dll_WinHelpW]
push dword [0x407cf8]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x407cf8], ebx
xor ecx, ebp
pop ebx
call fcn.00405b20
leave
ret
Function at 0x405880
Capabilities:
Terminate process

Disassembly:
call fcn.00405feb
jmp 0x405890
push 0x58
push 0x406170
call fcn.004060b0
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x407ce8
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4058e2
cmp eax, esi
jne 0x4058d5
xor esi, esi
inc esi
mov edi, esi
jmp 0x4058e5
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4058b9
xor esi, esi
inc esi
cmp dword [0x407cec], esi
jne 0x4058f7
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x405931
cmp dword [0x407cec], ebx
jne 0x40592b
mov dword [0x407cec], esi
push 0x4010dc
push 0x4010d0
call fcn.00405a75
pop ecx
pop ecx
test eax, eax
je 0x405931
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x405a5f
mov dword [0x407064], esi
cmp dword [0x407cec], esi
jne 0x405954
push 0x4010cc
push 0x4010c4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x407cec], 2
test edi, edi
jne 0x405961
xor eax, eax
mov ecx, 0x407ce8
xchg dword [ecx], eax
cmp dword [0x407cf0], 0
je 0x40598d
push 0x407cf0
call fcn.00405ee0
pop ecx
test eax, eax
je 0x40598d
push ebx
push 2
push ebx
mov esi, dword [0x407cf0]
mov ecx, esi
call dword [0x40821c]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x4059eb
test cl, cl
je 0x4059ba
test edi, edi
jne 0x4059eb
test cl, cl
je 0x4059ba
cmp cl, 0x20
ja 0x4059ba
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x4059a9
test byte [ebp - 0x3c], 1
je 0x4059c6
movzx eax, word [ebp - 0x38]
jmp 0x4059c9
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x407060], eax
cmp dword [0x407078], 0
jne 0x405a44
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x4059fc
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x405a0f
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x40599a
cmp dword [0x407064], 0
jne 0x405a58
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x407060]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405db0
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x406190
call fcn.004060b0
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x405e10
cmp eax, 0xffffffff
je 0x405e10
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x405e09
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x405e09
cmp edx, 0x10000000
jae 0x405e09
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x405e06
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x405e90
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x405ece
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x405ec6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x405ed0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x405eb6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x405fb0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x405fe1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x405fe1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x405fe1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40cfab
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464adc
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x48e190]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x470e78
lea ecx, [esp + 0x10]
mov byte [esi + 0x44], 0
call fcn.004080fd
and dword [esp + 0x50], 0
lea ebx, [esi + 4]
push eax
call fcn.0040d663
push 0
or edi, 0xffffffff
push 1
lea ecx, [esp + 0x14]
mov dword [eax], 0x40cc11
mov dword [esp + 0x58], edi
call fcn.00409435
push 0x470e8c
lea ecx, [esp + 0x10]
mov byte [esi + 0x45], 0
call fcn.004080fd
push eax
mov dword [esp + 0x54], 1
call fcn.0040d663
push 0
push 1
lea ecx, [esp + 0x14]
mov dword [eax], 0x40cc25
mov dword [esp + 0x58], edi
call fcn.00409435
push 0x470e9c
lea ecx, [esp + 0x10]
mov byte [esi + 0x46], 0
call fcn.004080fd
push eax
invalid
inc esp
and al, 0x54
invalid

Function at 0x419098
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x1270]
push eax
call fcn.0041198c
push ebx
push edi
lea ecx, [esp + 0x64]
call fcn.00409435
lea eax, [esp + 0x124]
test byte [esp], ah
add dword [eax], eax
add dh, al
test byte [eax + esi*4], ah
sbb al, byte [eax]
add byte [esi], al
call fcn.0040f99f
lea eax, [esp + 0x94]
mov byte [esp + 0x1ab0], 1
call fcn.0041953c
push 0x4744a4
lea ecx, [esp + 0x1270]
call fcn.0042003e
push 0x4744b8
mov ecx, eax
call fcn.0042003e
mov edi, eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
shl eax, 5
add eax, esi
mov byte [esp + 0x12], bl
cmp esi, eax
je 0x4191bf
mov eax, dword [esi + 0xc]
shr eax, 0x14
test al, 1
je 0x41917c
push dword [esi]
lea ecx, [esp + 0x1238]
call fcn.004080fd
push 0x4744cc
lea eax, [esp + 0x1238]
push eax
call 0x41f675
cmp eax, 0xffffffff
je 0x419165
cmp dword [esi + 0x1c], 0x102
jne 0x419157
mov byte [esp + 0x12], 1
lea eax, [esi + 0x10]
test eax, eax
je 0x419165
mov dword [esi + 0x1c], 0x101
push ebx
push 1
add dword [ebp + 0x123c248c], ecx
add byte [eax], al
mov byte [esp + 0x1ab8], 1
call fcn.00409435
mov eax, dword [edi + 4]
shl eax, 5
add eax, dword [edi]
add esi, 0x20
cmp esi, eax
jne 0x41911a
mov edi, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
Function at 0x427bdc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
mov ebx, dword [0x46b184]
push edi
xor edi, edi
push edi
push edi
push 1
push edi
call ebx
mov dword [esp + 8], eax
mov dword [esi + 4], eax
cmp eax, edi
jne 0x427c34
call dword [0x46b188]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.0040c840
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, 0x477d1c
call fcn.0042784a
pop ecx
push edi
push edi
push 1
push edi
call ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], eax
mov dword [esi + 8], eax
cmp dword [ebx + 8], edi
jne 0x427c7c
call dword [0x46b188]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.0040c840
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, 0x477d30
call fcn.0042784a
pop ecx
lea eax, [esp + 0x14]
push eax
push edi
push esi
push 0x42e4dc
push edi
push edi
mov dword [esp + 0x2c], edi
call fcn.004444a5
add esp, 0x18
mov dword [ebx + 4], eax
cmp eax, edi
jne 0x427cee
call dword [0x46b188]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
cmp dword [esp + 8], edi
je 0x427cbf
push dword [esp + 8]
call dword [0x46b198]
mov ebx, dword [ebx + 8]
cmp ebx, edi
je 0x427ccd
push ebx
call dword [0x46b198]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.0040c840
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, 0x477d44
call fcn.0042784a
pop ecx
cmp dword [esp + 8], edi
je 0x427d0a
push 0xffffffffffffffff
push dword [esp + 0xc]
call dword [0x46b0e0]
push dword [esp + 8]
call dword [0x46b198]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43cf19
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
mov edx, eax
xor edx, dword [esp + 4]
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edi + edx*4]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edi + edx*4]
pop esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 4]
ret
Function at 0x26c64670
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esp + 8], 2
push ebx
push esi
push edi
jl 0x26c6488f
mov ebx, dword [esp + 0x18]
cmp ebx, 2
jg 0x26c6488f
mov edi, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bCanCompareEx
push edi
call esi
test eax, eax
mov dword [0x26ced064], eax
je 0x26c6488f
push str.wAjouteEx
push edi
call esi
test eax, eax
mov dword [0x26ced060], eax
je 0x26c6488f
push str.wSoustraitEx
push edi
call esi
test eax, eax
mov dword [0x26ced058], eax
je 0x26c6488f
push str.wMultiplieEx
push edi
call esi
test eax, eax
mov dword [0x26ced05c], eax
je 0x26c6488f
push str.wDiviseEx
push edi
call esi
test eax, eax
mov dword [0x26ced054], eax
je 0x26c6488f
push str.wModuloEx
push edi
call esi
test eax, eax
mov dword [0x26ced050], eax
je 0x26c6488f
push str.nComparaisonEx
push edi
call esi
test eax, eax
mov dword [0x26ced04c], eax
je 0x26c6488f
push str.nEgaliteEx
push edi
call esi
test eax, eax
mov dword [0x26ced048], eax
je 0x26c6488f
push str.nSuperieurEx
push edi
call esi
test eax, eax
mov dword [0x26ced044], eax
je 0x26c6488f
push str.nInferieurEx
push edi
call esi
test eax, eax
mov dword [0x26ced040], eax
je 0x26c6488f
push str.nPresqueEgalEx
push edi
call esi
test eax, eax
mov dword [0x26ced03c], eax
je 0x26c6488f
push str.nSoupleEgalEx
push edi
call esi
test eax, eax
mov dword [0x26ced038], eax
je 0x26c6488f
push str.nCommencePar
push edi
call esi
test eax, eax
mov dword [0x26ced034], eax
je 0x26c6488f
push str.nCommenceParSoupleEx
push edi
call esi
test eax, eax
mov dword [0x26ced030], eax
je 0x26c6488f
push str.nCommenceParTresSoupleEx
push edi
call esi
test eax, eax
mov dword [0x26ced02c], eax
je 0x26c6488f
push str.nETLogiqueEx
push edi
call esi
test eax, eax
mov dword [0x26ced010], eax
je 0x26c6488f
push str.nOULogiqueEx
push edi
call esi
test eax, eax
mov dword [0x26ced00c], eax
je 0x26c6488f
push str.nNONLogiqueEx
push edi
call esi
test eax, eax
mov dword [0x26ced008], eax
je 0x26c6488f
push str.nNegationEx
push edi
call esi
test eax, eax
mov dword [0x26ced028], eax
je 0x26c6488f
push str.nAdditionEx
push edi
call esi
test eax, eax
mov dword [0x26ced024], eax
je 0x26c6488f
push str.nSoustractionEx
push edi
call esi
test eax, eax
mov dword [0x26ced020], eax
je 0x26c6488f
push str.nMultiplicationEx
push edi
call esi
test eax, eax
mov dword [0x26ced01c], eax
je 0x26c6488f
push str.nDivisionEx
push edi
call esi
test eax, eax
mov dword [0x26ced018], eax
je 0x26c6488f
push str.nModuloEx
push edi
call esi
test eax, eax
mov dword [0x26ced014], eax
je 0x26c6488f
mov eax, dword [esp + 0x14]
mov dword [0x26ced0b0], eax
xor eax, eax
mov dword [0x26ced0ac], edi
mov dword [0x26ced0b4], ebx
inc eax
jmp 0x26c64891
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x26c6824f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, dword [ebx + 8]
xor edi, edi
inc edi
mov eax, edi
mov dword [ebp - 0x10], ebx
call fcn.26c7af61
mov esi, dword [ebp + 0x10]
xor ecx, ecx
cmp esi, ecx
jne 0x26c6827b
mov dword [ebp - 8], edi
lea esi, [ebp - 0x14]
jmp 0x26c6827e
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [esi], ecx
push dword [ebx + 0x218]
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [esi]
cmp dword [ebp + 0xc], 0
jmp 0x26c682e3
cmp dword [ebp - 4], 0
jne 0x26c682eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x26c682c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xa2
jne 0x26c682eb
mov eax, dword [esi]
sub dword [ebp + 0x10], eax
add dword [ebp + 8], eax
push 0
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebx + 0x218]
call dword [sym.imp.KERNEL32.dll_ReadFile]
add edi, dword [esi]
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edi
ja 0x26c682a0
lea eax, [ebx + 0x220]
mov dword [esi], edi
add dword [eax], edi
adc dword [eax + 4], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x26c68313
cmp dword [ebp - 8], 0
je 0x26c683b8
cmp edi, dword [ebp + 0xc]
je 0x26c683b8
mov eax, dword [ebx + 8]
push 3
pop ecx
cmp dword [eax + 8], ecx
je 0x26c68321
mov dword [eax + 8], ecx
mov esi, dword [ebx + 8]
push 1
mov edi, 0x26cd4138
call fcn.26c7ae41
xor esi, esi
cmp dword [ebp - 4], esi
je 0x26c68348
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
lea edx, [ecx + 0x65]
push edx
mov dword [ecx + 0x61], esi
call dword [eax + 0x18]
jmp 0x26c68357
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [ebx + 8]
call fcn.26c7b5cf
push dword [ebx + 0x218]
mov esi, dword [ebx + 8]
push str._IXStream__Handle__p_
call fcn.26c7b2b7
push dword [ebp - 8]
mov esi, dword [ebx + 8]
push str._IXStream__bExact__d_
call fcn.26c7b2b7
push dword [ebp - 0xc]
mov esi, dword [ebx + 8]
push dword [ebp + 0xc]
push str._IXStream__A_lire__u___lu__u_
call fcn.26c7b2b7
lea esi, [ebx + 0x234]
push dword [esi]
mov ebx, dword [ebx + 8]
push 0x6d63
mov ecx, edi
call fcn.26c7b0e7
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 8]
add esp, 0x24
push dword [esi]
push 1
call fcn.26c7b341
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x26c68fed
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
mov esi, dword [ebp + 8]
xor eax, eax
cmp word [esi], ax
je 0x26c69177
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call edi
push 0xffffffffffffffff
push esi
push 0x105
lea ebx, [ebp - 0x220]
mov dword [ebp - 8], eax
call fcn.26c73ef4
mov esi, ebx
call fcn.26c691a8
mov esi, dword [sym.imp.MSVCRT.dll_wcschr]
lea eax, [ebp - 0x21e]
push 0x5c
push eax
call esi
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x26c690ee
lea eax, [ebp - 0x220]
cmp ebx, eax
jbe 0x26c6906d
cmp word [ebx - 2], 0x3a
je 0x26c690de
lea eax, [ebp - 0x21e]
cmp ebx, eax
jne 0x26c690ea
cmp word [ebp - 0x220], 0x5c
jne 0x26c690ea
push 0x5c
add ebx, 2
push ebx
call esi
test eax, eax
pop ecx
pop ecx
je 0x26c69123
push 0x5c
add eax, 2
push eax
jmp 0x26c690e4
and word [ebx], 0
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.26c68fca
test eax, eax
pop ecx
pop ecx
jne 0x26c690d9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x26c690d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x26c6917a
mov word [ebx], 0x5c
add ebx, 2
push 0x5c
push ebx
call esi
pop ecx
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x26c6909b
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x26c6911c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x26c69123
push 0
push dword [ebp + 8]
call fcn.26c69201
test eax, eax
pop ecx
pop ecx
je 0x26c69123
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov esi, eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp + 0xc]
push dword [ebp - 4]
mov eax, ebx
call fcn.26c68d36
test eax, eax
pop ecx
je 0x26c69172
push 1
mov edi, 0x26cd4138
mov esi, ebx
call fcn.26c7ae41
push dword [ebp + 8]
mov ecx, edi
push 0x6dde
call fcn.26c7b0cf
pop ecx
pop ecx
push dword [ebp + 8]
push 1
call fcn.26c7b341
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
leave
ret
lea eax, [ebp - 0x220]
mov dword [ebp + 8], eax
jmp 0x26c69123