joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023250
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1005365a
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100f0e00]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1007c960]
cmp eax, dword [ecx + 4]
jg 0x1002329d
mov ecx, dword [ebp - 0xc]
mov eax, 0x10076fd8
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x1007c960
call fcn.10031cc9
add esp, 4
cmp dword [0x1007c960], 0xffffffff
jne 0x1002328a
mov dword [ebp - 4], 0
push 0x1001df40
push 0x1001dd00
push 0x26
push 0x38
mov dword [0x10076fd8], 0x1005de60
push 0x100773e0
mov dword [0x10076fd8], 0x1005df5c
mov dword [ebp - 0x10], 0x10076fe0
call fcn.100316a7
mov byte [ebp - 4], 1
mov dword [0x10077c30], 0x100bc9c8
mov byte [ebp - 4], 2
push 0x1001df40
push 0x1001dd00
push 0x3a
push 0x38
push 0x1007bc38
mov dword [ebp - 0x14], 0x10077c38
call fcn.100316a7
mov byte [ebp - 4], 3
mov dword [0x1007c8e8], 0x1007c9b8
mov byte [ebp - 4], 4
mov ecx, 0x1007c910
mov dword [0x1007c8f0], 4
mov dword [0x1007c8f4], 0
mov dword [0x1007c8f8], 0
mov dword [0x1007c900], 0x100071f0
mov dword [0x1007c904], 0
mov dword [0x1007c908], 0
mov dword [ebp - 0x18], 0x1007c908
mov dword [0x1007c90c], 0
call fcn.100242c0
mov byte [ebp - 4], 6
mov byte [0x1007c928], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
je 0x100233e4
push 0x200
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100288c0
lea eax, [ebp - 0x218]
push eax
call fcn.100435dc
lea eax, [ebp - 0x218]
push str._RESERVELOWMEM
push eax
call fcn.100331b0
add esp, 0x18
push 1
push 0x2000
push 1
push 0xffeeffee
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x100233e4
push 8
push 8
mov dword [0x1007c92c], 0
mov dword [0x1007c930], 0
mov dword [0x1007c934], 0
mov dword [0x1007c938], 0
mov dword [0x1007c93c], 0
mov dword [0x1007c940], 0
mov dword [0x1007c944], 0
mov dword [0x1007c948], 0
mov dword [0x1007c94c], 0
mov dword [0x1007c954], 0
mov dword [0x1007c958], 0
call fcn.100433eb
add esp, 8
mov dword [0x1007c8fc], eax
test al, 7
je 0x10023485
push str.__size_t__m_nLogicalBytesAllocated____8___0
push 0x7e3
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0memstd.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x10023485
int3
mov eax, dword [0x1007c8fc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 4], 0
push 0x100541f0
call fcn.10031b81
mov dword [ebp - 4], 0xffffffff
push 0x1007c960
call fcn.10031c7f
add esp, 8
jmp 0x1002328a

Function at 0x100236d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10023880
Function at 0x10024290
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 0x100242bc
push str.Out_of_thread_local_storage__n
push 0xb81
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0_threadtools.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x100242bc
int3
mov eax, esi
pop esi
ret

