joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ab89
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0041a82d
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41abd3
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040f6e3
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040f6b4
jmp 0x41abde
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004234f7
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41abe4
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00422833
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41ac21
call fcn.0041a82d
mov dword [esi + 0xc], 1
jmp 0x41ac26
call fcn.0041a82d
cmp dword [esi], 0
je 0x41ac6f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x41ac47
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040f6e3
jmp 0x41ac59
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004016a0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040f6b4
jmp 0x41ac93
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41ac93
push dword [esi]
push dword [ebp + 8]
call fcn.004234f7
pop esi
pop ebp
ret 0xc

Function at 0x422727
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42276e
call fcn.0041c4e6
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42276e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42278a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00422227
mov esi, eax
test edi, edi
je 0x422788
test ebx, ebx
je 0x422788
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x422f41
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x534e16
call fcn.0051234e
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x422f66
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x422fb8
call fcn.0040f7ee
push eax
lea ecx, [ebp - 0x10]
call fcn.00401650
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00512c57
push eax
call fcn.00401920
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401020
mov eax, esi
call fcn.00512426
ret 8

Function at 0x49ba46
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x49ba60
call fcn.0041c4e6
mov esi, dword [eax + 0xc]
push dword [0x58a27c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x49ba7e
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x49ba76
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x49baab
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x49ba78
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0049b974
mov esi, eax
jmp 0x49ba9d

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00420b10
call fcn.00410d60
cmp eax, esi
pop esi
jne 0x4eb4bd
mov ecx, 0x588390
jmp fcn.00428e21
ret

Function at 0x4eedb7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4eedcf
mov edi, dword [esi + 0xc]
jmp 0x4eee0f
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4eede8
call fcn.0041625d
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4eedfd
call fcn.0041625d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4eee0f
call fcn.0041625d
call fcn.0041c4e6
cmp dword [eax + 0x3c], 0
je 0x4eee24
push edi
mov ecx, ebx
call fcn.004edc6b
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004eecd1
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4eee42
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4eee4e
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x50e062
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x584c30]
jne 0x50e06c
repz ret
jmp fcn.00516743

Function at 0x522988
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x584c30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0051616b
and dword [ebp - 0x14], 0
cmp dword [0x58c8b0], 0
mov dword [ebp - 0x18], eax
jne 0x522a3b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x522ae3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x560cf8
push ebx
call edi
test eax, eax
je 0x522ae3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x560ce8
push ebx
mov dword [0x58c8b0], eax
call edi
push eax
call esi
push 0x560cd4
push ebx
mov dword [0x58c8b4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x58c8b8], eax
call edi
push eax
call esi
mov dword [0x58c8c0], eax
test eax, eax
je 0x522a3b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x58c8bc], eax
mov eax, dword [0x58c8bc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x522a94
cmp dword [0x58c8c0], ecx
je 0x522a94
push eax
call esi
push dword [0x58c8c0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x522a94
test ebx, ebx
je 0x522a94
call edi
test eax, eax
je 0x522a8b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x522a8b
test byte [ebp - 8], 1
jne 0x522a94
or dword [ebp + 0x10], 0x200000
jmp 0x522ac7
mov eax, dword [0x58c8b4]
cmp eax, dword [ebp - 0x18]
je 0x522ac7
push eax
call esi
test eax, eax
je 0x522ac7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x522ac7
mov eax, dword [0x58c8b8]
cmp eax, dword [ebp - 0x18]
je 0x522ac7
push eax
call esi
test eax, eax
je 0x522ac7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x58c8b0]
call esi
test eax, eax
je 0x522ae3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x522ae5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050e062
leave
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x479004]
jne 0x401010
repz ret
jmp fcn.0040176d

