joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a740
Capabilities:
Allocate thread local storage

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x40a76c
push str.Out_of_thread_local_storage__n
push 0xa8c
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
call fcn.004089b0
add esp, 0xc
test al, al
jne 0x40a76c
int3
mov eax, esi
pop esi
ret

Function at 0x40a8d0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x40a8df
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
ret
cmp byte [0x488df4], 0
jne 0x40a90b
push str.Bad_thread_local:_Get_n
push 0xac1
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
mov byte [0x488df4], 1
call fcn.004089b0
add esp, 0xc
test al, al
jne 0x40a90b
int3
xor eax, eax
ret

Function at 0x40aa80
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x40aa98
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret 4
cmp byte [0x488df5], 0
jne 0x40aac4
push str.Bad_thread_local:_Set_n
push 0xad8
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0_threadtools.cpp
mov byte [0x488df5], 1
call fcn.004089b0
add esp, 0xc
test al, al
jne 0x40aac4
int3
pop ebp
ret 4
Function at 0x40afb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43141d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00401d40
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40b036
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
je 0x40b1a1
lea eax, [edi + 4]
mov dword [ebp - 0x24], 0
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.004149d1
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 4]
mov dword [esi + 0xc], ecx
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
fld dword [edi]
add eax, 1
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
jns 0x40b09c
fadd dword [0x432f84]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov ebx, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test ebx, ebx
jns 0x40b0b2
fadd dword [0x432f84]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fdivr st(1)
fcompi st(2)
jbe 0x40b132
fdivrp st(1)
sub esp, 8
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp qword [esp]
call fcn.00420070
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov ecx, 8
fnstcw word [ebp + 0xe]
movzx eax, word [ebp + 0xe]
add esp, 8
or eax, 0xc00
mov dword [ebp - 0x14], eax
fldcw word [ebp - 0x14]
fistp qword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
cmova ecx, eax
fldcw word [ebp + 0xe]
cmp ebx, ecx
jae 0x40b114
cmp ebx, 0x200
jae 0x40b112
shl ebx, 3
cmp ebx, ecx
jae 0x40b114
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.0040b590
push dword [ebp - 0x10]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00401d40
mov edx, dword [eax]
jmp 0x40b139
mov edx, dword [ebp - 0x18]
fstp st(0)
fstp st(0)
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x20]
jne 0x40b16b
mov dword [ecx + eax*8], esi
jmp 0x40b17a
cmp edi, edx
jne 0x40b174
mov dword [ecx + eax*8], esi
jmp 0x40b17e
cmp dword [ecx + eax*8 + 4], ebx
jne 0x40b17e
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004145dd
int3
Function at 0x40b3a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4314c3
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword fs:[0x2c]
mov edx, dword [0x4bcd20]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x488e1c]
cmp eax, dword [edx + 4]
jg 0x40b51d
mov dword [ebp - 0x10], 0x488dfc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x488dfc
cmp edx, dword [0x488dfc]
je 0x40b418
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
sete al
test al, al
jne 0x40b418
pause
push edx
mov ecx, esi
call fcn.0040a910
jmp 0x40b41f
lock inc dword [0x488e00]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
jne 0x40b437
mov eax, dword [edi + 0x24]
jmp 0x40b4ef
mov eax, ebx
mov dword [edi + 0x20], ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp + 8], ebx
imul eax, eax, 0x1000193
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 - 0x18]
push eax
call fcn.00401d40
mov eax, dword [eax + 4]
test eax, eax
je 0x40b4a1
lea ecx, [edi + 0x24]
mov dword [ebp + 8], ecx
cmp eax, dword [edi + 4]
je 0x40b4a7
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
jmp 0x40b4ef
lea eax, [edi + 0x24]
mov dword [ebp + 8], eax
mov esi, ebx
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x40b4b0
sub esi, ecx
inc esi
push esi
call fcn.0041fc38
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.00415e40
mov esi, dword [ebp + 8]
add esp, 0x10
mov ecx, edi
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040afb0
mov eax, dword [esi]
mov esi, 0x488dfc
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x488e00]
cmp dword [0x488e00], 0
pop ebx
jne 0x40b50b
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 0x488e1c
call fcn.00414cdc
add esp, 4
cmp dword [0x488e1c], 0xffffffff
jne 0x40b3df
mov dword [ebp - 4], 0
mov ecx, 0x488e04
mov dword [0x488dfc], 0
mov dword [0x488e00], 0
call fcn.0040a770
mov byte [ebp - 4], 0
push 0x431b60
call fcn.00414c4b
mov dword [ebp - 4], 0xffffffff
push 0x488e1c
call fcn.00414c8b
add esp, 8
jmp 0x40b3df
Function at 0x40b590
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4314dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x40b721
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00407a00
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x40b6dc
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x14], edx
cmp edi, esi
jne 0x40b662
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x40b6d2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x40b69c
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
cmp edx, eax
je 0x40b694
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x18]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
jmp 0x40b6cf
cmp edi, edx
je 0x40b6ac
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x40b6fd
cmp edi, edx
jne 0x40b6a0
mov ebx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0x18]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0x10]
mov eax, ecx
cmp ecx, esi
jne 0x40b611
mov dword [ebp - 0x1c], 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 [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0x18], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x40b6cf
push str.invalid_hash_bucket_count
call fcn.004145dd
int3
Function at 0x40b730
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43116d
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 0x40b8dd
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.00414a01
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x40b81e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x40b7e0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x40b8cd
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x40b8cd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x40b830
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x40b833
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x40b8cd
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.00414a01
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x40b8b1
cmp edi, esi
je 0x40b8c8
mov eax, dword [ebp + 0xc]
jmp 0x40b887
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x40b8cd
mov edx, dword [ebp - 0x10]
jmp 0x40b840
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 0x40bf00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
mov esi, dword [ebp + 8]
call fcn.0040bad0
test al, al
je 0x40c091
push ebx
push edi
call fcn.0040bab0
mov edi, eax
mov dword [ebp - 4], ebp
mov dword [ebp - 8], esp
push 0x108
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004163c0
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x118], edi
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 0x488e24
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
jle 0x40c02a
lea esp, [esp]
push 0
push dword [0x488e5c]
lea eax, [ebp - 0x118]
push dword [0x488e58]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x488e40]
test eax, eax
je 0x40c02a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x40c02a
cmp edi, dword [ebp + 0x10]
jle 0x40c025
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x40c025
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, ebx
jl 0x40bfc0
push 0x488e24
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 0x40c08f
xor ecx, ecx
xor edx, edx
lea esp, [esp]
shld edx, ecx, 2
shl ecx, 2
mov eax, edx
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], eax
xor ecx, dword [esi + edi*8]
mov edx, dword [esi + edi*8 + 4]
inc edi
xor edx, eax
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], edx
cmp edi, ebx
jl 0x40c060
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40cf70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x488f88], 0
jne 0x40d09c
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 0x40d09b
mov ecx, dword [ebp - 4]
push esi
xor esi, esi
push edi
lea edi, [ecx*4 + 8]
test ecx, ecx
jle 0x40cfec
jmp 0x40cfc0
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 0x40cfc0
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 0x40d079
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 0x40d076
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 0x40d030
mov ebx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call esi
mov edx, dword [ebp - 0x1c]
mov edi, 0x488f88
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x40d099
push edx
call esi
pop edi
pop esi
pop ebx
mov eax, dword [0x488f88]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [0x488f88]
add eax, 4
mov esp, ebp
pop ebp
ret

Function at 0x40d0c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00414d40
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1000]
push 0x1000
push eax
call fcn.004017d0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0041a80a
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
jg 0x40d120
push str.len___0
push 0x2be
push str.C:_buildworker_steam_rel_client_win32_build_src_tier0platform.cpp
call fcn.004089b0
add esp, 0xc
test al, al
jne 0x40d120
int3
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
Function at 0x40d530
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.0040ce90
add esp, 4
test al, al
jne 0x40d715
push str._nocrashdialog
call fcn.0040ce90
add esp, 4
test al, al
jne 0x40d715
call fcn.0040ad20
test al, al
jne 0x40d57b
call fcn.00409180
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._debugbreak
call fcn.0040ce90
add esp, 4
test al, al
je 0x40d595
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x441014], 0
je 0x40d715
mov esi, dword [0x488f94]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0x488f94
test esi, esi
je 0x40d646
lea ebx, [ebx]
mov edi, dword [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.00421234
add esp, 8
test eax, eax
jne 0x40d633
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x40d5f1
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
cmp ebx, ecx
jl 0x40d5fd
cmp ebx, dword [esi + 0x204]
jle 0x40d601
test al, al
jne 0x40d633
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x40d715
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x40d715
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.00414a01
add esp, 8
jmp 0x40d63c
lea eax, [esi + 0x20c]
mov dword [ebp - 4], eax
mov esi, edi
test edi, edi
jne 0x40d5c0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [0x488f98], edi
mov dword [0x488f9c], ebx
mov dword [0x488fa0], esi
mov byte [0x488f8e], 0
mov dword [0x488fa4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x40d4f0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x488fa4]
test eax, eax
jne 0x40d6f3
push esi
push ebx
push edi
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.004017f0
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 0x40d6db
pop edi
pop esi
mov byte [0x488f8e], 1
mov al, byte [0x488f8e]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x40d709
mov al, byte [0x488f8e]
pop edi
pop esi
mov byte [0x441014], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x40d150
push eax
push 0x65
push dword [0x488f90]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x488f8e]
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 0x40f1b0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43179c
push eax
mov dword fs:[0], esp
sub esp, 0xa80
push esi
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x40f1db
mov eax, dword [esi + 8]
jmp 0x40f1dd
xor eax, eax
push eax
lea ecx, [ebp - 0x468]
call fcn.0040f0e0
mov dword [ebp - 4], 0
test esi, esi
je 0x40f1f9
mov eax, dword [esi + 0xc]
jmp 0x40f1fb
xor eax, eax
push ebx
push edi
push eax
lea ecx, [ebp - 0x25c]
call fcn.0040f0e0
mov byte [ebp - 4], 1
xor ebx, ebx
test esi, esi
je 0x40f28d
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x1a], ax
lea ebx, [ebp - 0x50]
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x24], eax
mov ax, word [esi + 0x30]
mov word [ebp - 0x20], ax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x1e], 0
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x10], eax
push dword [ebp + 0x24]
lea ecx, [ebp - 0xa8c]
call fcn.0040f0e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x880]
push dword [ebp + 0xc]
mov esi, dword [eax]
call fcn.0040f0e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x674]
push dword [ebp + 8]
mov edi, dword [eax]
call fcn.0040f0e0
mov byte [ebp - 4], 4
push dword [ebp + 0x2c]
push ebx
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x674]
lea ecx, [ebp - 0x670]
pop edi
pop ebx
cmp eax, ecx
je 0x40f305
push eax
call fcn.00414e25
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x87c]
mov eax, dword [ebp - 0x880]
cmp eax, ecx
je 0x40f322
push eax
call fcn.00414e25
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa88]
mov eax, dword [ebp - 0xa8c]
cmp eax, ecx
je 0x40f33f
push eax
call fcn.00414e25
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
mov eax, dword [ebp - 0x25c]
cmp eax, ecx
je 0x40f35c
push eax
call fcn.00414e25
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
mov eax, dword [ebp - 0x468]
cmp eax, ecx
je 0x40f37c
push eax
call fcn.00414e25
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret