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

Disassembly:
sub esp, 0x22c
push esi
mov esi, ecx
cmp dword [esi + 0x20], 0xffffffff
jne 0x43ebb7
mov eax, dword [esi]
mov esi, dword [esi + 4]
push 0
push 0
push eax
push 0
push 0
push 0x12d
push esi
mov ecx, 0x4d0f18
call fcn.00451a90
pop esi
add esp, 0x22c
ret 4
push ebx
push ebp
push edi
mov edi, dword [esp + 0x240]
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push edi
call dword [sym.imp.MSVCRT.dll__wstat]
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 8
test eax, eax
jne 0x43ec2b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43ec2b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea ecx, [esp + 0x3c]
push str._s._u
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
lea edx, [esp + 0x34]
push edx
push edi
call ebp
test eax, eax
jne 0x43ec2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push str._CDiskFile::RenameFile__file__s__already_exist
push 0x4d1048
mov dword [esi], eax
call fcn.00453a60
add esp, 0xc
jmp 0x43ec74
mov ecx, esi
call fcn.0043f4c0
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x43ec3e
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push edi
push eax
call ebp
test eax, eax
jne 0x43ec63
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CDiskFile::RenameFile__MoveFile_fail__error_code_is__d
push 0x4d1048
mov dword [esi], eax
call fcn.00453a60
add esp, 0xc
jmp 0x43ec74
push 1
push edi
mov ecx, esi
call fcn.0043f3a0
cmp eax, 1
jne 0x43ec74
mov ebx, eax
mov eax, dword [esi]
mov esi, dword [esi + 4]
push 0
push 0
push 0
push eax
push ebx
push 0x130
push esi
mov ecx, 0x4d0f18
call fcn.00451a90
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x22c
ret 4

