joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409c50
Capabilities:
Delete file

Disassembly:
sub esp, 0x40c
mov eax, dword [0x6d4dfc]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
push str.Making_sure_extracted_files_exists_n
call fcn.005a9af0
add esp, 4
push 1
lea ebx, [edi + 0x4e0]
push 1
mov ecx, ebx
call fcn.005b79f0
mov eax, dword [edi + 0x5f8]
sub eax, dword [edi + 0x5f4]
xor ebp, ebp
sar eax, 2
test eax, eax
jbe 0x409d3e
mov edi, edi
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
sar ecx, 2
cmp ebp, ecx
jb 0x409cb8
call fcn.005d0c36
mov edx, dword [edi + 0x5f4]
mov esi, dword [edx + ebp*4]
test byte [esi + 0x116], 1
je 0x409d26
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.005aa7d0
add esp, 0xc
test al, al
je 0x409cf9
mov edx, dword [esp + 0x10]
cmp edx, dword [esi + 0x112]
jne 0x409cf9
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x10a]
je 0x409d26
push esi
push str.restoring__s_n
call fcn.005a9af0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x6a6ed0
push esi
mov ecx, ebx
call fcn.005b8860
test al, al
je 0x409d6a
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
inc ebp
sar ecx, 2
cmp ebp, ecx
jb 0x409ca0
mov ecx, ebx
call fcn.005b7b50
push str.Making_sure_extracted_files_exists___finished_n
call fcn.005a9af0
mov ecx, dword [esp + 0x418]
add esp, 4
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005cfa37
add esp, 0x40c
ret
push esi
lea edx, [esp + 0x18]
push str.Cant_extract_file__s_nPlease_delete_this_file_manually
push edx
call fcn.00401ac0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov eax, edi
call fcn.004088a0
int3
Function at 0x40a280
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fe2d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6d4dfc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [esi + 0x20dec], 0
je 0x40a2d7
push 0
push 0x34b
push str..Updater.cpp
push str.status___STATUS_Checking
call fcn.005a9e00
add esp, 0x10
mov ecx, esi
call fcn.00408900
call fcn.00408af0
test al, al
je 0x40a302
mov ecx, esi
call fcn.00408b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [esi + 0x98], 1
call fcn.00408df0
mov dword [esi + 0x20dec], eax
lea eax, [esi + 0x20df5]
push 0x6a6126
push eax
call fcn.00401ac0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
mov ebx, 5
cmp dword [esi + 0x20dec], ebx
jne 0x40a433
mov ecx, dword [esi + 0x21760]
mov eax, dword [0x780dd8]
or eax, dword [0x780ddc]
mov dword [0x780dc8], ecx
mov edx, dword [esi + 0x21764]
mov dword [0x780dcc], edx
je 0x40a38c
call fcn.00402be0
test al, al
je 0x40a38c
push 0
push 0
push 0x780dc8
push 0x4028a0
push 0
push 0
call fcn.005d0377
add esp, 0x18
mov dword [0x780f90], eax
call fcn.00408e50
call fcn.00408fa0
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x5e4]
push ecx
push eax
push str.current_build_version_d__updater_data_version_d_n
call fcn.005a9af0
mov eax, dword [esi + 0x5e4]
add esp, 0xc
cmp eax, dword [esi + 0x1c]
jne 0x40a3c0
mov eax, esi
call fcn.0040a1b0
mov ebx, esi
call fcn.00409240
mov ecx, esi
call fcn.00409940
call fcn.0040a110
push str.Validating_game_data_n
call fcn.005a9af0
add esp, 4
lea edx, [esi + 0x20df5]
push str.Validating_game_data
push edx
call fcn.00401ac0
add esp, 8
lea eax, [esi + 0x21600]
push eax
lea ecx, [esi + 0x215f8]
push ecx
push 0
lea ecx, [esi + 0x4e0]
call fcn.005bb4c0
test al, al
jne 0x40a41f
push str.Game_data_is_damaged__please_restart_launcher_to_repair_damaged_files
mov eax, esi
call fcn.004088a0
push str.Validating_game_data___finished_n
call fcn.005a9af0
add esp, 4
mov eax, esi
call fcn.0040a1b0
push 0x32
call edi
jmp 0x40a333

Function at 0x40b8f0
Capabilities:
Create thread

Disassembly:
cmp dword [esi + 0x21638], 0
je 0x40b912
push 0
push 0x5c5
push str..Updater.cpp
push str.mainThread___NULL
call fcn.005a9e00
add esp, 0x10
cmp dword [esi + 0x21658], 0
je 0x40b934
push 0
push 0x5c6
push str..Updater.cpp
push str.loginThread___NULL
call fcn.005a9e00
add esp, 0x10
push ebx
push edi
push 0
push 0
push esi
push 0x40a500
push 0
push 0
call fcn.005d0377
push 0
push 0
push esi
push 0x40add0
push 0
push 0
mov dword [esi + 0x21638], eax
call fcn.005d0377
add esp, 0x30
mov dword [esi + 0x21c88], eax
lea edi, [esi + 0x21648]
mov ebx, 3
push 0
push 0
push esi
push 0x40ade0
push 0
push 0
call fcn.005d0377
mov dword [edi], eax
add esp, 0x18
add edi, 4
sub ebx, 1
jne 0x40b976
pop edi
pop ebx
ret
Function at 0x40ba20
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push str.CUpdater::Stop___n
mov esi, eax
call fcn.005a9af0
add esp, 4
cmp byte [esi + 0x20df4], 0
jne 0x40ba43
mov eax, dword [esi + 0x21640]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x763d4c
call edi
lea eax, [esi + 0x20dd4]
push eax
mov dword [esp + 0x14], eax
call edi
mov eax, dword [esi + 0x21638]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp eax, ebx
je 0x40ba88
push ebx
push eax
call edi
mov ecx, dword [esi + 0x21638]
push ecx
call ebp
mov dword [esi + 0x21638], ebx
mov eax, dword [esi + 0x21c88]
cmp eax, ebx
je 0x40baa5
push ebx
push eax
call edi
mov edx, dword [esi + 0x21c88]
push edx
call ebp
mov dword [esi + 0x21c88], ebx
mov eax, dword [esi + 0x21658]
cmp eax, ebx
je 0x40bac2
push ebx
push eax
call edi
mov eax, dword [esi + 0x21658]
push eax
call ebp
mov dword [esi + 0x21658], ebx
add esi, 0x21648
mov ebx, 3
lea ecx, [ecx]
mov eax, dword [esi]
test eax, eax
je 0x40bae6
push 0
push eax
call edi
mov ecx, dword [esi]
push ecx
call ebp
mov dword [esi], 0
add esi, 4
sub ebx, 1
jne 0x40bad0
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edx
call esi
push 0x763d4c
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40de00
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40de59
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40de30
mov ecx, dword [esp]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push str.username
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x40de60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40deb0
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x10]
push str.username
push eax
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
add esp, 8
ret 4
Function at 0x418bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
mov eax, dword [0x6d4dfc]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea edi, [eax + esi]
cmp eax, 8
ja 0x418bf6
mov eax, 0xffffffe2
pop edi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.005cfa37
mov esp, ebp
pop ebp
ret
add esi, 8
lea eax, [ebx + 0x681c]
push eax
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [ebx + 0x2818]
push esi
push edx
call fcn.0043fbe0
add esp, 0x10
cmp eax, 0xffffff88
ja 0x418bdd
add esi, eax
mov eax, edi
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x24], 0x1f
call fcn.0043cf50
add esp, 0x14
mov dword [esp + 8], eax
cmp eax, 0xffffff88
ja 0x418bdd
mov ecx, dword [esp + 0x10]
cmp ecx, 0x1f
ja 0x418bdd
mov eax, dword [esp + 0x24]
cmp eax, 8
ja 0x418bdd
push eax
push 0x6a47a0
push 0x6a4720
push ecx
lea ecx, [esp + 0x38]
push ecx
lea edx, [ebx + 0x1008]
push edx
call fcn.00416430
add esi, dword [esp + 0x20]
mov eax, edi
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xd8]
push eax
mov dword [esp + 0x38], 0x34
call fcn.0043cf50
add esp, 0x2c
mov dword [esp + 8], eax
cmp eax, 0xffffff88
ja 0x418bdd
mov ecx, dword [esp + 0xc]
cmp ecx, 0x34
ja 0x418bdd
mov eax, dword [esp + 0x1c]
cmp eax, 9
ja 0x418bdd
push eax
push 0x6a3ff8
push 0x6a4820
push ecx
lea ecx, [esp + 0xc0]
push ecx
lea edx, [ebx + 0x1810]
push edx
call fcn.00416430
add esi, dword [esp + 0x20]
mov eax, edi
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x34], 0x23
call fcn.0043cf50
add esp, 0x2c
mov dword [esp + 0x20], eax
cmp eax, 0xffffff88
ja 0x418bdd
mov ecx, dword [esp + 8]
cmp ecx, 0x23
ja 0x418bdd
mov eax, dword [esp + 0x14]
cmp eax, 9
ja 0x418bdd
push eax
push 0x6a3f20
push 0x6a4690
push ecx
lea ecx, [esp + 0x78]
push ecx
push ebx
call fcn.00416430
add esi, dword [esp + 0x38]
add esp, 0x18
lea edx, [esi + 0xc]
cmp edx, edi
ja 0x418bdd
sub edi, esi
sub edi, 0xc
xor ecx, ecx
lea edx, [ebx + 0x701c]
mov eax, dword [esi]
add esi, 4
test eax, eax
je 0x418bdd
cmp eax, edi
jae 0x418bdd
mov dword [edx], eax
inc ecx
add edx, 4
cmp ecx, 3
jl 0x418d75
mov ecx, dword [esp + 0x124]
mov eax, esi
sub eax, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.005cfa37
mov esp, ebp
pop ebp
ret
Function at 0x441e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7fc
mov eax, dword [0x6d4dfc]
xor eax, esp
mov dword [esp + 0x7f4], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x40
lea eax, [esp + 0x80]
push esi
push eax
mov edi, ecx
mov dword [esp + 0x84], esi
call fcn.005d3190
add esp, 0xc
push 0x44
lea ecx, [esp + 0x38]
push esi
push ecx
mov dword [esp + 0x3c], esi
call fcn.005d3190
mov ebx, dword [edi]
add edi, 4
add esp, 0xc
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
cmp ebx, 0x10
jbe 0x441e96
mov eax, 0xffffffd4
jmp 0x44201e
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x81c]
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x81c]
lea edx, [esp + 0x50c]
push edx
call fcn.00441600
add esp, 0x10
mov dword [esp + 0x2c], eax
cmp eax, 0xffffff88
ja 0x44201e
mov edi, dword [esp + 0x1c]
cmp edi, ebx
ja 0x441e8c
mov dword [esp + 0x14], edi
cmp dword [esp + edi*4 + 0x78], esi
jne 0x441ef0
dec edi
cmp dword [esp + edi*4 + 0x78], esi
je 0x441ee5
mov dword [esp + 0x14], edi
xor ebp, ebp
lea eax, [ebp + 1]
lea ebx, [edi + 1]
mov dword [esp + 0x20], ebp
cmp ebx, eax
jbe 0x441f13
mov ecx, ebp
add ebp, dword [esp + eax*4 + 0x78]
mov dword [esp + eax*4 + 0x34], ecx
inc eax
cmp eax, ebx
jb 0x441f00
mov dword [esp + 0x20], ebp
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x34], ebp
test esi, esi
jbe 0x441f4b
movzx edx, byte [esp + eax + 0x500]
mov ecx, dword [esp + edx*4 + 0x34]
mov byte [esp + ecx*2 + 0x600], al
inc eax
lea edi, [ecx + 1]
mov dword [esp + edx*4 + 0x34], edi
mov byte [esp + ecx*2 + 0x601], dl
cmp eax, esi
jb 0x441f21
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
xor esi, esi
lea eax, [esi + 1]
dec edx
mov dword [esp + 0x34], esi
cmp ebx, eax
jbe 0x441f82
mov ebp, dword [esp + eax*4 + 0x78]
lea ecx, [eax + edx]
shl ebp, cl
mov edi, esi
mov dword [esp + eax*4 + 0xc0], edi
inc eax
add esi, ebp
cmp eax, ebx
jb 0x441f61
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub ecx, edi
mov edi, dword [esp + 0x24]
inc ecx
sub edi, ecx
inc edi
cmp ecx, edi
jae 0x441fe7
mov edx, ecx
neg edx
mov eax, ecx
shl eax, 4
shl edx, 4
add eax, ecx
sub edx, ecx
lea eax, [esp + eax*4 + 0xc4]
add edx, edx
mov dword [esp + 0x18], eax
add edx, edx
cmp ebx, 1
jbe 0x441fd4
lea esi, [ebx - 1]
jmp 0x441fc0
mov ebp, dword [edx + eax]
shr ebp, cl
add eax, 4
sub esi, 1
mov dword [eax - 4], ebp
jne 0x441fc0
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
inc ecx
add eax, 0x44
sub edx, 0x44
mov dword [esp + 0x18], eax
cmp ecx, edi
jb 0x441fb3
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
inc ecx
push ecx
push edx
lea eax, [esp + 0xc8]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x38]
push ebp
lea edx, [esp + 0x614]
push edx
push eax
push ecx
call fcn.00448590
mov eax, dword [esp + 0x4c]
add esp, 0x20
mov ecx, dword [esp + 0x804]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005cfa37
add esp, 0x7fc
ret
Function at 0x449b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [esp + 0x7c]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x80]
mov ebx, dword [edi + 0x6860]
lea ecx, [esi + eax]
mov dword [esp + 0x28], ecx
lea ecx, [edx + ebp]
lea edx, [edi + 0x1004]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0x6814]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 0x6818]
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0x681c]
mov dword [esp + 0x30], edx
mov edx, dword [edi + 0x6858]
push edx
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x685c]
mov dword [esp + 0x20], ecx
add ebx, ecx
push esi
lea ecx, [edi + 0x1808]
push eax
push ecx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x98]
call fcn.004493b0
add esp, 0x18
cmp eax, 0xffffff88
ja 0x449d61
cmp dword [esp + 0x80], 0
lea edx, [eax + esi]
je 0x449d25
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x74], eax
add eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
mov esi, 1
sub eax, edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], esi
mov dword [esp + 0x70], esi
call fcn.004474d0
cmp eax, 0xffffff88
jbe 0x449c45
mov eax, 0xffffffec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
lea edx, [esp + 0x58]
push edx
mov eax, edi
lea edx, [esp + 0x4c]
call fcn.004475d0
lea eax, [esp + 0x64]
add esp, 4
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x4c]
call fcn.004475d0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x6c]
add esp, 4
push ecx
lea edx, [esp + 0x4c]
call fcn.004475d0
add esp, 4
lea ecx, [esp + 0x48]
call fcn.00440da0
cmp eax, 2
jg 0x449d17
jmp 0x449ca5
mov esi, 1
cmp dword [esp + 0x80], 0
je 0x449d25
sub dword [esp + 0x80], esi
lea edx, [esp + 0x3c]
push edx
lea esi, [esp + 0x4c]
call fcn.00449790
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add esp, 4
push eax
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x4c]
push ebx
lea eax, [esp + 0x28]
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
push edx
mov eax, ebp
call fcn.00449990
add esp, 0x24
cmp eax, 0xffffff88
ja 0x449d61
mov ecx, esi
add ebp, eax
call fcn.00440da0
cmp eax, 2
jle 0x449ca0
cmp dword [esp + 0x80], 0
jne 0x449c38
mov eax, dword [esp + 0x18]
mov esi, ebx
sub esi, eax
cmp eax, ebx
ja 0x449c38
lea ecx, [esi + ebp]
cmp ecx, dword [esp + 0x1c]
jbe 0x449d4b
mov eax, 0xffffffba
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
push esi
push eax
push ebp
call fcn.005d3210
mov eax, esi
sub eax, dword [esp + 0x90]
add esp, 0xc
add eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
Function at 0x44bb90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7e8
mov eax, dword [0x6d4dfc]
xor eax, esp
mov dword [esp + 0x7e4], eax
push ebx
push ebp
push esi
xor ebx, ebx
push 0x40
lea eax, [esp + 0x74]
push ebx
push eax
mov esi, ecx
mov dword [esp + 0x78], ebx
call fcn.005d3190
push 0x44
lea ecx, [esp + 0x38]
push ebx
push ecx
mov dword [esp + 0x3c], ebx
call fcn.005d3190
mov ebp, dword [esi]
add esi, 4
add esp, 0x18
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], esi
cmp ebp, 0x10
jbe 0x44bbff
pop esi
pop ebp
mov eax, 0xffffffd4
pop ebx
mov ecx, dword [esp + 0x7e4]
xor ecx, esp
call fcn.005cfa37
add esp, 0x7e8
ret
push edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x800]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x808]
lea ecx, [esp + 0x78]
push ecx
lea edi, [esp + 0x500]
call fcn.0044b270
add esp, 0xc
mov dword [esp + 0x20], eax
cmp eax, 0xffffff88
ja 0x44bd87
mov edx, dword [esp + 0x18]
cmp edx, ebp
jbe 0x44bc4b
mov eax, 0xffffffd4
jmp 0x44bd87
mov esi, edx
cmp dword [esp + edx*4 + 0x70], ebx
jne 0x44bc62
cmp esi, ebx
je 0x44bda0
dec esi
cmp dword [esp + esi*4 + 0x70], ebx
je 0x44bc53
xor ebp, ebp
lea eax, [ebp + 1]
mov dword [esp + 0x10], ebp
cmp esi, eax
jb 0x44bc83
nop
mov ecx, ebp
add ebp, dword [esp + eax*4 + 0x70]
mov dword [esp + eax*4 + 0x2c], ecx
inc eax
cmp eax, esi
jbe 0x44bc70
mov dword [esp + 0x10], ebp
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x2c], ebp
cmp edi, ebx
jbe 0x44bcbd
movzx edx, byte [esp + eax + 0x4f4]
mov ecx, dword [esp + edx*4 + 0x2c]
mov byte [esp + ecx*2 + 0x5f4], al
inc eax
lea ebx, [ecx + 1]
mov dword [esp + edx*4 + 0x2c], ebx
mov byte [esp + ecx*2 + 0x5f5], dl
cmp eax, edi
jb 0x44bc91
mov edx, dword [esp + 0x18]
xor ebx, ebx
mov edi, dword [esp + 0x1c]
sub edi, dword [esp + 0x18]
sub edx, esi
mov eax, 1
inc edx
dec edi
mov dword [esp + 0x2c], ebx
cmp esi, eax
jb 0x44bcf9
mov ebp, dword [esp + eax*4 + 0x70]
lea ecx, [eax + edi]
shl ebp, cl
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xb4], ecx
inc eax
add ebx, ebp
cmp eax, esi
jbe 0x44bcd6
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
sub eax, edx
mov ecx, edx
mov dword [esp + 0x14], eax
cmp edx, eax
ja 0x44bd54
mov edi, edx
shl edi, 4
add edi, edx
lea edi, [esp + edi*4 + 0xb8]
mov dword [esp + 0x10], edi
mov edi, edx
neg edi
shl edi, 4
sub edi, edx
add edi, edi
add edi, edi
cmp esi, 1
jb 0x44bd47
mov eax, dword [esp + 0x10]
mov edx, esi
mov ebx, dword [edi + eax]
shr ebx, cl
add eax, 4
sub edx, 1
mov dword [eax - 4], ebx
jne 0x44bd33
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 0x44
inc ecx
sub edi, 0x44
cmp ecx, eax
jbe 0x44bd28
mov edx, dword [esp + 0x18]
inc edx
push edx
push esi
lea eax, [esp + 0xbc]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push ebp
lea edx, [esp + 0x608]
push edx
push eax
push ecx
call fcn.00448590
mov eax, dword [esp + 0x40]
add esp, 0x20
mov ecx, dword [esp + 0x7f4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005cfa37
add esp, 0x7e8
ret
or eax, 0xffffffff
jmp 0x44bd87
Function at 0x44da20
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
xor ebp, ebp
cmp ebx, ebp
jne 0x44da31
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [esp + 0x10]
push esi
push 0x54
cmp eax, ebp
je 0x44da53
mov ecx, dword [esp + 0x20]
push ecx
call eax
push 0x54
mov esi, eax
push ebp
push esi
call fcn.005d3190
add esp, 0x14
jmp 0x44da5f
push 1
call fcn.005e0d60
add esp, 8
mov esi, eax
cmp esi, ebp
jne 0x44da69
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push edi
mov edi, 1
mov dword [esi + 0x24], edi
mov eax, dword [esp + 0x18]
push 8
cmp eax, ebp
je 0x44da88
mov edx, dword [esp + 0x24]
push edx
call eax
add esp, 8
jmp 0x44da90
call fcn.005d6a0f
add esp, 4
mov dword [esi + 0x18], eax
lea eax, [esi + 0x30]
push eax
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeConditionVariable]
lea ecx, [esi + 0x48]
push ecx
call edi
lea edx, [esi + 0x4c]
push edx
call edi
lea eax, [ebx + ebx*2]
add eax, eax
mov dword [esi + 0x50], ebp
mov ecx, dword [esp + 0x18]
add eax, eax
push eax
cmp ecx, ebp
je 0x44dada
mov eax, dword [esp + 0x24]
push eax
call ecx
add esp, 8
jmp 0x44dae2
call fcn.005d6a0f
add esp, 4
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebp
mov ecx, dword [esp + 0x18]
mov dword [esi], ecx
mov edx, dword [esp + 0x1c]
mov dword [esi + 4], edx
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], ecx
cmp eax, ebp
je 0x44db63
cmp dword [esi + 0x18], ebp
je 0x44db63
cmp ebx, ebp
jbe 0x44db53
xor ebx, ebx
jmp 0x44db10
mov edi, dword [esi + 0xc]
push 0
push 0
add edi, ebx
push edi
push 0x44e930
push 0
push 0
mov dword [edi + 8], esi
mov dword [edi + 4], 0x44d950
call fcn.005d0377
add esp, 0x18
mov dword [edi], eax
test eax, eax
jne 0x44db45
call fcn.005d6b1b
cmp dword [eax], 0
jne 0x44db60
inc ebp
add ebx, 0xc
cmp ebp, dword [esp + 0x14]
jb 0x44db10
mov ebx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov eax, esi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 0x10], ebp
mov eax, esi
call fcn.0044dc10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x44dcb0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
cmp ebp, dword [esi + 0x10]
ja 0x44dcd3
test ebp, ebp
jne 0x44dcc9
lea eax, [ebp + 1]
pop ebp
add esp, 0xc
ret
mov dword [esi + 0x14], ebp
xor eax, eax
pop ebp
add esp, 0xc
ret
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov dword [esp + 8], eax
lea eax, [ebp + ebp*2]
add eax, eax
add eax, eax
push edi
push eax
test ecx, ecx
je 0x44dcf5
push edx
call ecx
add esp, 8
jmp 0x44dcfd
call fcn.005d6a0f
add esp, 4
mov edi, eax
test edi, edi
jne 0x44dd0c
lea eax, [edi + 1]
pop edi
pop ebp
add esp, 0xc
ret
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
lea ecx, [eax + eax*2]
add ecx, ecx
add ecx, ecx
push ecx
push edx
push edi
call fcn.005d3210
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
add esp, 0xc
test eax, eax
je 0x44dd4c
push eax
test ecx, ecx
je 0x44dd44
push edx
call ecx
add esp, 8
jmp 0x44dd4c
call fcn.005d606d
add esp, 4
push ebx
mov ebx, dword [esi + 0x10]
mov dword [esi + 0xc], edi
cmp ebx, ebp
jae 0x44dd98
lea ecx, [ebx + ebx*2]
lea edi, [edi + ecx*4]
lea ecx, [ecx]
push 0
push 0
push edi
push 0x44e930
push 0
push 0
mov dword [edi + 8], esi
mov dword [edi + 4], 0x44d950
call fcn.005d0377
add esp, 0x18
mov dword [edi], eax
test eax, eax
jne 0x44dd90
call fcn.005d6b1b
cmp dword [eax], 0
jne 0x44dda7
inc ebx
add edi, 0xc
cmp ebx, ebp
jb 0x44dd60
pop ebx
pop edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
xor eax, eax
pop ebp
add esp, 0xc
ret
mov dword [esi + 0x10], ebx
pop ebx
pop edi
mov eax, 1
pop ebp
add esp, 0xc
ret