Function at 0x40f92a
Capabilities:
Create thread
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6dc
mov eax, dword [0x413074]
xor eax, ebp
mov dword [ebp - 4], eax
fldz
xor eax, eax
push ebx
push esi
push edi
mov ebx, ecx
mov word [ebp - 0x208], ax
xor ecx, ecx
mov dword [ebp - 0x634], 1
push 0x60
pop esi
lea eax, [ebx + 0x690]
mov dword [ebp - 0x57c], ecx
push esi
mov dword [eax], ecx
or edi, 0xffffffff
mov dword [eax + 4], ecx
lea eax, [ebp - 0x2c8]
push edi
fst qword [ebp - 0x658]
push eax
fstp qword [ebp - 0x650]
mov dword [ebp - 0x5fc], ecx
mov dword [ebp - 0x628], ecx
mov dword [ebp - 0x624], ecx
mov dword [ebp - 0x630], ecx
mov dword [ebp - 0x62c], ecx
mov dword [ebp - 0x618], ecx
mov dword [ebp - 0x614], ecx
mov dword [ebp - 0x610], ecx
mov dword [ebp - 0x60c], ecx
mov dword [ebp - 0x590], ecx
mov dword [ebp - 0x58c], ecx
mov dword [ebp - 0x534], ecx
mov dword [ebp - 0x550], ecx
mov dword [ebp - 0x54c], ecx
mov dword [ebp - 0x548], ecx
mov dword [ebp - 0x544], ecx
mov dword [ebp - 0x540], ecx
mov dword [ebp - 0x530], ecx
mov dword [ebp - 0x554], ecx
mov dword [ebp - 0x598], ecx
mov dword [ebp - 0x594], ecx
mov dword [ebp - 0x588], ecx
mov dword [ebp - 0x53c], ecx
mov dword [ebp - 0x584], ecx
mov dword [ebp - 0x580], ecx
mov dword [ebx + 0x6b4], ecx
mov dword [ebx + 0x67c], ecx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x268]
push esi
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x328]
push esi
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x388]
push esi
push edi
push eax
call sub.msvcrt.dll_memset
pop ecx
pop ecx
push 0x401b00
lea ecx, [ebp - 0x528]
call fcn.0041164d
mov dword [ebp - 0x528], 0x401044
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov dword [0x413540], eax
mov dword [0x413544], edx
mov ecx, ebx
call fcn.0040f8a9
lea eax, [ebp - 0x398]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTime]
test dword [ebx + 0x658], 0x1220
jne 0x40faff
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov dword [ebx + 0x684], eax
test eax, eax
je 0x40faff
lea eax, [ebx + 0x688]
push eax
xor eax, eax
push eax
push ebx
push 0x411230
push eax
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov dword [ebx + 0x67c], eax
test eax, eax
je 0x40faf3
push edi
push dword [ebx + 0x684]
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
push dword [ebx + 0x684]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp dword [ebx + 0x6a8], 0
je 0x40fb0e
mov dword [0x413578], ebx
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x590]
push eax
push 0
lea esi, [ebx + 8]
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDiskFreeSpaceExW]
lea eax, [ebp - 0x328]
push eax
push esi
call dword [sym.imp.api_ms_win_storage_reserve_l1_1_0.dll_QueryStorageReserveEx]
mov eax, dword [ebx + 0x658]
mov ecx, 0xa00
and eax, ecx
mov byte [ebp - 0x52b], 0
cmp eax, ecx
jne 0x40fb7d
lea eax, [ebp - 0x538]
mov dword [ebp - 0x538], 1
push eax
push 0
push 2
call dword [sym.imp.ext_ms_win_storage_sense_l1_2_0.dll_GetStoragePolicySettings]
test eax, eax
js 0x40fb7d
cmp dword [ebp - 0x538], 0
jne 0x40fb7d
mov byte [ebp - 0x52b], 1
imul eax, dword [ebx + 0x6a0], 0xb0
push eax
push 0x40
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov dword [ebp - 0x5a4], eax
imul eax, dword [ebx + 0x6a0], 0x110
push eax
push 0x40
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov dword [ebp - 0x570], eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
xor ecx, ecx
mov dword [ebp - 0x564], eax
mov dword [ebp - 0x56c], edx
mov dword [ebp - 0x574], ecx
cmp dword [ebx + 0x6a0], ecx
jle 0x4104d3
mov eax, dword [ebp - 0x570]
mov edi, ecx
add eax, 0xb0
mov dword [ebp - 0x578], edi
mov dword [ebp - 0x59c], eax
mov eax, dword [ebp - 0x5a4]
add eax, 0xa4
mov dword [ebp - 0x600], eax
lea eax, [ebp - 0x628]
mov dword [ebp - 0x620], ecx
push eax
lea eax, [ebp - 0x590]
mov dword [ebp - 0x61c], ecx
push eax
push ecx
push esi
mov dword [ebp - 0x63c], ecx
mov dword [ebp - 0x568], ecx
mov dword [ebp - 0x640], ecx
mov dword [ebp - 0x638], ecx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDiskFreeSpaceExW]
lea eax, [ebp - 0x2c8]
push eax
push esi
call dword [sym.imp.api_ms_win_storage_reserve_l1_1_0.dll_QueryStorageReserveEx]
mov esi, dword [ebx + 0x6a4]
push ecx
push 0x401b10
lea ecx, [ebp - 0x460]
call fcn.0041164d
mov eax, dword [ebx + 0x668]
mov dword [ebp - 0x604], eax
mov eax, dword [ebx + 0x658]
mov dword [ebp - 0x460], 0x401038
mov dword [ebp - 0x55c], eax
mov eax, dword [esi + edi + 0x240]
mov dword [ebp - 0x558], eax
mov eax, dword [esi + edi + 0x244]
mov dword [ebp - 0x65c], eax
mov eax, dword [esi + edi + 0x248]
mov dword [ebp - 0x644], eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
test byte [0x413440], 1
mov dword [0x413538], eax
mov dword [0x41353c], edx
je 0x40fd07
xor eax, eax
cmp dword [ebp - 0x558], eax
setne al
push eax
xor eax, eax
cmp dword [ebp - 0x65c], eax
setne al
push eax
xor eax, eax
cmp dword [ebp - 0x644], eax
setne al
push eax
xor eax, eax
cmp dword [ebp - 0x604], eax
setne al
push eax
push dword [ebp - 0x55c]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 0x1c]
add eax, edi
push eax
push ecx
call fcn.0040aee7
cmp dword [ebp - 0x5a4], 0
je 0x40fd72
mov eax, dword [ebx + 0x6a4]
mov esi, dword [ebp - 0x600]
add eax, 0x1c
add eax, edi
push eax
push 0x4f
push 0x401bc0
lea eax, [esi - 0xa4]
push 0x50
push eax
call fcn.004076aa
mov eax, dword [ebx + 0x6a4]
add esp, 0x14
mov eax, dword [eax + edi + 0x248]
mov dword [esi - 4], eax
mov eax, dword [ebx + 0x6a4]
mov eax, dword [eax + edi + 0x244]
mov dword [esi], eax
mov eax, dword [ebx + 0x6a4]
mov eax, dword [eax + edi + 0x240]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x574]
mov dword [esi + 8], eax
mov ecx, dword [ebx + 0x6a4]
mov eax, dword [ecx + edi + 0x238]
mov dword [ebp - 0x558], eax
test eax, eax
jne 0x40fd8f
inc dword [ebp - 0x544]
mov eax, dword [ecx + edi + 0x244]
cmp eax, 1
jne 0x40fda1
inc dword [ebp - 0x540]
mov edx, dword [ebx + 0x658]
test edx, 0x200
je 0x40fe58
cmp dword [ecx + edi + 0x248], 0
je 0x40fdf9
mov eax, dword [ecx + edi + 0x238]
or eax, dword [ecx + edi + 0x23c]
je 0x40fdf9
test edx, 0x400
jne 0x40fde8
cmp dword [ebx + 0x660], 0
jne 0x40fde8
test byte [ecx + edi + 0x24c], 2
jne 0x40fdf9
test edx, 0x800
je 0x40fe66
cmp byte [ebp - 0x52b], 0
je 0x40fe66
inc dword [ebp - 0x530]
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x460], 0x401038
call fcn.0041132a
lea ecx, [ebp - 0x460]
call fcn.0040c115
mov eax, dword [ebp - 0x574]
add edi, 0x250
add dword [ebp - 0x600], 0xb0
inc eax
mov dword [ebp - 0x574], eax
mov dword [ebp - 0x578], edi
cmp eax, dword [ebx + 0x6a0]
jge 0x4104d3
lea esi, [ebx + 8]
xor ecx, ecx
jmp 0x40fbff
cmp dword [ecx + edi + 0x240], 0
je 0x40fdf9
test eax, eax
je 0x40fdf9
lea eax, [ebp - 0x398]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTime]
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x398]
push eax
call dword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_SystemTimeToFileTime]
mov eax, dword [ebx + 0x6a4]
mov eax, dword [eax + edi + 0x228]
test eax, eax
je 0x40fecf
push eax
mov edx, 0x100
lea ecx, [ebp - 0x208]
call fcn.004075b9
test dword [ebx + 0x658], 0x1220
jne 0x40fecf
lea eax, [ebp - 0x208]
push eax
push 0
push 0x402
push dword [ebx + 0x680]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx + 0x6a4]
xor ecx, ecx
add eax, edi
mov dword [ebx + 0x698], ecx
mov dword [ebx + 0x69c], ecx
cmp dword [eax + 0x14], ecx
je 0x40ffc5
cmp dword [ebx + 0x6a8], ecx
je 0x40ffc5
inc dword [ebp - 0x554]
test eax, eax
je 0x40ff09
mov dword [0x413574], eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
push dword [ebx + 0x6ac]
mov dword [ebp - 0x63c], eax
mov eax, dword [ebx + 0x6a4]
push 0
push dword [ebp - 0x558]
mov dword [ebp - 0x568], edx
mov ecx, dword [eax + edi + 0x14]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x414340]
call esi
mov esi, eax
mov dword [ebp - 0x57c], esi
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov dword [ebp - 0x640], eax
mov dword [ebp - 0x638], edx
test esi, esi
jns 0x40ff71
inc dword [ebp - 0x54c]
mov dword [ebx + 0x654], 2
mov eax, dword [ebx + 0x6a4]
push dword [ebx + 0x6ac]
mov ecx, dword [eax + edi + 0x14]
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x620]
push eax
push ecx
mov ecx, esi
call dword [0x414340]
call esi
mov dword [ebp - 0x5fc], eax
test eax, eax
jns 0x40ffb2
inc dword [ebp - 0x548]
mov dword [ebx + 0x654], 2
cmp dword [ebp - 0x57c], 0
jl 0x40ffc5
test eax, eax
js 0x40ffc5
inc dword [ebp - 0x550]
mov ecx, dword [ebx + 0x6a4]
lea edx, [ebx + 0x690]
mov eax, dword [ecx + edi + 0x238]
add dword [edx], eax
mov eax, dword [ecx + edi + 0x23c]
adc dword [edx + 4], eax
xor eax, eax
test dword [ebx + 0x658], 0x1220
mov dword [ebx + 0x698], eax
mov dword [ebx + 0x69c], eax
jne 0x410011
push eax
push eax
push 0x401
push dword [ebx + 0x680]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x590]
push eax
push 0
lea esi, [ebx + 8]
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDiskFreeSpaceExW]
lea eax, [ebp - 0x268]
push eax
push esi
call dword [sym.imp.api_ms_win_storage_reserve_l1_1_0.dll_QueryStorageReserveEx]
mov edx, dword [ebp - 0x580]
xor eax, eax
mov esi, dword [ebp - 0x598]
inc eax
mov ecx, eax
sub ecx, 1
je 0x4100ff
sub ecx, 1
je 0x4100d5
sub ecx, 1
je 0x410125
mov ecx, dword [ebp - 0x594]
inc eax
mov edi, dword [ebp - 0x53c]
mov dword [ebp - 0x55c], ecx
mov dword [ebp - 0x594], ecx
mov ecx, dword [ebp - 0x588]
mov dword [ebp - 0x560], esi
mov dword [ebp - 0x560], ecx
mov dword [ebp - 0x588], ecx
mov ecx, edi
mov dword [ebp - 0x55c], edi
mov edi, dword [ebp - 0x578]
mov dword [ebp - 0x53c], ecx
mov ecx, dword [ebp - 0x584]
mov dword [ebp - 0x598], esi
mov dword [ebp - 0x560], ecx
mov dword [ebp - 0x55c], edx
mov dword [ebp - 0x584], ecx
mov dword [ebp - 0x580], edx
cmp eax, 4
jb 0x410048
jmp 0x410149
mov ecx, dword [ebp - 0x2b8]
sub ecx, dword [ebp - 0x258]
mov dword [ebp - 0x588], ecx
mov ecx, dword [ebp - 0x2b4]
sbb ecx, dword [ebp - 0x254]
mov dword [ebp - 0x53c], ecx
inc eax
jmp 0x410048
mov esi, dword [ebp - 0x2c0]
sub esi, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x2bc]
sbb ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x598], esi
mov dword [ebp - 0x594], ecx
jmp 0x4100f9
mov eax, dword [ebp - 0x2b0]
sub eax, dword [ebp - 0x250]
mov dword [ebp - 0x584], eax
mov eax, dword [ebp - 0x2ac]
sbb eax, dword [ebp - 0x24c]
mov dword [ebp - 0x580], eax
lea eax, [ebp - 0x398]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTime]
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x398]
push eax
call dword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_SystemTimeToFileTime]
mov eax, dword [ebp - 0x640]
mov edx, 0x80000000
sub eax, dword [ebp - 0x63c]
mov ecx, dword [ebp - 0x638]
sbb ecx, dword [ebp - 0x568]
xor esi, esi
and dword [ebp - 0x678], 0
mov dword [ebp - 0x670], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, edx
mov dword [ebp - 0x66c], ecx
xor ecx, ecx
fild qword [ebp - 0x670]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x568], ecx
fild qword [ebp - 0x678]
fchs
faddp st(1)
fstp qword [ebp - 0x560]
fld qword [ebp - 0x560]
fdiv qword [0x401d00]
fld qword [0x401d08]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x4101fc
fsub st(1), st(0)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4101fe
add esi, ecx
adc ecx, edx
mov dword [ebp - 0x568], ecx
jmp 0x4101fe
fstp st(0)
call sub.msvcrt.dll__ftol2
add eax, esi
mov ecx, edx
mov dword [ebp - 0x6c0], eax
adc ecx, dword [ebp - 0x568]
xor edx, edx
mov dword [ebp - 0x55c], eax
sub esp, 0x18
mov eax, ecx
mov dword [ebp - 0x604], ecx
and eax, 0x7fffffff
mov dword [ebp - 0x5b0], edx
mov dword [ebp - 0x6bc], eax
and ecx, 0x80000000
fild qword [ebp - 0x6c0]
mov dword [ebp - 0x5ac], ecx
fild qword [ebp - 0x5b0]
fchs
faddp st(1)
fstp qword [ebp - 0x648]
fld qword [ebp - 0x648]
mov ecx, dword [ebx + 0x6a4]
fst qword [ebp - 0x648]
fstp qword [esp + 0x10]
lea esi, [ecx + 4]
add esi, edi
mov edi, esp
cmp dword [ebx + 0x668], edx
setne al
movsd dword es:[edi], dword [esi]
movzx eax, al
push eax
push dword [ebx + 0x658]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 8]
push eax
push dword [ebp - 0x5fc]
push dword [ebp - 0x57c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x578]
cmp dword [ecx + edi + 0x240], edx
setne al
cmp dword [ecx + edi + 0x244], edx
movzx eax, al
push eax
setne al
cmp dword [ecx + edi + 0x248], edx
movzx eax, al
push eax
setne al
cmp dword [ebx + 0x6b4], edx
movzx eax, al
push eax
setne al
movzx eax, al
push eax
push ecx
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp - 0x62c]
lea eax, [edi + 0x1c]
push dword [ebp - 0x630]
add eax, ecx
push dword [ebp - 0x624]
push dword [ebp - 0x628]
push edx
push dword [ebp - 0x558]
push dword [ebp - 0x61c]
push dword [ebp - 0x620]
push dword [ecx + edi + 0x234]
push eax
call fcn.0040be0c
cmp dword [ebp - 0x570], 0
je 0x41045f
mov eax, dword [ebx + 0x6a4]
add eax, 0x1c
add eax, edi
push eax
mov eax, dword [ebp - 0x59c]
push 0x4f
push 0x401bc0
add eax, 0xffffff50
push 0x50
push eax
call fcn.004076aa
mov edx, dword [ebp - 0x59c]
lea esi, [edi + 4]
add esi, dword [ebx + 0x6a4]
lea edi, [ebp - 0x6d8]
mov eax, dword [ebp - 0x598]
add esp, 0x14
mov ecx, dword [ebp - 0x61c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [edx + 0x2c], 0
lea edi, [edx - 0x10]
mov dword [edx], eax
lea esi, [ebp - 0x6d8]
mov eax, dword [ebp - 0x594]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x588]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x53c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x584]
movsd dword es:[edi], dword [esi]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x580]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x55c]
movsd dword es:[edi], dword [esi]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x604]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x620]
movsd dword es:[edi], dword [esi]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x558]
mov dword [edx + 0x28], eax
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x578]
mov dword [edx + 0x24], ecx
mov eax, dword [ebp - 0x628]
mov ecx, dword [ebp - 0x624]
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], ecx
mov eax, dword [ebp - 0x630]
mov ecx, dword [ebp - 0x62c]
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], ecx
mov eax, dword [ebx + 0x6a4]
mov eax, dword [eax + edi + 0x248]
mov dword [edx + 0x48], eax
mov eax, dword [ebx + 0x6a4]
mov eax, dword [eax + edi + 0x244]
mov dword [edx + 0x4c], eax
mov eax, dword [ebx + 0x6a4]
mov eax, dword [eax + edi + 0x240]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 0x57c]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 0x5fc]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x574]
mov dword [edx + 0x5c], eax
jmp 0x410465
mov edx, dword [ebp - 0x59c]
fld qword [ebp - 0x648]
add edx, 0x110
fadd qword [ebp - 0x650]
inc dword [ebp - 0x534]
cmp dword [ebx + 0x6b4], 1
mov dword [ebp - 0x59c], edx
fstp qword [ebp - 0x650]
je 0x4104a2
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x40fdff
and dword [ebp - 0x634], 0
lea ecx, [ebp - 0x460]
mov dword [ebx + 0x654], 4
mov dword [ebp - 0x460], 0x401038
call fcn.0041132a
lea ecx, [ebp - 0x460]
call fcn.0040c115
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov esi, eax
mov edi, edx
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x590]
push eax
push 0
lea eax, [ebx + 8]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDiskFreeSpaceExW]
lea eax, [ebp - 0x388]
push eax
lea eax, [ebx + 8]
push eax
call dword [sym.imp.api_ms_win_storage_reserve_l1_1_0.dll_QueryStorageReserveEx]
sub esi, dword [ebp - 0x564]
mov dword [ebp - 0x5b0], esi
lea esi, [ebx + 8]
sbb edi, dword [ebp - 0x56c]
xor ecx, ecx
mov eax, edi
and edi, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x5ac], edi
fild qword [ebp - 0x5b0]
mov dword [ebp - 0x5ac], eax
lea edi, [ebx + 0x690]
mov dword [ebp - 0x5b0], ecx
push ecx
fild qword [ebp - 0x5b0]
push ecx
fchs
faddp st(1)
fstp qword [ebp - 0x668]
fld qword [ebp - 0x668]
fdiv qword [0x401d00]
cmp dword [ebx + 0x668], ecx
setne al
cmp dword [ebx + 0x6b4], ecx
movzx eax, al
fst qword [ebp - 0x658]
fstp qword [esp]
push eax
push dword [ebx + 0x658]
setne al
push esi
push dword [ebp - 0x530]
movzx eax, al
push dword [ebp - 0x540]
push dword [ebp - 0x544]
push dword [ebp - 0x548]
push dword [ebp - 0x54c]
push dword [ebp - 0x550]
push dword [ebp - 0x554]
push dword [ebp - 0x534]
push dword [ebx + 0x6a0]
push eax
push ecx
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x328]
push eax
push dword [ebp - 0x60c]
mov eax, dword [ebx + 0x650]
push dword [ebp - 0x610]
push dword [ebp - 0x614]
push dword [ebp - 0x618]
push dword [ebp - 0x58c]
push dword [ebp - 0x590]
push dword [edi + 4]
push dword [edi]
push ecx
push dword [ebx + 0x640]
push dword [eax*4 + 0x401cc4]
call fcn.0040bb3c
cmp dword [ebp - 0x5a4], 0
je 0x410898
mov ax, word [ebx + 0x6a0]
mov word [ebp - 0x52c], ax
call fcn.00408ca7
mov ecx, eax
cmp dword [ecx], 0
jbe 0x41088c
push 0x4000
push 0
call fcn.00404253
test al, al
je 0x41088c
mov eax, dword [ebp - 0x5a4]
mov dword [ebp - 0x688], eax
movzx eax, word [ebp - 0x52c]
imul eax, eax, 0xb0
push 0xc
pop edx
and dword [ebp - 0x67c], 0
mov dword [ebp - 0x68c], 2
mov dword [ebp - 0x684], eax
lea eax, [ebp - 0x52c]
mov dword [ebp - 0x690], eax
lea eax, [ebp - 0x388]
mov dword [ebp - 0x698], eax
lea eax, [ebp - 0x328]
mov dword [ebp - 0x6a0], eax
lea eax, [ebp - 0x650]
mov dword [ebp - 0x56c], eax
lea eax, [ebp - 0x658]
mov dword [ebp - 0x564], eax
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x538], eax
mov eax, dword [ebp - 0x540]
mov dword [ebp - 0x608], eax
mov eax, dword [ebp - 0x544]
mov dword [ebp - 0x5b4], eax
mov eax, dword [ebp - 0x548]
mov dword [ebp - 0x5b8], eax
mov eax, dword [ebp - 0x54c]
mov dword [ebp - 0x5bc], eax
mov eax, dword [ebp - 0x550]
mov dword [ebp - 0x5c0], eax
mov eax, dword [ebp - 0x554]
mov dword [ebp - 0x5c4], eax
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x5c8], eax
mov eax, dword [ebx + 0x6a0]
mov dword [ebp - 0x5cc], eax
mov eax, dword [ebx + 0x6b4]
mov dword [ebp - 0x5d0], eax
lea eax, [ebp - 0x610]
mov dword [ebp - 0x5d4], eax
lea eax, [ebp - 0x618]
mov dword [ebp - 0x5d8], eax
lea eax, [ebp - 0x590]
mov dword [ebp - 0x5dc], eax
mov eax, dword [ebx + 0x640]
mov dword [ebp - 0x5e4], eax
mov eax, dword [ebx + 0x650]
mov word [ebp - 0x694], dx
mov word [ebp - 0x69c], dx
mov dword [ebp - 0x5e0], edi
mov eax, dword [eax*4 + 0x401cc4]
mov dword [ebp - 0x5e8], eax
mov eax, dword [ebx + 0x668]
mov dword [ebp - 0x5ec], eax
mov eax, dword [ebx + 0x658]
mov dword [ebp - 0x5f0], eax
lea eax, [ebp - 0x680]
mov dword [ebp - 0x5f8], eax
lea eax, [ebp - 0x688]
push eax
lea eax, [ebp - 0x690]
mov dword [ebp - 0x5f4], esi
push eax
lea eax, [ebp - 0x698]
mov dword [ebp - 0x680], 0x1000000
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0x564]
push eax
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x5b4]
push eax
lea eax, [ebp - 0x5b8]
push eax
lea eax, [ebp - 0x5bc]
mov edx, 0x402684
push eax
lea eax, [ebp - 0x5c0]
push eax
lea eax, [ebp - 0x5c4]
push eax
lea eax, [ebp - 0x5c8]
push eax
lea eax, [ebp - 0x5cc]
push eax
lea eax, [ebp - 0x5d0]
push eax
lea eax, [ebp - 0x5d4]
push eax
lea eax, [ebp - 0x5d8]
push eax
lea eax, [ebp - 0x5dc]
push eax
lea eax, [ebp - 0x5e0]
push eax
lea eax, [ebp - 0x5e4]
push eax
lea eax, [ebp - 0x5e8]
push eax
lea eax, [ebp - 0x5ec]
push eax
lea eax, [ebp - 0x5f0]
push eax
lea eax, [ebp - 0x5f4]
push eax
lea eax, [ebp - 0x5f8]
push eax
push ecx
push ecx
call fcn.00404dea
push dword [ebp - 0x5a4]
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
cmp dword [ebp - 0x570], 0
je 0x410b16
mov eax, dword [ebp - 0x534]
mov word [ebp - 0x52c], ax
call fcn.00408ca7
mov ecx, eax
cmp dword [ecx], 0
jbe 0x410b0a
push 0x4000
push 0
call fcn.00404253
test al, al
je 0x410b0a
mov eax, dword [ebp - 0x570]
mov dword [ebp - 0x6a8], eax
movzx eax, word [ebp - 0x52c]
imul eax, eax, 0x110
push 0xc
pop edx
and dword [ebp - 0x5a4], 0
mov dword [ebp - 0x6ac], 2
mov dword [ebp - 0x6a4], eax
lea eax, [ebp - 0x52c]
mov dword [ebp - 0x6b0], eax
lea eax, [ebp - 0x388]
mov dword [ebp - 0x6b8], eax
lea eax, [ebp - 0x328]
mov dword [ebp - 0x6c8], eax
lea eax, [ebp - 0x650]
mov dword [ebp - 0x5f8], eax
lea eax, [ebp - 0x658]
mov dword [ebp - 0x5f4], eax
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x5f0], eax
mov eax, dword [ebp - 0x540]
mov dword [ebp - 0x5ec], eax
mov eax, dword [ebp - 0x544]
mov dword [ebp - 0x5e8], eax
mov eax, dword [ebp - 0x548]
mov dword [ebp - 0x5e4], eax
mov eax, dword [ebp - 0x54c]
mov dword [ebp - 0x5e0], eax
mov eax, dword [ebp - 0x550]
mov dword [ebp - 0x5dc], eax
mov eax, dword [ebp - 0x554]
mov dword [ebp - 0x5d8], eax
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x5d4], eax
mov eax, dword [ebx + 0x6a0]
mov dword [ebp - 0x5d0], eax
mov eax, dword [ebx + 0x6b4]
mov dword [ebp - 0x5cc], eax
lea eax, [ebp - 0x610]
mov dword [ebp - 0x5c8], eax
lea eax, [ebp - 0x618]
mov dword [ebp - 0x5c4], eax
lea eax, [ebp - 0x590]
mov dword [ebp - 0x5c0], eax
mov eax, dword [ebx + 0x640]
mov dword [ebp - 0x5b8], eax
mov eax, dword [ebx + 0x650]
mov word [ebp - 0x6b4], dx
mov word [ebp - 0x6c4], dx
mov dword [ebp - 0x5bc], edi
mov eax, dword [eax*4 + 0x401cc4]
mov dword [ebp - 0x5b4], eax
mov eax, dword [ebx + 0x668]
mov dword [ebp - 0x608], eax
mov eax, dword [ebx + 0x658]
mov dword [ebp - 0x56c], eax
lea eax, [ebp - 0x5a8]
mov dword [ebp - 0x538], eax
lea eax, [ebp - 0x6a8]
push eax
lea eax, [ebp - 0x6b0]
mov dword [ebp - 0x564], esi
push eax
lea eax, [ebp - 0x6b8]
mov dword [ebp - 0x5a8], 0x1000000
push eax
lea eax, [ebp - 0x6c8]
push eax
lea eax, [ebp - 0x5f8]
push eax
lea eax, [ebp - 0x5f4]
push eax
lea eax, [ebp - 0x5f0]
push eax
lea eax, [ebp - 0x5ec]
push eax
lea eax, [ebp - 0x5e8]
push eax
lea eax, [ebp - 0x5e4]
push eax
lea eax, [ebp - 0x5e0]
mov edx, 0x402370
push eax
lea eax, [ebp - 0x5dc]
push eax
lea eax, [ebp - 0x5d8]
push eax
lea eax, [ebp - 0x5d4]
push eax
lea eax, [ebp - 0x5d0]
push eax
lea eax, [ebp - 0x5cc]
push eax
lea eax, [ebp - 0x5c8]
push eax
lea eax, [ebp - 0x5c4]
push eax
lea eax, [ebp - 0x5c0]
push eax
lea eax, [ebp - 0x5bc]
push eax
lea eax, [ebp - 0x5b8]
push eax
lea eax, [ebp - 0x5b4]
push eax
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0x564]
push eax
lea eax, [ebp - 0x538]
push eax
push ecx
push ecx
call fcn.00404dea
push dword [ebp - 0x570]
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
xor esi, esi
cmp dword [ebx + 0x6b4], esi
jne 0x410b55
mov eax, dword [ebx + 0x67c]
mov dword [ebx + 0x6b4], 1
test eax, eax
je 0x410b4f
push 0xffffffffffffffff
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
push dword [ebx + 0x67c]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov dword [ebx + 0x67c], esi
mov dword [ebx + 0x6b4], esi
lea ecx, [ebp - 0x528]
mov dword [ebp - 0x528], 0x401044
call fcn.0041132a
lea ecx, [ebp - 0x528]
call fcn.0040c115
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x634]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004124d0
leave
ret