Function at 0x43f260
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x20]
push 0
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x43f2a0
call edi
test eax, eax
je 0x43f2a0
call edi
push eax
mov dword [esi], eax
push str._CDiskFile::__write_disk__SetFilePointer_fail__error_code_is__d
jmp 0x43f2dc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43f2d2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43f2d2
pop edi
mov eax, 1
pop esi
pop ecx
ret 0x10
call edi
push eax
mov dword [esi], eax
push str._CDiskFile::__write_disk__WriteFile_fail__error_code_is__d
push 0x4d1048
call fcn.00453a60
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ecx
ret 0x10
Function at 0x43f300
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x20]
push 0
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x43f340
call edi
test eax, eax
je 0x43f340
call edi
push eax
mov dword [esi], eax
push str._CDiskFile::__read_disk__SetFilePointer_fail__error_code_is__d
jmp 0x43f37c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43f372
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x43f372
pop edi
mov eax, 1
pop esi
pop ecx
ret 0x10
call edi
push eax
mov dword [esi], eax
push str._CDiskFile::__read_disk__ReadFile_fail__error_code_is__d
push 0x4d1048
call fcn.00453a60
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ecx
ret 0x10
Function at 0x448110
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push 0
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push eax
push 0x448dc0
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x448144
pop esi
ret
mov eax, dword [esi + 8]
push edi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 8]
mov edi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esi + 8], 0
test edi, edi
pop edi
pop esi
sete al
ret

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

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, ecx
call esi
sub eax, dword [edi + 0x14]
cmp eax, 0x1f4
jbe 0x44869b
call esi
mov dword [edi + 0x14], eax
mov ebx, dword [edi + 0xe8]
xor ebp, ebp
mov esi, dword [ebx]
cmp esi, ebx
je 0x44865e
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x448658
inc ebp
mov esi, dword [esi]
cmp esi, ebx
jne 0x44864b
mov eax, dword [edi + 0x10]
cmp eax, ebp
ja 0x44866c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov ebx, dword [edi + 0xe8]
sub eax, ebp
mov ebp, eax
mov esi, dword [ebx]
cmp esi, ebx
je 0x44869b
test ebp, ebp
je 0x44869b
mov edi, dword [esi + 8]
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 8]
test eax, eax
je 0x448695
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
dec ebp
mov esi, dword [esi]
cmp esi, ebx
jne 0x44867c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x44ca10
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ac23b
push eax
mov eax, 0x1810
mov dword fs:[0], esp
call fcn.004a0d60
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, ecx
call ebp
sub eax, dword [esi + 0x109c]
cmp eax, 0xea60
jbe 0x44cbc6
push ebx
push edi
lea ecx, [esp + 0x14]
call fcn.00461d70
xor ebx, ebx
push str.SOFTWARELiveUpdate360_
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1830], ebx
call fcn.00461db0
test eax, eax
je 0x44caa9
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str.proxytype
call fcn.00461e00
test eax, eax
jne 0x44cab1
push 1
push str.proxytype
lea ecx, [esp + 0x1c]
call fcn.00461fd0
mov eax, 1
mov dword [esp + 0x10], eax
jmp 0x44cab5
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x44cab5
mov eax, dword [esp + 0x10]
cmp eax, 1
mov dword [esi + 0x10a0], eax
jne 0x44cb9f
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x822]
mov word [esp + 0x820], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x820]
lea edx, [esp + 0x20]
stosw word es:[edi], ax
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], ebx
call fcn.0044a6f0
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x78]
add esp, 0xc
cmp ecx, eax
jne 0x44cb60
mov eax, dword [esi + 0x1080]
cmp eax, ebx
jne 0x44cb2a
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea edx, [esp + 0x20]
push eax
push edx
call edi
add esp, 8
test eax, eax
jne 0x44cb60
mov eax, dword [esi + 0x1090]
cmp eax, ebx
jne 0x44cb4e
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
lea eax, [esp + 0x824]
push eax
call edi
add esp, 8
test eax, eax
je 0x44cb9f
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x1022]
mov word [esp + 0x1020], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1020]
push ecx
push str.ieproxy
lea ecx, [esp + 0x1c]
stosw word es:[edi], ax
call fcn.00461ec0
lea edx, [esp + 0x1020]
mov ecx, esi
push edx
call fcn.0044cbe0
lea ecx, [esp + 0x14]
call fcn.00461de0
call ebp
lea ecx, [esp + 0x14]
mov dword [esi + 0x109c], eax
mov dword [esp + 0x1828], 0xffffffff
call fcn.00461da0
pop edi
pop ebx
mov ecx, dword [esp + 0x1818]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x181c
ret
Function at 0x44d980
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov ebp, ecx
push edi
push ebx
lea esi, [ebp + 0x44]
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
add esp, 4
cmp edi, 0x7ffffffd
jbe 0x44d9aa
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [esi + 4]
xor edx, edx
cmp ecx, edx
je 0x44d9d2
mov al, byte [ecx - 1]
test al, al
je 0x44d9d2
cmp al, 0xff
je 0x44d9d2
cmp edi, edx
jne 0x44d9f8
dec al
mov byte [ecx - 1], al
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
jmp 0x44da2b
cmp edi, edx
jne 0x44d9e2
push 1
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x44da2b
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x44d9ee
cmp eax, edi
jae 0x44da01
push 1
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Copy_unsigned_int_]
mov eax, dword [esi + 4]
mov ecx, ebx
test edi, edi
jbe 0x44da1f
mov edx, edi
mov bx, word [ecx]
add ecx, 2
mov word [eax], bx
add eax, 2
dec edx
jne 0x44da0c
mov ebx, dword [esp + 0x38]
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov word [eax + edi*2], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x44da43
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebp + 0x10], 0
push 0x4c4fa0
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov esi, eax
test esi, esi
je 0x44daf0
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push ebx
call edi
push 0x4c4fa0
mov ebx, eax
call edi
add esp, 8
cmp ebx, eax
jbe 0x44daf0
push 0x4c4fa0
call edi
lea ecx, [esp + 0x14]
lea esi, [esi + eax*2]
push ecx
push esi
call dword [sym.imp.MSVCRT.dll__wstat]
add esp, 0xc
test eax, eax
jne 0x44daf0
mov edx, dword [esp + 0x24]
inc edx
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
je 0x44daf0
push 0x4c0a34
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x44daf0
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x10]
push esi
push eax
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x34]
push esi
mov byte [edx + eax], 0
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 4
Function at 0x44db00
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x44db10
xor eax, eax
pop ebx
ret 8
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
lea esi, [ebx + 0x44]
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
add esp, 4
cmp edi, 0x7ffffffd
jbe 0x44db34
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44db5a
mov al, byte [ecx - 1]
test al, al
je 0x44db5a
cmp al, 0xff
je 0x44db5a
test edi, edi
jne 0x44db80
dec al
push edi
mov byte [ecx - 1], al
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x44dba3
test edi, edi
jne 0x44db6a
push 1
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x44dba3
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x44db76
cmp eax, edi
jae 0x44db89
push 1
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push edi
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Copy_unsigned_int_]
mov eax, dword [esi + 4]
push edi
push ebp
push eax
call fcn.00411a90
mov ecx, dword [esi + 4]
mov dword [esi + 8], edi
add esp, 0xc
mov word [ecx + edi*2], 0
push 0x1008
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x44dbf7
lea edx, [esi + 4]
push ebp
mov dword [esi], 0
mov dword [esi + 0x1004], 0
push edx
mov dword [esi], ebx
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov eax, dword [esp + 0x20]
push 0
push 0
push esi
push 0x44c2b0
push 0
push 0
mov dword [esi + 0x1004], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x20
mov dword [ebx + 0x64], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x44e7b0
Capabilities:
Get networking parameters

Disassembly:
mov eax, 0x1000
call fcn.004a0d60
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_malloc]
push ebp
push esi
push edi
push 0x248
call ebx
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x248
push eax
push esi
call sub.iphlpapi.dll_GetNetworkParams
xor ecx, ecx
mov ebp, dword [sym.imp.MSVCRT.dll_free]
cmp eax, 0x6f
sete cl
mov edi, ecx
test edi, edi
je 0x44e81b
push esi
call ebp
mov edx, dword [esp + 0x14]
push edx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x44e817
lea eax, [esp + 0x10]
push eax
push esi
call sub.iphlpapi.dll_GetNetworkParams
mov edi, eax
test edi, edi
jne 0x44e88c
mov al, byte [esi + 0x84]
lea edx, [esi + 0x84]
test al, al
je 0x44e88c
mov ecx, 0x3fe
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push 0x7fe
push ecx
push edx
stosw word es:[edi], ax
call fcn.004535f0
mov eax, dword [esp + 0x1024]
mov ecx, dword [esp + 0x1020]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push str.http:__wpad._s_wpad.dat
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call ebp
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000
ret 8
test esi, esi
je 0x44e896
push esi
call ebp
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1000
ret 8

Function at 0x44f7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ac3a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x44f7f3
mov eax, dword [esi]
jmp 0x44f7f5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x44f816
push 0x4c4c80
push edi
push eax
call fcn.00439222
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x44f876
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x44f876
mov eax, dword [esi]
test eax, eax
je 0x44f85d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x44f86d
push eax
call fcn.0049c000
add esp, 4
push esi
call fcn.0049c000
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x450490
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.004507e0
push 0
push 0
push 0
push 0
push 0x4000
lea ecx, [esi + 0x28]
call fcn.004527c0
cmp eax, 1
je 0x4504b6
xor eax, eax
pop esi
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x14], 1
call edi
mov dword [esi + 0xc], eax
call edi
push 0
push 0
push esi
push 0x44feb0
push 0
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
xor ecx, ecx
add esp, 0x18
cmp ecx, eax
mov dword [esi], eax
sbb eax, eax
pop edi
neg eax
pop esi
ret

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