Function at 0x10024300
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10053070
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
mov dword [esi], vtable.CThread.0
je 0x10024495
cmp dword [esi + 0xc], 0xffffffff
mov edi, 0x32
sete bl
lea esp, [esp]
test bl, bl
je 0x1002439d
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xc], 0xffffffff
sete bl
sub edi, 1
jne 0x10024340
test bl, bl
je 0x1002439d
cmp byte [esi + 0x10], 0
lea edi, [esi + 0x10]
jne 0x10024380
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.1000a870
add esp, 0x18
mov byte [esi + 0x2f], 0
push edi
push str.Illegal_termination_of_worker_thread__s
push 0xe7e
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0_threadtools.cpp
call fcn.100236e0
add esp, 0x10
test al, al
jne 0x1002439d
int3
mov eax, dword [0x100bde48]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 0xffffffff
je 0x100243d5
push eax
call edi
cmp eax, esi
jne 0x100243d0
push str.Deleting_thread_object_from_the_thread__this_is_bad
push 0xe7f
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0_threadtools.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x100243d0
int3
mov eax, dword [0x100bde48]
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1002447d
cmp eax, 0xffffffff
je 0x100243f8
push eax
call edi
cmp eax, esi
je 0x1002447d
mov eax, dword [0x100bde48]
cmp dword [esi + 4], 0
je 0x1002447d
cmp eax, 0xffffffff
je 0x10024426
push eax
call edi
cmp eax, esi
jne 0x10024426
push str.Thread_cannot_be_joined_with_self
push 0xf6e
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0_threadtools.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x10024426
int3
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1002447d
test eax, eax
je 0x10024469
cmp eax, 0xffffffff
je 0x10024469
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10024469
push 0x1005a060
push 0xf77
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0_threadtools.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x1002447d
int3
mov eax, dword [esi + 4]
push eax
mov dword [esi + 4], 0
call ebx
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002448e
push eax
call ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100245f0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x100245ff
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
ret
cmp byte [0x100bde4c], 0
jne 0x1002462b
push str.Bad_thread_local:_Get_n
push 0xbb6
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0_threadtools.cpp
mov byte [0x100bde4c], 1
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x1002462b
int3
xor eax, eax
ret

