joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007a0c0
Capabilities:
Suspend thread

Disassembly:
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x1007a0d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
push edi
lea edi, [esi + 0x10]
jne 0x1007a0fb
push dword [esi + 8]
push dword [esi + 4]
push esi
push str.Thread_0x_p_0x_p_0x_x_
push 0x1f
push edi
call fcn.1005d7b0
add esp, 0x18
mov byte [esi + 0x2f], 0
push edi
push str.WARNING__CThread::Terminate:__s_n
call fcn.10078aa0
add esp, 8
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x1007a121
pop edi
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [esi + 4]
push eax
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [esi + 8], 0
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x1007f150
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x10410560], 0
jne 0x1007f27c
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x1007f27b
mov ecx, dword [ebp - 4]
push esi
xor esi, esi
push edi
lea edi, [ecx*4 + 8]
test ecx, ecx
jle 0x1007f1cc
jmp 0x1007f1a0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebx + esi*4]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
mov ecx, 1
cmovg ecx, eax
inc esi
add edi, ecx
cmp esi, dword [ebp - 4]
jl 0x1007f1a0
lea eax, [edi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov dword [eax], ecx
add eax, 4
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea esi, [ecx + 1]
lea esi, [eax + esi*4]
test ecx, ecx
jle 0x1007f259
mov edx, ebx
mov dword [ebp - 0xc], eax
sub edx, eax
lea ecx, [eax + edi]
mov dword [ebp - 0x14], edx
mov ebx, eax
lea esp, [esp]
cmp esi, ecx
jae 0x1007f256
push 0
push 0
sub eax, esi
add eax, edi
push eax
push esi
push 0xffffffffffffffff
push dword [edx + ebx]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 8]
test eax, eax
mov ecx, 1
mov dword [ebx], esi
cmovg ecx, eax
mov eax, dword [ebp - 0x10]
inc edx
add esi, ecx
add ebx, 4
mov dword [ebp - 8], edx
cmp edx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edi]
jl 0x1007f210
mov ebx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call esi
mov edx, dword [ebp - 0x1c]
mov edi, 0x10410560
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1007f279
push edx
call esi
pop edi
pop esi
pop ebx
mov eax, dword [0x10410560]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [0x10410560]
add eax, 4
mov esp, ebp
pop ebp
ret
Function at 0x1007f2a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.101005b0
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1000]
push 0x1000
push eax
call fcn.1005d790
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.101108dd
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
jg 0x1007f300
push str.len___0
push 0x2be
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0platform.cpp
call fcn.10078380
add esp, 0xc
test al, al
jne 0x1007f300
int3
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret

Function at 0x1007f330
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1029d021
push eax
mov dword fs:[0], esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x104138a0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10410568]
cmp eax, dword [ecx + 0x40]
jg 0x1007f3a3
mov eax, dword [0x10410564]
test eax, eax
je 0x1007f379
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
cmp al, 1
je 0x1007f395
push str.bRtlGenRandomOK
push 0x8000035b
push str.c:_buildslave_steam_rel_client_win32_build_src_tier0platform.cpp
call fcn.10078380
add esp, 0xc
test al, al
jne 0x1007f395
int3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x10410568
call fcn.101004a8
add esp, 4
cmp dword [0x10410568], 0xffffffff
jne 0x1007f364
mov dword [ebp - 4], 0
push str.SystemFunction036
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10410564], eax
mov dword [ebp - 4], 0xffffffff
push 0x10410568
call fcn.1010045e
add esp, 4
jmp 0x1007f364
Function at 0x1007ff20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1029d123
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword fs:[0x2c]
mov edx, dword [0x104138a0]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x10410590]
cmp eax, dword [edx + 0x40]
jg 0x10080084
mov dword [ebp - 0x10], 0x10410570
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x10410570
cmp edx, dword [0x10410570]
je 0x1007ff93
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x1007ff93
pause
push edx
mov ecx, esi
call fcn.10079c10
jmp 0x1007ff9a
lock inc dword [0x10410574]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
je 0x10080053
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [edi + 0x20], ebx
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp + 8], ebx
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100716e0
mov eax, dword [eax + 4]
test eax, eax
je 0x10080013
cmp eax, dword [edi + 4]
je 0x10080013
mov eax, dword [eax + 0xc]
mov dword [edi + 0x24], eax
jmp 0x10080056
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10080018
sub esi, ecx
inc esi
push esi
call fcn.101180c2
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.10101520
mov eax, dword [edi + 0x24]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1007fb20
mov esi, 0x10410570
mov eax, dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x10410574]
cmp dword [0x10410574], 0
pop ebx
jne 0x10080072
xor ecx, ecx
xchg dword [esi], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x10410590
call fcn.101004a8
add esp, 4
cmp dword [0x10410590], 0xffffffff
jne 0x1007ff5f
mov dword [ebp - 4], 0
mov ecx, 0x10410578
mov dword [0x10410570], 0
mov dword [0x10410574], 0
call fcn.10079680
mov byte [ebp - 4], 0
push 0x102a52d0
call fcn.10100360
mov dword [ebp - 4], 0xffffffff
push 0x10410590
call fcn.1010045e
add esp, 8
jmp 0x1007ff5f
Function at 0x100800f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029d13d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x14], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1008027f
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.100772b0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x1008023c
mov edi, edi
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x100801c1
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x1008022f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x100801f8
mov eax, dword [eax]
cmp eax, ecx
je 0x100801f0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x1008022f
cmp ebx, eax
je 0x1008020c
lea esp, [esp]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x1008025d
cmp ebx, eax
jne 0x10080200
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x10080170
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x1008022f
push str.invalid_hash_bucket_count
call fcn.100ffcfb
int3
Function at 0x10080290
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1029c8fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x1008043d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.100ffd71
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x1008037e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x10080340
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x1008042d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x1008042d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x10080390
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x10080393
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x1008042d
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.100ffd71
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x10080411
cmp edi, esi
je 0x10080428
mov eax, dword [ebp + 0xc]
jmp 0x100803e7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x1008042d
mov edx, dword [ebp - 0x10]
jmp 0x100803a0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100805f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
call fcn.10080480
test al, al
je 0x1008078c
push ebx
push esi
push edi
call fcn.10080460
mov esi, eax
mov dword [ebp - 4], ebp
mov dword [ebp - 8], esp
push 0x108
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10101aa0
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 3
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x10410598
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x1008071a
mov ebx, dword [ebp + 0x10]
lea ebx, [ebx]
push 0
push dword [0x104105d0]
lea eax, [ebp - 0x118]
push dword [0x104105cc]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x104105b4]
test eax, eax
je 0x1008071a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x1008071a
cmp edi, ebx
jle 0x10080714
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x10080714
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [esi + edx*8], eax
mov dword [esi + edx*8 + 4], ecx
inc dword [esi + 0xa0]
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x100806b0
push 0x10410598
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esi + 0xa0]
xor edi, edi
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
test ebx, ebx
jle 0x10080789
jmp 0x10080750
mov edx, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
shld ecx, edx, 2
shl edx, 2
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], ecx
xor edx, dword [esi + edi*8]
mov eax, dword [esi + edi*8 + 4]
inc edi
xor eax, ecx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], eax
cmp edi, ebx
jl 0x10080750
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100819b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.1007f010
add esp, 4
test al, al
jne 0x10081b9b
push str._nocrashdialog
call fcn.1007f010
add esp, 4
test al, al
jne 0x10081b9b
call fcn.1007a610
test al, al
jne 0x100819fb
call fcn.10078ac0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._debugbreak
call fcn.1007f010
add esp, 4
test al, al
je 0x10081a15
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x1038642c], 0
je 0x10081b9b
mov esi, dword [0x104105e0]
mov dword [ebp - 4], 0x104105e0
test esi, esi
je 0x10081ac9
jmp 0x10081a40
mov edi, dword [esi + 0x20c]
lea ebx, [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.1011a111
add esp, 8
test eax, eax
jne 0x10081abc
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x10081a77
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jl 0x10081a86
cmp edx, dword [esi + 0x204]
jle 0x10081a8a
test al, al
jne 0x10081abc
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x10081b9b
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x10081b9b
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.100ffd71
add esp, 8
jmp 0x10081abf
mov dword [ebp - 4], ebx
mov esi, edi
test edi, edi
jne 0x10081a40
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [0x104105e4], ebx
mov dword [0x104105e8], esi
mov dword [0x104105ec], edi
mov byte [0x104105da], 0
mov dword [0x104105f0], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x10081970
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x104105f0]
test eax, eax
jne 0x10081b79
push edi
push esi
push ebx
push str.File:__s_nLine:__d_n_Ts_n_nClick_Abort_to_break_in_the_debugger__Retry_to_continue_or_Ignore_to_disable_assert_dialogs_for_this_process.
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.1005d7b0
add esp, 0x18
mov byte [ebp - 5], 0
lea eax, [ebp - 0x804]
push 0x12002
push str.Assert_Dialog
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 3
jne 0x10081b61
pop edi
pop esi
mov byte [0x104105da], 1
mov al, byte [0x104105da]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x10081b8f
mov al, byte [0x104105da]
pop edi
pop esi
mov byte [0x1038642c], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x100815e0
push eax
push 0x65
push dword [0x104105dc]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x104105da]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1008fde0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 0x100
jae 0x1008fe2e
mov al, byte [edx]
xor bl, bl
push edi
mov edi, edx
test al, al
je 0x1008fe15
mov edi, edi
movsx ecx, al
inc edx
movzx eax, bl
xor ecx, eax
mov al, byte [edx]
mov bl, byte [ecx + 0x10386550]
test al, al
jne 0x1008fe00
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1008fe20
sub edx, edi
mov dword [eax], edx
movzx eax, bl
xor edx, edx
div esi
pop edi
pop esi
mov eax, edx
pop ebx
pop ebp
ret
mov bl, byte [edx]
test bl, bl
jne 0x1008fe3a
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov al, byte [edx + 1]
inc edx
mov bh, bl
inc bh
test al, al
je 0x1008fe68
movsx ecx, al
lea edx, [edx + 1]
movzx eax, bl
xor eax, ecx
mov bl, byte [eax + 0x10386550]
movzx eax, bh
xor eax, ecx
mov bh, byte [eax + 0x10386550]
mov al, byte [edx]
test al, al
jne 0x1008fe46
movzx eax, bl
xor edx, edx
shl eax, 8
movzx ecx, bh
or eax, ecx
div esi
pop esi
mov eax, edx
pop ebx
pop ebp
ret
Function at 0x10094ad0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov cl, 1
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x10094b87
push eax
push 1
push 0xd
push str.Log_stopped._n
call fcn.101195a3
add esp, 0x10
cmp eax, 1
je 0x10094b16
push str.1__ret
push 0xb3e
push str.c:_buildslave_steam_rel_client_win32_build_srccommonlogger.cpp
call fcn.10078380
add esp, 0xc
test al, al
jne 0x10094b16
int3
add dword [esi + 0x120], 0xd
mov eax, dword [esi + 0x11c]
adc dword [esi + 0x124], 0
add dword [esi + 0x128], 0xd
push ebx
adc dword [esi + 0x12c], 0
test eax, eax
je 0x10094b54
push eax
call fcn.101191fc
add esp, 4
test eax, eax
sete bl
test bl, bl
jne 0x10094b56
mov al, bl
pop ebx
pop esi
ret
mov bl, 1
push dword [esi + 0x11c]
call fcn.101158cb
add esp, 4
mov dword [esi + 0x11c], 0
mov al, bl
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
pop ebx
pop esi
ret
mov al, cl
pop esi
ret

Function at 0x10094de0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x11c], 0
je 0x10094e13
push str.NULL__m_pFile
push 0xbe4
push str.c:_buildslave_steam_rel_client_win32_build_srccommonlogger.cpp
call fcn.10078380
add esp, 0xc
test al, al
jne 0x10094e13
int3
cmp byte [esi + 0xc], 0
lea ebx, [esi + 0xc]
jne 0x10094e38
push str.0___m_rgchPrefixFileName_0_
push 0xbe7
push str.c:_buildslave_steam_rel_client_win32_build_srccommonlogger.cpp
call fcn.10078380
add esp, 0xc
test al, al
jne 0x10094e38
int3
push 0x105
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1006ead0
add esp, 0xc
mov edi, 1
mov ecx, esi
call fcn.100945e0
test al, al
je 0x10094ec6
push ebx
push str._s.current.txt
lea eax, [ebp - 0x104]
push 0x104
push eax
call fcn.1006e7a0
add esp, 0x10
cmp byte [esi], 0
je 0x10094e89
push 0
lea ecx, [esi + 0x114]
call fcn.1006be00
lea eax, [ebp - 0x104]
push 0x102b1c94
push eax
call fcn.1011583d
add esp, 8
mov dword [esi + 0x11c], eax
test eax, eax
mov dword [esi + 0x120], 0
mov dword [esi + 0x124], 0
setne cl
mov byte [esi + 0x130], cl
test eax, eax
jne 0x10094f0e
cmp byte [ebp + 8], 0
je 0x10094f03
push 0xfa
push 0
call fcn.1006fdb0
push eax
call fcn.1007a810
push edi
lea eax, [ebp - 0x20c]
push eax
push str._s__d
push 0x105
push ebx
call fcn.1006e7a0
inc edi
add esp, 0x20
cmp edi, 0x32
jl 0x10094e52
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [esi], 0
je 0x10094f2b
lea eax, [ebp - 0x104]
push eax
lea ecx, [esi + 0x114]
call fcn.1006be00
mov eax, dword [esi + 0x11c]
test eax, eax
je 0x10094f83
push dword [esi + 0x11c]
push 1
push 0xd
push str.Log_started._n
call fcn.101195a3
add esp, 0x10
cmp eax, 1
je 0x10094f67
push str.1__ret
push 0xb3e
push str.c:_buildslave_steam_rel_client_win32_build_srccommonlogger.cpp
call fcn.10078380
add esp, 0xc
test al, al
jne 0x10094f67
int3
add dword [esi + 0x120], 0xd
adc dword [esi + 0x124], 0
add dword [esi + 0x128], 0xd
adc dword [esi + 0x12c], 0
pop edi
mov byte [esi + 0x131], 1
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4