Function at 0x460330
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573d53
mov eax, dword fs:[0]
push eax
sub esp, 0x720
mov eax, dword [0x5dccb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x714], ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x720], edi
mov byte [ebp - 0x719], 0
cmp dword [edi + 0x18], 8
lea edx, [edi + 4]
jb 0x460380
mov edx, dword [edi + 4]
push 0xfde9
push edx
lea eax, [ebp - 0x240]
push eax
call fcn.004b3d90
push 0x200
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00516300
cmp dword [ebp - 0x22c], 0x10
lea ecx, [ebp - 0x210]
push 0x100
push ecx
push dword [ebp - 0x230]
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
push eax
call fcn.004cf0a0
add esp, 0x28
or ebx, 0xffffffff
test eax, eax
jne 0x4603f5
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], ebx
call fcn.0041b080
jmp 0x460f1a
cmp dword [edi + 0x7c], 8
lea esi, [edi + 0x68]
mov dword [esi + 0x10], 0
mov eax, esi
jb 0x460409
mov eax, dword [esi]
mov edx, dword [ebp - 0x714]
xor ecx, ecx
add edx, 0xc
mov word [eax], cx
cmp dword [edx + 0x14], 8
jb 0x46041f
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x714], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460430
sub ecx, dword [ebp - 0x714]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00421fe0
lea ecx, [ebp - 0x210]
mov edx, eax
lea eax, [ecx + 2]
mov dword [ebp - 0x714], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460460
sub ecx, dword [ebp - 0x714]
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00421fe0
push 4
push str..tmp
mov ecx, eax
call fcn.00421fe0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x46049a
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4604b6
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4604af
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4604c0
mov eax, dword [esi]
push eax
push str.SoftInstaller::ParseSoftInfoTask__dll_path__s.
call fcn.0044ceb0
add esp, 8
call fcn.00435360
mov ecx, eax
call fcn.00435320
mov dword [edi + 0xfc], eax
test eax, eax
jne 0x460508
push str.SoftInstaller::ParseSoftInfoTask__create_http_task_fail.
call fcn.0044ceb0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.0041b080
jmp 0x460f1a
push str.SoftInstaller::ParseSoftInfoTask__create_http_task_success.
call fcn.0044ceb0
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x46051d
mov esi, dword [esi]
mov ecx, dword [edi + 0xfc]
push esi
mov eax, dword [ecx]
call dword [eax + 0x28]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [edi + 0xfc]
mov dword [edi + 0x120], eax
push edi
mov eax, dword [ecx]
call dword [eax]
cmp dword [edi + 0x18], 8
lea edx, [edi + 4]
jb 0x460553
mov edx, dword [edx]
mov ecx, dword [edi + 0xfc]
push edx
push 0
mov eax, dword [ecx]
call dword [eax + 4]
push 0
call fcn.00546884
add esp, 4
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], edx
call fcn.0042e350
mov ecx, eax
test ecx, ecx
je 0x46106c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x714], eax
add edi, 0x100
mov byte [ebp - 4], 1
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4605a8
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x714]
push str.ex_ary_mate__sex_ary_kind_1
push eax
call fcn.0040b270
add esp, 0xc
call fcn.0042e350
mov ecx, eax
test ecx, ecx
je 0x461076
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x710], eax
mov esi, str.start
mov byte [ebp - 4], 2
test esi, 0xffff0000
jne 0x4605ff
movzx eax, si
lea ecx, [ebp - 0x710]
push eax
call fcn.0040d890
jmp 0x4606b2
mov ecx, dword [eax - 0xc]
sub esi, eax
mov dword [ebp - 0x724], ecx
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 5
sar esi, 1
or ecx, edx
jge 0x460631
push 5
lea ecx, [ebp - 0x710]
call fcn.0040b390
mov eax, dword [ebp - 0x710]
mov ecx, dword [eax - 8]
cmp esi, dword [ebp - 0x724]
ja 0x46067c
lea edx, [eax + esi*2]
test edx, edx
jne 0x460655
call fcn.00533819
mov dword [eax], 0x16
call fcn.005336f3
jmp 0x46068f
add ecx, ecx
cmp ecx, 0xa
jae 0x46066e
call fcn.00533819
mov dword [eax], 0x22
call fcn.005336f3
jmp 0x46068f
push 0xa
push edx
push eax
call fcn.00517010
add esp, 0xc
jmp 0x46068f
push 0xa
push str.start
add ecx, ecx
push ecx
push eax
call fcn.004670c0
add esp, 0x10
mov eax, dword [ebp - 0x710]
cmp dword [eax - 8], 5
jl 0x4610ad
mov dword [eax - 0xc], 5
xor ecx, ecx
mov eax, dword [ebp - 0x710]
mov word [eax + 0xa], cx
mov byte [ebp - 4], 3
call fcn.0042e350
mov ecx, eax
test ecx, ecx
je 0x461080
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x718], eax
mov ecx, str.eden_bro
mov byte [ebp - 4], 4
shr ecx, 0x10
mov esi, str.eden_bro
mov dword [ebp - 0x728], ecx
test ecx, ecx
jne 0x460702
movzx eax, si
lea ecx, [ebp - 0x718]
push eax
call fcn.0040d890
jmp 0x4607b5
mov ecx, dword [eax - 0xc]
sub esi, eax
mov dword [ebp - 0x724], ecx
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 8
sar esi, 1
or ecx, edx
jge 0x460734
push 8
lea ecx, [ebp - 0x718]
call fcn.0040b390
mov eax, dword [ebp - 0x718]
mov ecx, dword [eax - 8]
cmp esi, dword [ebp - 0x724]
ja 0x46077f
lea edx, [eax + esi*2]
test edx, edx
jne 0x460758
call fcn.00533819
mov dword [eax], 0x16
call fcn.005336f3
jmp 0x460792
add ecx, ecx
cmp ecx, 0x10
jae 0x460771
call fcn.00533819
mov dword [eax], 0x22
call fcn.005336f3
jmp 0x460792
push 0x10
push edx
push eax
call fcn.00517010
add esp, 0xc
jmp 0x460792
push 0x10
push str.eden_bro
add ecx, ecx
push ecx
push eax
call fcn.004670c0
add esp, 0x10
mov eax, dword [ebp - 0x718]
cmp dword [eax - 8], 8
jl 0x4610ad
mov dword [eax - 0xc], 8
xor ecx, ecx
mov eax, dword [ebp - 0x718]
mov word [eax + 0x10], cx
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x724], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x5e342c]
mov byte [ebp - 4], 6
test ecx, ecx
jne 0x460831
push 0x5db188
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5e342c], 0
jne 0x460820
push 0x50
call fcn.004b1019
add esp, 4
mov dword [ebp - 0x72c], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x46080e
mov ecx, eax
call fcn.0042d6a0
mov ecx, eax
jmp 0x460810
xor ecx, ecx
mov byte [ebp - 4], 6
xchg dword [ebp - 0x724], eax
mov dword [0x5e342c], ecx
push 0x5db188
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5e342c]
mov esi, dword [ebp - 0x714]
lea eax, [ebp - 0x710]
push 0
push esi
push eax
lea eax, [ebp - 0x718]
mov byte [ebp - 4], 5
push eax
call fcn.00430440
mov edx, dword [ebp - 0x718]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460872
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x710]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460893
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4608ae
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4608b8
mov eax, dword [edi]
push eax
push str.SoftInstaller::ParseSoftInfoTask__push_file__id_s.
call fcn.0044ceb0
mov esi, dword [ebp - 0x720]
add esp, 8
cmp dword [esi + 0x120], 0
je 0x460dec
push str.FileInfo::Wait__wait_file_download.
call fcn.0044ceb0
imul eax, dword [ebp + 0xc], 0x3e8
add esp, 4
push eax
push dword [esi + 0x120]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.FileInfo::Wait__wait_file_download_pass.
mov esi, eax
call fcn.0044ceb0
add esp, 4
test esi, esi
jne 0x460dec
push 0x484
lea eax, [ebp - 0x70c]
push esi
push eax
call fcn.00516300
mov ecx, dword [ebp - 0x720]
lea edx, [ebp - 0x70c]
add esp, 0xc
mov ecx, dword [ecx + 0xfc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp dword [ebp - 0x708], 2
je 0x460a92
push str.SoftInstaller::InstallFile__file_download_fail.
call fcn.0044ceb0
push dword [ebp - 0x700]
lea eax, [ebp - 0x288]
push eax
call fcn.00467020
mov esi, eax
push edi
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0xc
push str.ex_ary_mate_
push eax
call fcn.00458040
push str.ex_ary_kind_1_ex_ary_code__
push eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0xd
push eax
call fcn.00457fd0
push esi
push eax
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xe
push eax
call fcn.00457f40
add esp, 0x30
lea ecx, [ebp - 0x258]
call fcn.00410b20
lea ecx, [ebp - 0x270]
call fcn.00410b20
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x12
call fcn.00410b20
push str.downfail
lea ecx, [ebp - 0x710]
call fcn.0040e210
push str.eden_bro
lea ecx, [ebp - 0x714]
mov byte [ebp - 4], 0x13
call fcn.0040e210
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x72c], esp
mov dword [eax + 0x24], 0
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 0
cmovae eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x710]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x714]
push eax
call fcn.00434730
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00430440
mov edx, dword [ebp - 0x714]
mov eax, ebx
mov byte [ebp - 4], 0x13
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460a61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x710]
mov eax, ebx
mov byte [ebp - 4], 0x12
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460a82
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x228]
call fcn.00410b20
jmp 0x460f02
call fcn.0042e350
mov ecx, eax
test ecx, ecx
je 0x46108a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x714], eax
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 0x16
jb 0x460abb
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x714]
push str.ex_ary_mate__sex_ary_kind_1
push eax
call fcn.0040b270
add esp, 0xc
call fcn.0042e350
mov ecx, eax
test ecx, ecx
je 0x461094
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x718], eax
mov esi, str.downsucc
mov byte [ebp - 4], 0x17
test esi, 0xffff0000
jne 0x460b12
movzx eax, si
lea ecx, [ebp - 0x718]
push eax
call fcn.0040d890
jmp 0x460bbb
mov ecx, dword [eax - 8]
sub esi, eax
mov edi, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, 8
sar esi, 1
or ecx, edx
jge 0x460b3e
push 8
lea ecx, [ebp - 0x718]
call fcn.0040b390
mov eax, dword [ebp - 0x718]
mov ecx, dword [eax - 8]
cmp esi, edi
ja 0x460b85
lea edx, [eax + esi*2]
test edx, edx
jne 0x460b5e
call fcn.00533819
mov dword [eax], 0x16
call fcn.005336f3
jmp 0x460b98
add ecx, ecx
cmp ecx, 0x10
jae 0x460b77
call fcn.00533819
mov dword [eax], 0x22
call fcn.005336f3
jmp 0x460b98
push 0x10
push edx
push eax
call fcn.00517010
add esp, 0xc
jmp 0x460b98
push 0x10
push str.downsucc
add ecx, ecx
push ecx
push eax
call fcn.004670c0
add esp, 0x10
mov eax, dword [ebp - 0x718]
cmp dword [eax - 8], 8
jl 0x4610ad
mov dword [eax - 0xc], 8
xor ecx, ecx
mov eax, dword [ebp - 0x718]
mov word [eax + 0x10], cx
mov byte [ebp - 4], 0x18
call fcn.0042e350
mov ecx, eax
test ecx, ecx
je 0x46109e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x710], eax
cmp dword [ebp - 0x728], 0
mov byte [ebp - 4], 0x19
jne 0x460c02
mov eax, str.eden_bro
lea ecx, [ebp - 0x710]
movzx eax, ax
push eax
call fcn.0040d890
jmp 0x460cb0
mov ecx, dword [eax - 8]
mov esi, str.eden_bro
mov edi, dword [eax - 0xc]
sub esi, eax
mov edx, 1
sar esi, 1
sub edx, dword [eax - 4]
sub ecx, 8
or ecx, edx
jge 0x460c33
push 8
lea ecx, [ebp - 0x710]
call fcn.0040b390
mov eax, dword [ebp - 0x710]
mov ecx, dword [eax - 8]
cmp esi, edi
ja 0x460c7a
lea edx, [eax + esi*2]
test edx, edx
jne 0x460c53
call fcn.00533819
mov dword [eax], 0x16
call fcn.005336f3
jmp 0x460c8d
add ecx, ecx
cmp ecx, 0x10
jae 0x460c6c
call fcn.00533819
mov dword [eax], 0x22
call fcn.005336f3
jmp 0x460c8d
push 0x10
push edx
push eax
call fcn.00517010
add esp, 0xc
jmp 0x460c8d
push 0x10
push str.eden_bro
add ecx, ecx
push ecx
push eax
call fcn.004670c0
add esp, 0x10
mov eax, dword [ebp - 0x710]
cmp dword [eax - 8], 8
jl 0x4610ad
mov dword [eax - 0xc], 8
xor ecx, ecx
mov eax, dword [ebp - 0x710]
mov word [eax + 0x10], cx
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x72c], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x5e342c]
mov byte [ebp - 4], 0x1b
test ecx, ecx
jne 0x460d2c
push 0x5db188
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5e342c], 0
jne 0x460d1b
push 0x50
call fcn.004b1019
add esp, 4
mov dword [ebp - 0x728], eax
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x460d09
mov ecx, eax
call fcn.0042d6a0
mov ecx, eax
jmp 0x460d0b
xor ecx, ecx
mov byte [ebp - 4], 0x1b
xchg dword [ebp - 0x728], eax
mov dword [0x5e342c], ecx
push 0x5db188
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5e342c]
mov esi, dword [ebp - 0x714]
lea eax, [ebp - 0x718]
push 0
push esi
push eax
lea eax, [ebp - 0x710]
mov byte [ebp - 4], 0x1a
push eax
call fcn.00430440
mov edx, dword [ebp - 0x710]
mov eax, ebx
mov byte [ebp - 4], 0x18
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460d6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x718]
mov eax, ebx
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460d8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x460da7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
mov bl, 1
cmp edx, 0x10
jb 0x46104c
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x460ddd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4610a8
push edx
push ecx
call fcn.004b0a8e
add esp, 8
jmp 0x46104c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x460df6
mov eax, dword [edi]
push eax
push str.SoftInstaller::InstallFile__download_timeout__id_s.
call fcn.0044ceb0
add esp, 8
call fcn.0042e350
mov ecx, eax
test ecx, ecx
je 0x4610b7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x714], eax
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 8
jb 0x460e2d
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x714]
push str.ex_ary_mate__sex_ary_kind_1ex_ary_code_timeout
push eax
call fcn.0040b270
add esp, 0xc
lea ecx, [ebp - 0x718]
push str.downfail
call fcn.0040e210
push str.eden_bro
lea ecx, [ebp - 0x710]
mov byte [ebp - 4], 9
call fcn.0040e210
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x72c], esp
mov dword [eax + 0x24], 0
mov esi, dword [ebp - 0x714]
lea eax, [ebp - 0x718]
push 0
push esi
push eax
lea eax, [ebp - 0x710]
mov byte [ebp - 4], 0xb
push eax
call fcn.00434730
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00430440
mov edx, dword [ebp - 0x710]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460ec6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x718]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460ee7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x460f02
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 0xffffffff
call fcn.0041b080
mov edi, dword [ebp - 0x720]
push 0xa
xor eax, eax
mov dword [ebp - 0x218], 0
push str.exdownfail
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
call fcn.00412a70
lea eax, [edi + 0x100]
mov dword [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x258]
push str.ex_ary_mate_
push eax
call fcn.00458040
add esp, 0xc
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
lea ecx, [ebp - 0x720]
mov byte [ebp - 4], 0x1e
cmovae eax, dword [ebp - 0x228]
push eax
call fcn.0040e210
push str.eden_bro
lea ecx, [ebp - 0x714]
mov byte [ebp - 4], 0x1f
call fcn.0040e210
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x72c], esp
mov dword [eax + 0x24], 0
cmp dword [ebp - 0x244], 8
lea eax, [ebp - 0x258]
push 0
cmovae eax, dword [ebp - 0x258]
push eax
lea eax, [ebp - 0x720]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x714]
push eax
call fcn.00434730
mov ecx, eax
mov byte [ebp - 4], 0x20
call fcn.00430440
mov edx, dword [ebp - 0x714]
mov eax, ebx
mov byte [ebp - 4], 0x1f
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x461011
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x720]
mov byte [ebp - 4], 0x1e
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x461030
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x258]
call fcn.00410b20
lea ecx, [ebp - 0x228]
call fcn.00410b20
mov bl, byte [ebp - 0x719]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b0a78
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.0040af40
push 0x80004005
call fcn.0040af40
push 0x80004005
call fcn.0040af40
push 0x80004005
call fcn.0040af40
push 0x80004005
call fcn.0040af40
push 0x80004005
call fcn.0040af40
call fcn.00533703
push 0x80070057
call fcn.0040af40
push 0x80004005
call fcn.0040af40
int3