Function at 0x100247e0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x100247f8
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret 4
cmp byte [0x100bde4d], 0
jne 0x10024824
push str.Bad_thread_local:_Set_n
push 0xbcd
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0_threadtools.cpp
mov byte [0x100bde4d], 1
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x10024824
int3
pop ebp
ret 4
Function at 0x10024af0
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 0x10024b1b
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.1000a870
add esp, 0x18
mov byte [esi + 0x2f], 0
push edi
push str.WARNING__CThread::Terminate:__s_n
call fcn.10023e40
add esp, 8
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x10024b41
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 0x100253d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x100bde6c], 0
jne 0x100254fc
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 0x100254fb
mov ecx, dword [ebp - 4]
push esi
xor esi, esi
push edi
lea edi, [ecx*4 + 8]
test ecx, ecx
jle 0x1002544c
jmp 0x10025420
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 0x10025420
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 0x100254d9
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 0x100254d6
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 0x10025490
mov ebx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call esi
mov edx, dword [ebp - 0x1c]
mov edi, 0x100bde6c
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x100254f9
push edx
call esi
pop edi
pop esi
pop ebx
mov eax, dword [0x100bde6c]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [0x100bde6c]
add eax, 4
mov esp, ebp
pop ebp
ret
Function at 0x10025560
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.10031dd0
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1000]
push 0x1000
push eax
call fcn.10005600
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.100397bd
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
jg 0x100255c0
push str.len___0
push 0x2be
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier0platform.cpp
call fcn.100236d0
add esp, 0xc
test al, al
jne 0x100255c0
int3
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
Function at 0x10028cf0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10053ba3
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword fs:[0x2c]
mov edx, dword [0x100f0e00]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x100c00f4]
cmp eax, dword [edx + 4]
jg 0x10028e54
mov dword [ebp - 0x10], 0x100c00d4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x100c00d4
cmp edx, dword [0x100c00d4]
je 0x10028d63
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x10028d63
pause
push edx
mov ecx, esi
call fcn.10024680
jmp 0x10028d6a
lock inc dword [0x100c00d8]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
je 0x10028e23
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.1001cde0
mov eax, dword [eax + 4]
test eax, eax
je 0x10028de3
cmp eax, dword [edi + 4]
je 0x10028de3
mov eax, dword [eax + 0xc]
mov dword [edi + 0x24], eax
jmp 0x10028e26
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10028de8
sub esi, ecx
inc esi
push esi
call fcn.1003d716
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.100337e0
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.100288f0
mov esi, 0x100c00d4
mov eax, dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x100c00d8]
cmp dword [0x100c00d8], 0
pop ebx
jne 0x10028e42
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 0x100c00f4
call fcn.10031cc9
add esp, 4
cmp dword [0x100c00f4], 0xffffffff
jne 0x10028d2f
mov dword [ebp - 4], 0
mov ecx, 0x100c00dc
mov dword [0x100c00d4], 0
mov dword [0x100c00d8], 0
call fcn.100242c0
mov byte [ebp - 4], 0
push 0x10054460
call fcn.10031b81
mov dword [ebp - 4], 0xffffffff
push 0x100c00f4
call fcn.10031c7f
add esp, 8
jmp 0x10028d2f
Function at 0x10028ec0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053bbd
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 0x1002904f
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.10022630
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 0x1002900c
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 0x10028f91
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x10028fff
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x10028fc8
mov eax, dword [eax]
cmp eax, ecx
je 0x10028fc0
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 0x10028fff
cmp ebx, eax
je 0x10028fdc
lea esp, [esp]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x1002902d
cmp ebx, eax
jne 0x10028fd0
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 0x10028f40
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 0x10028fff
push str.invalid_hash_bucket_count
call fcn.10032bef
int3
Function at 0x10029060
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100535dd
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 0x1002920d
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.10031860
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x1002914e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x10029110
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x100291fd
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x100291fd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x10029160
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x10029163
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x100291fd
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.10031860
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x100291e1
cmp edi, esi
je 0x100291f8
mov eax, dword [ebp + 0xc]
jmp 0x100291b7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x100291fd
mov edx, dword [ebp - 0x10]
jmp 0x10029170
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 0x10029770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
call fcn.10029340
test al, al
je 0x1002990c
push ebx
push esi
push edi
call fcn.10029320
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.10033d60
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 0x100c00fc
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 0x1002989a
mov ebx, dword [ebp + 0x10]
lea ebx, [ebx]
push 0
push dword [0x100c0134]
lea eax, [ebp - 0x118]
push dword [0x100c0130]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x100c0118]
test eax, eax
je 0x1002989a
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x1002989a
cmp edi, ebx
jle 0x10029894
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x10029894
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 0x10029830
push 0x100c00fc
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 0x10029909
jmp 0x100298d0
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 0x100298d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a8b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.10025230
add esp, 4
test al, al
jne 0x1002aa9b
push str._nocrashdialog
call fcn.10025230
add esp, 4
test al, al
jne 0x1002aa9b
call fcn.10024fb0
test al, al
jne 0x1002a8fb
call fcn.10023e60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._debugbreak
call fcn.10025230
add esp, 4
test al, al
je 0x1002a915
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x10072978], 0
je 0x1002aa9b
mov esi, dword [0x100c0144]
mov dword [ebp - 4], 0x100c0144
test esi, esi
je 0x1002a9c9
jmp 0x1002a940
mov edi, dword [esi + 0x20c]
lea ebx, [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.100438c1
add esp, 8
test eax, eax
jne 0x1002a9bc
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x1002a977
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jl 0x1002a986
cmp edx, dword [esi + 0x204]
jle 0x1002a98a
test al, al
jne 0x1002a9bc
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x1002aa9b
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x1002aa9b
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.10031860
add esp, 8
jmp 0x1002a9bf
mov dword [ebp - 4], ebx
mov esi, edi
test edi, edi
jne 0x1002a940
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [0x100c0148], ebx
mov dword [0x100c014c], esi
mov dword [0x100c0150], edi
mov byte [0x100c013e], 0
mov dword [0x100c0154], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x1002a870
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x100c0154]
test eax, eax
jne 0x1002aa79
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.1000a870
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 0x1002aa61
pop edi
pop esi
mov byte [0x100c013e], 1
mov al, byte [0x100c013e]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x1002aa8f
mov al, byte [0x100c013e]
pop edi
pop esi
mov byte [0x10072978], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x1002a4e0
push eax
push 0x65
push dword [0x100c0140]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x100c013e]
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