Function at 0x40655b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004032f4
and dword [ebp - 4], 0
cmp dword [0x47b0dc], 0
mov ebx, eax
jne 0x40660c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4066bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4066bd
push eax
call fcn.00403282
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47b0dc], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47b0e0], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47b0e4], eax
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x47b0ec], eax
test eax, eax
je 0x40660c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x47b0e8], eax
mov eax, dword [0x47b0e8]
cmp eax, ebx
je 0x406664
cmp dword [0x47b0ec], ebx
je 0x406664
push eax
call fcn.004032fd
push dword [0x47b0ec]
mov esi, eax
call fcn.004032fd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406664
test edi, edi
je 0x406664
call esi
test eax, eax
je 0x40665b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40665b
test byte [ebp - 0xc], 1
jne 0x406664
or dword [ebp + 0x10], 0x200000
jmp 0x40669d
mov eax, dword [0x47b0e0]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40669d
mov eax, dword [0x47b0e4]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47b0dc]
call fcn.004032fd
pop ecx
test eax, eax
je 0x4066bd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4066bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x473855
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x489044]
push dword [0x488d60]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret

Function at 0x4738e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp ebx, 0x19f
jne 0x4738f8
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push edi
xor edi, edi
test ebx, ebx
jle 0x47391c
push esi
and dword [ebp - 4], 0
lea esi, [ebp - 4]
call fcn.004738d9
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edi
xor byte [eax], cl
inc edi
cmp edi, ebx
jl 0x473900
pop esi
pop edi
cmp ebx, 0x2d
jne 0x473933
or dword [0x489054], 0xffffffff
mov dword [0x489050], 0xa62e7790
leave
ret
Function at 0x4a1c30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x98000]
push edi
jmp 0x4a1c4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a1c51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1c40
mov eax, 1
add ebx, ebx
jne 0x4a1c63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a1c74
jne 0x4a1c93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1c93
dec eax
add ebx, ebx
jne 0x4a1c80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a1c58
add ebx, ebx
jne 0x4a1c8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a1ce5
xor ecx, ecx
sub eax, 3
jb 0x4a1cab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a1d1a
sar eax, 1
mov ebp, eax
jmp 0x4a1cb6
add ebx, ebx
jne 0x4a1cb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1c84
inc ecx
add ebx, ebx
jne 0x4a1cc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a1c84
add ebx, ebx
jne 0x4a1cd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a1cc6
jne 0x4a1ce2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a1cc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a1d04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a1cf6
jmp 0x4a1c46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a1d04
add edi, ecx
jmp 0x4a1c46
pop esi
mov edi, esi
mov ecx, 0x3bf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a1d22
cmp byte [edi], 7
jne 0x4a1d22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4a1d27
lea edi, [esi + 0x9f000]
mov eax, dword [edi]
or eax, eax
je 0x4a1d96
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12b344]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12b380]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a1d54
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12b388]
or eax, eax
je 0x4a1d90
mov dword [ebx], eax
add ebx, 4
jmp 0x4a1d71
call dword [esi + 0x12b384]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4a1dc7
cmp al, 0xef
ja 0x4a1dba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4a1d9c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4a1da9
mov ebp, dword [esi + 0x12b38c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4a1dfb
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x10004cb0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x100176b0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov eax, dword [ecx + 4]
cmp byte [eax + 8], 0
je 0x10004d1b
cmp byte [eax + 0x20], 0
je 0x10004d1b
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [0x100ede10]
mov ecx, dword [0x100f66e4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10004d30
mov ecx, 0x100eca88
call fcn.10004e30
mov dword [esi + 3], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov al, 1
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0x100ede10
call fcn.1006a0e6
add esp, 4
cmp dword [0x100ede10], 0xffffffff
jne 0x10004d0e
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 0
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [0x100ede0c], 0xffffffff
mov dword [0x100eca8c], eax
mov ecx, 0xfffffd92
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
add eax, 0x26f
mov dword [ecx*4 + 0x100ed448], eax
test ecx, ecx
je 0x10004da8
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
add eax, 0x270
mov dword [ecx*4 + 0x100ed44c], eax
add ecx, 2
jmp 0x10004d69
mov dword [0x100eca88], 0x270
push 0x100ede10
call fcn.1006a160
add esp, 4
mov dword [ebp - 0x10], 0xffffffff
mov esi, dword [ebp - 0x20]
jmp 0x10004d0e
Function at 0x1001c740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1001cb50
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
sub esp, 0x14
movsd xmm0, qword [ebp - 0x34]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 4
mov dword [esp], str.Overwatch
mov ecx, esi
call fcn.10017950
mov dword [ebp - 0x20], esi
mov dword [esi], vtable.COverwatch.0
mov dword [ebp - 0x10], 0
push 4
call fcn.1006a064
add esp, 4
mov edi, eax
mov esi, dword [ebp - 0x20]
mov dword [eax], esi
lea eax, [ebp - 0x24]
push eax
push 0
push edi
push 0x1001c8b0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1001c812
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1001c82d
push ecx
push eax
call sub.MSVCP140.dll__Thrd_detach
add esp, 8
test eax, eax
jne 0x1001c83e
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 1
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
add esp, 4
mov dword [ebp - 0x10], 2
push 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
add esp, 4
mov dword [ebp - 0x10], 2
push 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
add esp, 4
nop
push ebp
sub esp, 0x18
add ebp, 0xc
push dword [ebp - 0x2c]
call fcn.1006a094
add esp, 0x1c
pop ebp
ret

Function at 0x10021e40
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push edi
push esi
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
not edi
test esi, esi
je 0x10021e97
dec esi
add edx, 2
mov ebx, edi
jmp 0x10021e7c
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx ebx, bl
xor ebx, ecx
xor eax, dword [ebx*4 + 0x1007362c]
inc edx
mov ebx, eax
add esi, 0xffffffff
jae 0x10021ee4
movzx eax, byte [edx - 2]
cmp esi, 2
jb 0x10021e60
cmp al, 0x23
jne 0x10021e60
cmp byte [edx - 1], 0x23
jne 0x10021e60
cmp byte [edx], 0x23
cmove ebx, edi
jmp 0x10021e60
movzx ebx, byte [edx]
test bl, bl
je 0x10021ee2
add edx, 2
mov ecx, edi
jmp 0x10021ecb
movzx esi, al
mov eax, ecx
shr eax, 8
movzx ecx, cl
xor ecx, esi
xor eax, dword [ecx*4 + 0x1007362c]
inc edx
mov ecx, eax
test bl, bl
je 0x10021ee4
mov eax, ebx
movzx ebx, byte [edx - 1]
cmp al, 0x23
jne 0x10021eb0
cmp bl, 0x23
jne 0x10021eb0
cmp byte [edx], 0x23
cmove ecx, edi
jmp 0x10021eb0
mov eax, edi
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x100245a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xd0]
mov ebp, dword [ecx + edx*4 - 4]
not ebp
test esi, esi
je 0x10024618
mov ecx, esi
sub ecx, eax
je 0x10024618
mov edi, eax
not edi
add edi, esi
lea ebx, [eax + 2]
mov ecx, ebp
jmp 0x100245fc
movzx edx, dl
mov esi, ecx
shr esi, 8
movzx ecx, cl
xor ecx, edx
xor esi, dword [ecx*4 + 0x1007362c]
inc ebx
mov ecx, esi
add edi, 0xffffffff
jae 0x10024665
movzx edx, byte [ebx - 2]
cmp edi, 2
jb 0x100245e0
cmp dl, 0x23
jne 0x100245e0
cmp byte [ebx - 1], 0x23
jne 0x100245e0
cmp byte [ebx], 0x23
cmove ecx, ebp
jmp 0x100245e0
movzx ebx, byte [eax]
test bl, bl
je 0x10024663
lea edi, [eax + 2]
mov ecx, ebp
jmp 0x1002464b
movzx edx, dl
mov esi, ecx
shr esi, 8
movzx ecx, cl
xor ecx, edx
xor esi, dword [ecx*4 + 0x1007362c]
inc edi
mov ecx, esi
test bl, bl
je 0x10024665
mov edx, ebx
movzx ebx, byte [edi - 1]
cmp dl, 0x23
jne 0x10024630
cmp bl, 0x23
jne 0x10024630
cmp byte [edi], 0x23
cmove ecx, ebp
jmp 0x10024630
mov esi, ebp
not esi
mov ecx, dword [0x100ef758]
cmp dword [ecx + 0x3e30], esi
jne 0x10024685
push dword [esp + 0x18]
push eax
push 0xb
push esi
call fcn.10024e20
add esp, 0x10
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x10034870
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [0x100ef758]
mov ecx, dword [eax + 0x3e10]
mov byte [ecx + 0x90], 1
mov ecx, dword [eax + 0x3e10]
mov edx, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xd0]
mov edi, dword [ecx + edx*4 - 4]
movzx ecx, byte [esi]
test cl, cl
je 0x100348e2
not edi
lea edx, [esi + 2]
mov ebx, edi
jmp 0x100348c7
movzx esi, ch
movzx ebp, bl
shr ebx, 8
xor ebp, esi
xor ebx, dword [ebp*4 + 0x1007362c]
inc edx
test cl, cl
je 0x100348de
mov ch, cl
mov cl, byte [edx - 1]
cmp ch, 0x23
jne 0x100348b0
cmp cl, 0x23
jne 0x100348b0
cmp byte [edx], 0x23
cmove ebx, edi
jmp 0x100348b0
not ebx
mov edi, ebx
mov ebp, dword [esp + 0x20]
movzx ebx, byte [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp dword [eax + 0x3e30], edi
jne 0x10034908
push 0
push dword [esp + 0x18]
push 0xb
push edi
call fcn.10024e20
add esp, 0x10
movzx eax, bl
push ebp
push eax
push esi
push edi
push dword [esp + 0x24]
call fcn.10034540
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100369e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [esp + 0x1c]
mov ebx, dword [0x100ef758]
mov edi, dword [ebx + 0x3e10]
mov eax, dword [edi + 0xc8]
mov ecx, dword [edi + 0xd0]
mov esi, dword [ecx + eax*4 - 4]
movzx ecx, byte [edx]
test cl, cl
mov dword [esp], edi
je 0x10036a5e
mov dword [esp + 4], ebx
not esi
lea ebp, [edx + 2]
mov ebx, esi
jmp 0x10036a37
movzx edx, ch
movzx edi, bl
shr ebx, 8
xor edi, edx
xor ebx, dword [edi*4 + 0x1007362c]
inc ebp
test cl, cl
je 0x10036a4f
mov ch, cl
mov cl, byte [ebp - 1]
cmp ch, 0x23
jne 0x10036a20
cmp cl, 0x23
jne 0x10036a20
cmp byte [ebp], 0x23
cmove ebx, esi
jmp 0x10036a20
not ebx
mov esi, ebx
mov edi, dword [esp]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 4]
cmp dword [ebx + 0x3e30], esi
jne 0x10036a7a
push 0
push edx
push 0xb
push esi
call fcn.10024e20
add esp, 0x10
mov eax, dword [edi + 0xc8]
cmp eax, dword [edi + 0xcc]
jne 0x10036a96
lea ebp, [eax + 1]
test eax, eax
je 0x10036aa1
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
add ecx, eax
jmp 0x10036aa6
mov ebx, dword [edi + 0xd0]
jmp 0x10036b34
mov ecx, 8
cmp ecx, ebp
cmovg ebp, ecx
lea eax, [ebp*4]
mov ecx, dword [0x100ef758]
test ecx, ecx
je 0x10036ac2
inc dword [ecx + 0xa8]
push dword [0x100ef760]
push eax
call dword [0x100e7c10]
add esp, 8
mov ebx, eax
mov edi, dword [esp]
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x10036b22
mov ecx, dword [edi + 0xc8]
shl ecx, 2
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 0xd0]
test eax, eax
je 0x10036b0f
mov ecx, dword [0x100ef758]
test ecx, ecx
je 0x10036b0f
dec dword [ecx + 0xa8]
push dword [0x100ef760]
push eax
call dword [0x100e7c14]
add esp, 8
mov edi, dword [esp]
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xcc], ebp
mov eax, dword [edi + 0xc8]
mov dword [ebx + eax*4], esi
inc dword [edi + 0xc8]
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret