joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f5c4
Capabilities:
Log keystrokes via polling

Disassembly:
mov al, byte [esp + 4]
push esi
mov esi, ecx
cmp byte [esi + 0x644], al
push edi
sete byte [esp + 0xc]
test al, al
mov byte [esi + 0x644], al
je 0x41f5e6
or dword [esi + 0x470], 2
jmp 0x41f5ed
and dword [esi + 0x470], 0xfffffffd
cmp dword [esi + 0x45c], 0
je 0x41f6b6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, dword [esi + 0x648]
setl cl
test eax, eax
je 0x41f68d
cmp byte [esi + 0x64d], 0
je 0x41f61f
test cl, cl
jne 0x41f68d
cmp byte [esi + 0x644], 0
je 0x41f68d
mov ecx, dword [esi + 0x45c]
push eax
call dword [sym.imp.K8UIRender.dll_public:_class_std::vector_class_GameMgr::GMControl___class_std::allocator_class_GameMgr::GMControl_______thiscall_GameMgr::GMPaintManager::GetGroup_unsigned_int_]
mov edi, eax
test edi, edi
je 0x41f6c9
push ebp
xor ebp, ebp
call fcn.0041f8d0
test eax, eax
jbe 0x41f68c
push ebx
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x41f665
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x41f667
call ebx
mov eax, dword [edi + 4]
mov ecx, dword [eax + ebp*4]
cmp ecx, esi
je 0x41f67d
mov edx, dword [ecx]
mov eax, dword [edx + 0x324]
push 0
call eax
mov eax, edi
add ebp, 1
call fcn.0041f8d0
cmp ebp, eax
jb 0x41f652
pop ebx
pop ebp
cmp byte [esp + 0xc], 0
jne 0x41f6b6
cmp byte [esi + 0x66e], 0
je 0x41f6b6
movzx ecx, byte [esi + 0x644]
push 0
push ecx
mov ecx, dword [esi + 0x45c]
push 0xe
push esi
call dword [sym.imp.K8UIRender.dll_public:_void___thiscall_GameMgr::GMPaintManager::SendNotify_class_GameMgr::GMControl___unsigned_int__unsigned_int__long_int_]
mov edx, dword [esi]
mov eax, dword [edx + 0x120]
mov ecx, esi
mov byte [esi + 0x66e], 1
call eax
pop edi
pop esi
ret 4
Function at 0x4204d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x42bfa5
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
push ebx
push ebp
push edi
mov eax, dword [0x44901c]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x43c]
xor ebx, ebx
mov dword [esp + 0x434], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x40c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x24]
push ebx
push eax
mov dword [esp + 0x28], ebx
call sub.MSVCR80.dll_memset
mov ecx, dword [esi + 0x1c]
mov edi, dword [sym.imp.K8Common.dll_public:_unsigned_long_int___thiscall_GameMgr::GMBaseEvent::TimeLock_unsigned_int_]
add esp, 0xc
push 0x64
call edi
test eax, eax
je 0x4205d1
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.32770
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
sub esp, 0x1c
lea edx, [esp + 0x47c]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x474], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea eax, [esp + 0x58]
push ebp
push eax
mov byte [esp + 0x478], bl
call fcn.004213f0
add esp, 0x44
cmp eax, ebx
jne 0x4205d1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x45c]
jae 0x4205d1
push ebp
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x4205d1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xa
call sub.KERNEL32.dll_Sleep
mov ecx, dword [esi + 0x1c]
push 0x64
call edi
test eax, eax
jne 0x420542
lea ecx, [esp + 0x440]
mov dword [esp + 0x434], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x428
ret 0x24

Function at 0x420d80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push edi
call ebx
mov edi, dword [sym.imp.K8Common.dll_public:_unsigned_long_int___thiscall_GameMgr::GMBaseEvent::TimeLock_unsigned_int_]
mov ebp, eax
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x420daa
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x420dc7
call ebx
sub eax, ebp
cmp eax, 0x3a98
jae 0x420df2
mov ecx, dword [esi + 0x1c]
push 0x190
call edi
test eax, eax
jne 0x420d93
pop edi
pop ebp
pop ebx
ret
mov eax, dword [esi + 0x23c]
lea edi, [esi + 0x240]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x420de1
mov eax, dword [edi]
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 4], 0x4e20
mov dword [esi + 8], eax
pop edi
pop ebp
pop ebx
ret
Function at 0x4213f0
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x42bed9
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x44901c]
xor eax, esp
mov dword [esp + 0x82c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44901c]
xor eax, esp
push eax
lea eax, [esp + 0x844]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x854]
xor esi, esi
push 0x40c
lea eax, [esp + 0x1c]
push esi
mov dword [esp + 0x854], esi
push eax
xor edi, edi
mov dword [esp + 0x20], esi
call sub.MSVCR80.dll_memset
push 0x41c
lea ecx, [esp + 0x434]
push esi
push ecx
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0x870]
mov eax, dword [esp + 0x8ac]
mov ecx, dword [esp + 0x878]
mov ebx, 8
add esp, 0x18
cmp dword [esp + 0x874], ebx
mov dword [esp + 0x428], edx
mov dword [esp + 0x83c], eax
jae 0x42149f
lea ecx, [esp + 0x860]
lea edx, [esp + 0x42c]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, si
jne 0x4214a6
cmp dword [esp + 0x890], ebx
mov ecx, dword [esp + 0x87c]
jae 0x4214ce
lea ecx, [esp + 0x87c]
lea edx, [esp + 0x634]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, si
jne 0x4214d5
lea ecx, [esp + 0x14]
push ecx
push 0x421780
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x424], esi
jle 0x42152f
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
cmp edi, 0x104
jge 0x42152f
mov edx, dword [esp + esi*4 + 0x14]
push edx
call ebx
test eax, eax
je 0x421523
mov eax, dword [esp + esi*4 + 0x14]
mov dword [ebp + edi*4], eax
add edi, 1
add esi, 1
cmp esi, dword [esp + 0x424]
jl 0x421505
lea ecx, [esp + 0x85c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x878]
mov dword [esp + 0x84c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x844]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x82c]
xor ecx, esp
call fcn.00429602
add esp, 0x83c
ret
Function at 0x4218d0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x414
mov eax, dword [0x44901c]
xor eax, esp
mov dword [esp + 0x410], eax
push 0x206
lea eax, [esp + 6]
push 0
push eax
mov word [esp + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [esp + 4]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp]
push edx
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x206
lea eax, [esp + 0x20e]
push 0
push eax
mov word [esp + 0x214], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
push 0x2710
push 0
lea ecx, [esp + 0x214]
push ecx
push 0x104
push 0xd
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea edx, [esp + 0x208]
push edx
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [edi + 0x14], 0
jne 0x42198f
cmp dword [ebx + 0x14], 0
jne 0x42198f
xor eax, eax
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00429602
add esp, 0x414
ret
mov ecx, dword [esp + 0x410]
xor ecx, esp
mov eax, 1
call fcn.00429602
add esp, 0x414
ret
Function at 0x423270
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x42beb0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44901c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x4c]
xor edi, edi
cmp ebp, ebx
mov dword [esp + 0x40], ebx
jle 0x423360
push esi
mov edx, 0x449f54
lea ecx, [esp + 0x2c]
call fcn.00423fb0
add esp, 4
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x44], 1
call fcn.004239f0
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4232fb
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x42331a
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
jne 0x423378
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
jge 0x423340
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x1c]
push 0x1f4
call dword [sym.imp.K8Common.dll_public:_unsigned_long_int___thiscall_GameMgr::GMBaseEvent::TimeLock_unsigned_int_]
test eax, eax
jne 0x4232c5
mov ecx, dword [esp + 0x1c]
xor esi, esi
mov edi, ebp
add edi, 1
cmp edi, ebp
jl 0x4232c5
cmp ecx, ebx
je 0x423360
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x10
cmp eax, ebx
ja 0x423386
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx]
jmp 0x423348
Function at 0x4234d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x42cc55
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
push ebx
push ebp
mov eax, dword [0x44901c]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x430], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 0x40c
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
push ebx
push eax
mov dword [esp + 0x24], ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x42fd3c
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
sub esp, 0x1c
lea edx, [esp + 0x474]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x470], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov eax, dword [esi]
push eax
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x474], bl
call fcn.004213f0
add esp, 0x44
cmp eax, ebx
jne 0x4235ac
call ebp
sub eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x454]
jae 0x4235ac
mov ecx, dword [edi + 0x1c]
push 0xa
call dword [sym.imp.K8Common.dll_public:_unsigned_long_int___thiscall_GameMgr::GMBaseEvent::TimeLock_unsigned_int_]
test eax, eax
je 0x4235ac
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x423527
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x423527
lea ecx, [esp + 0x438]
mov dword [esp + 0x430], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x428
ret 0x20
Function at 0x423950
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
call ebp
mov esi, dword [sym.imp.K8Common.dll_public:_unsigned_long_int___thiscall_GameMgr::GMBaseEvent::TimeLock_unsigned_int_]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0xc], eax
lea esp, [esp]
mov eax, dword [edi + 4]
test eax, eax
je 0x423980
push 0
push eax
call ebx
test eax, eax
je 0x42399c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1c]
push 0x64
call esi
test eax, eax
je 0x42399c
call ebp
sub eax, dword [esp + 0xc]
cmp eax, 0x3a98
jb 0x423970
mov eax, dword [edi + 4]
test eax, eax
je 0x4239e8
push 0
push eax
call ebx
test eax, eax
jne 0x4239e8
mov ecx, dword [edi + 4]
lea esi, [edi + 8]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4239e8
mov eax, dword [esi]
test eax, eax
je 0x4239e8
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x45c]
mov dword [ecx + 8], eax
jne 0x4239e1
pop esi
pop ebp
mov dword [ecx + 0xc], 1
pop ebx
pop ecx
ret 4
mov dword [ecx + 4], 0x4e20
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x423e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42be79
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x44901c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 0x42fd3c
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov eax, dword [ebp + 8]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 1
call fcn.00423fb0
add esp, 4
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x5c], 2
call fcn.004239f0
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x423ecb
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x58], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor esi, esi
jmp 0x423ef0
mov edx, dword [esp + 0x14]
cmp edx, ebx
mov ecx, dword [esp + 0x18]
jne 0x423f00
xor eax, eax
jmp 0x423f07
mov eax, ecx
sub eax, edx
sar eax, 2
cmp esi, eax
jge 0x423f35
cmp edx, ebx
je 0x423f18
sub ecx, edx
sar ecx, 2
cmp esi, ecx
jb 0x423f22
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + esi*4]
push ecx
call fcn.00423e40
add esp, 4
and edi, eax
add esi, 1
jmp 0x423ef0
mov edx, dword [ebp + 8]
push edx
push ebx
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
jne 0x423f71
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x423f5c
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
and edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x423f93
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423fb0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x42be27
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x44901c]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44901c]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x28], esi
mov edi, edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push ebx
mov dword [esp + 0x290], ebx
push 0xf
mov dword [esp + 0x54], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4240dc
lea eax, [esp + 0x4c]
push eax
push ebp
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4240d5
lea ebx, [ebx]
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea edx, [esp + 0x30]
push edi
push edx
mov byte [esp + 0x294], 1
call dword [sym.imp.K8Common.dll_public:_static_int___cdecl_GameMgr::GMStringUtils::CompareNoCase_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
test eax, eax
jne 0x42407d
lea ecx, [esp + 0x30]
mov byte [esp + 0x28c], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x4240c2
mov eax, dword [esp + 0x294]
cmp dword [esp + 0x64], eax
je 0x42409d
lea ecx, [esp + 0x30]
mov byte [esp + 0x28c], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x4240c2
lea ebx, [esp + 0x54]
lea esi, [esp + 0x18]
call fcn.004241c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x28c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov esi, dword [esp + 0x28]
xor ebx, ebx
lea ecx, [esp + 0x4c]
push ecx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x424040
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ebx, [esp + 0x18]
mov edi, esi
call fcn.00424130
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4240f8
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00429602
add esp, 0x27c
ret
Function at 0x426750
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
push edi
mov edi, eax
mov esi, edx
jne 0x42675f
pop edi
xor eax, eax
pop esi
ret
cmp edi, 8
not esi
jb 0x426847
push ebp
mov ebp, edi
shr ebp, 3
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x433718]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x433718]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x433718]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x433718]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x433718]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x433718]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x433718]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x433718]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x426770
pop ebp
test edi, edi
je 0x42686c
jmp 0x426850
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x433718]
add ecx, 1
sub edi, 1
jne 0x426850
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x426880
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [edx]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x433718]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
add eax, 1
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x433718]
mov dword [edx + 8], ecx
ret

Function at 0x4268d0
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
xor al, bl
movzx ebx, al
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x433718]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x433718]
pop ebx
mov dword [esi + 8], ecx
ret

Function at 0x427040
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ebx
imul esi, dword [esp + 8]
cmp byte [edi], 0
je 0x427072
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x427068
mov byte [edi + 8], 1
mov eax, dword [esp + 8]
xor edx, edx
div ebx
pop esi
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
push ebp
lea ebp, [ecx + esi]
cmp ebp, eax
pop ebp
jbe 0x427085
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
push esi
add eax, ecx
push eax
push edx
call sub.MSVCR80.dll_memcpy
add dword [edi + 0x1c], esi
mov eax, esi
add esp, 0xc
xor edx, edx
div ebx
pop esi
ret
Function at 0x4270a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x4270d3
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esp + 0x13]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4270cd
mov byte [esi + 8], 1
mov edi, dword [esp + 8]
jmp 0x4270ff
mov eax, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x4270e5
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x14]
push edi
add edx, ebx
push edx
lea eax, [esp + 0x13]
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
add ebx, edi
mov dword [esi + 0x1c], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x427116
movzx ecx, byte [esp + 3]
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
xor eax, eax
add esp, 8
ret
cmp byte [esi], 0
je 0x427110
cmp byte [esi + 8], 0
je 0x427110
or eax, 0xffffffff
add esp, 8
ret