Disassembly:
sub esp, 0x260
push ebx
mov ebx, ecx
push esi
mov dword [esp + 0xc], ebx
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4507b6
mov esi, dword [ebx + 0x8c]
mov eax, dword [esp + 0x26c]
inc esi
mov dword [ebx + 0x8c], esi
mov ecx, dword [eax]
cmp ecx, 0xd
jae 0x45068e
push eax
mov ecx, ebx
call fcn.00451f20
jmp 0x4506b4
cmp ecx, 0x6b
jae 0x45069d
push eax
mov ecx, ebx
call fcn.00452210
jmp 0x4506b4
cmp ecx, 0xd9
push eax
mov ecx, ebx
jae 0x4506af
call fcn.004523e0
jmp 0x4506b4
call fcn.004526c0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [ebx + 0x10]
cmp eax, 0x64
jbe 0x4507b6
push ebp
push edi
call esi
mov dword [ebx + 0x10], eax
call esi
mov ecx, dword [ebx + 0xc]
add ecx, 0x3e8
cmp ecx, eax
sbb edi, edi
neg edi
mov dword [esp + 0x18], edi
je 0x4506ec
mov edx, dword [ebx + 0x10]
mov dword [ebx + 0xc], edx
mov eax, dword [ebx + 0x1c]
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov esi, dword [eax]
cmp esi, eax
je 0x450791
jmp 0x450705
mov edi, dword [esp + 0x18]
mov ebx, dword [esi + 0x10]
push edi
mov ecx, ebx
call fcn.0046b150
mov ecx, 0x95
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.0046a2b0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x10]
lea edx, [eax + ecx]
mov ecx, dword [0x4d0fc0]
shr eax, 0xa
shr edx, 0xa
add edi, eax
mov eax, dword [esi + 8]
add ebp, edx
cmp eax, ecx
mov dword [esp + 0x10], edi
je 0x450765
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
je 0x45077e
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x45075b
jmp 0x45077e
mov eax, dword [esi + 4]
cmp esi, dword [eax + 8]
jne 0x450777
mov esi, eax
mov eax, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x45076d
cmp dword [esi + 8], eax
je 0x45077e
mov esi, eax
mov eax, dword [esp + 0x14]
cmp esi, dword [eax + 0x1c]
jne 0x450701
mov edi, dword [esp + 0x18]
mov ebx, eax
mov ecx, dword [esp + 0x10]
push ecx
push ebp
call fcn.00458b20
add esp, 8
test edi, edi
pop edi
pop ebp
je 0x4507b6
mov ecx, ebx
call fcn.004511e0
mov ecx, 0x4cfe58
call fcn.0044ca10
pop esi
pop ebx
add esp, 0x260
ret 4
Function at 0x454140
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x14]
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [ebp + 4]
mov dword [esp + 0x20], edi
call fcn.004568b0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
cmp eax, ecx
je 0x4542d1
mov eax, dword [eax + 0x10]
xor esi, esi
cmp eax, esi
je 0x4542d1
cmp dword [eax + 0x44], esi
je 0x4542d1
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x4542d1
mov dl, byte [esp + 0x18]
push edi
mov ecx, ebp
mov byte [ebx], dl
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
call fcn.00455040
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, ebx
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x4541f1
mov ecx, edi
mov edi, dword [ebx + 4]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov byte [eax + ecx], 0
mov eax, dword [ebp + 0x74]
test eax, eax
jne 0x45424c
push 0
push 0
push 0
push 0
push 0x4000
lea ecx, [ebp + 0x14]
call fcn.004563e0
cmp eax, 1
jne 0x4542d1
push 0
push 0
push 0
push 0
mov dword [ebp + 0x7c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push ebp
push 0x4542e0
push 0
push 0
mov dword [ebp + 0x78], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [ebp + 0x74], eax
test eax, eax
je 0x4542d1
push 0xffffffffffffffff
lea edx, [ebp + 0x48]
push 1
push edx
push 3
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 3
jae 0x4542d1
mov ecx, dword [ebp + 0x70]
test ecx, ecx
je 0x454277
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
push 1
call dword [eax]
mov eax, dword [ebp + 0x6c]
test eax, eax
jne 0x4542a6
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x30]
mov edx, dword [esp + 0x18]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp + 0x44]
mov edi, dword [ebp + 0x3c]
inc ecx
mov eax, ecx
sub eax, edi
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x38]
inc eax
mov dword [ebp + 0x38], eax
mov ecx, dword [ebp + 0x70]
test ecx, ecx
je 0x4542b9
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
push 1
call dword [eax + 4]
mov eax, dword [ebp + 0x20]
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4