Function at 0x492410
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ba84
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x595cb8]
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
push 0x577c40
lea ecx, [ebp - 0x78]
call fcn.0041f910
push str.readAdvDataThreadFunc
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.0041f910
push str.WebInstallerMain
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0041f910
push 0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004210a0
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x6c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4924a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4924c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4924e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x59c90c]
cmp dword [eax - 0xc], 0
jne 0x49258a
push str.No_base_file_to_read_the_data_from
lea ecx, [ebp - 0x78]
call fcn.0041f910
push str.readAdvDataThreadFunc
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 3
call fcn.0041f910
push str.WebInstallerMain
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.0041f910
push 0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004210a0
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49255d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49257b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x78]
jmp 0x492fdc
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x49259f
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 6
mov dword [ebp - 0xb8], 0xffffffff
mov dword [ebp - 0xb4], 0xffffffff
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
push 0
push 0
sub esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
push 3
push SysReAllocString
push dword [0x59c90c]
call fcn.0042cca0
mov esi, eax
test esi, esi
je 0x49270b
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x492639
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x70], eax
push esi
mov byte [ebp - 4], 8
lea eax, [ebp - 0x70]
push dword [0x59c90c]
push str.readAdvDataFromExec_openFile__s__d
push eax
call fcn.00420c20
add esp, 0x10
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x74]
push eax
call fcn.00421a50
push str.readAdvDataThreadFunc
lea ecx, [ebp - 0x78]
call fcn.0041f910
push str.WebInstallerMain
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 9
call fcn.0041f910
push 2
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004210a0
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4926bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, ebx
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4926dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4926fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xb8]
call fcn.0042cc50
jmp 0x492fd2
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x98]
mov esi, dword [ebp - 0xac]
push esi
call fcn.0042c340
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], 0
cmp eax, 0xffffffff
jne 0x492765
push 0x19
push str.ReadBinaricFile_map_error
lea ecx, [ebp - 0x74]
call fcn.0041fd40
jmp 0x49279d
push 0
lea ecx, [ebp - 0xbc]
push ecx
push esi
mov esi, dword [ebp - 0x98]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x49289e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x74]
push str.ReadBinaricFile_ReadFile_error__d
push eax
call fcn.00420c20
add esp, 0xc
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x4927b2
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0xc
mov ecx, 0x56ba60
mov eax, dword [ebp - 0x74]
cmp dword [eax - 0xc], 0
cmovne ecx, eax
lea eax, [ebp - 0x70]
push ecx
push dword [0x59c90c]
push str.readAdvDataFromExec_ReadBinaricFile__s__s
push eax
call fcn.00420c20
add esp, 0x10
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x74]
push eax
call fcn.00421a50
push str.readAdvDataThreadFunc
lea ecx, [ebp - 0x78]
call fcn.0041f910
push str.WebInstallerMain
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xd
call fcn.0041f910
push 2
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004210a0
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x492847
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x78]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x492865
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, ebx
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x492883
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x98]
call fcn.0042c710
lea ecx, [ebp - 0xb8]
call fcn.0042cc50
jmp 0x492fd2
movups xmm0, xmmword [esi + 0x10]
mov ecx, 0x5a4d
movups xmm1, xmmword [esi]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [esi + 0x20]
movd eax, xmm1
movups xmmword [ebp - 0x48], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [ebp - 0x38], xmm0
cmp cx, ax
je 0x49291d
movzx eax, ax
push eax
lea eax, [ebp - 0x74]
push str.readAdvDataFromExec_ImageDosHeader__x
push eax
call fcn.00420c20
add esp, 0xc
lea ecx, [ebp - 0x70]
push str.readAdvDataThreadFunc
call fcn.0041f910
push str.WebInstallerMain
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
call fcn.0041f910
push 2
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004210a0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x6c]
jmp 0x49284e
add esi, dword [ebp - 0x2c]
lea edi, [ebp - 0x1c4]
mov ecx, 0x3e
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x1c4]
cmp eax, 0x4550
je 0x49298d
push eax
lea eax, [ebp - 0x74]
push str.readAdvDataFromExec_ImageNtHeader__x
push eax
call fcn.00420c20
add esp, 0xc
lea ecx, [ebp - 0x70]
push str.readAdvDataThreadFunc
call fcn.0041f910
push str.WebInstallerMain
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x11
call fcn.0041f910
push 2
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x6c]
jmp 0x49284e
mov eax, dword [ebp - 0x12c]
test eax, eax
jne 0x492a05
push 0x4550
lea eax, [ebp - 0x74]
push str.readAdvDataFromExec_nosignuture
push eax
call fcn.00420c20
add esp, 8
mov ecx, esp
push 0x56d3a8
call fcn.0041f910
lea ecx, [ebp - 0x74]
call fcn.00422230
add esp, 4
lea ecx, [ebp - 0x70]
push str.readAdvDataThreadFunc
call fcn.0041f910
push str.WebInstallerMain
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x13
call fcn.0041f910
push 2
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x6c]
jmp 0x49284e
lea edi, [eax - 0xc]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0xc
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x15
call fcn.0042c340
mov edx, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x98]
movq xmm0, qword [esi + edi]
movq qword [edx], xmm0
mov eax, dword [esi + edi + 8]
mov dword [edx + 8], eax
movzx edi, byte [edx]
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 4]
shl edi, 8
or edi, eax
shl ecx, 8
movzx eax, byte [edx + 2]
shl edi, 8
or edi, eax
movzx eax, byte [edx + 3]
shl edi, 8
or edi, eax
movzx eax, byte [edx + 5]
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
mov dword [ebp - 0x7c], ecx
movzx ecx, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
cmp dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], ecx
jne 0x492ec5
cmp ecx, 0x50545472
jne 0x492ec5
mov eax, dword [ebp - 0x78]
sub eax, edi
mov dword [ebp - 0x78], eax
js 0x492adf
cmp eax, 0x2710
jle 0x492b11
push eax
lea eax, [ebp - 0x74]
push str.readAdvDataFromExec_advSize_error__d
push eax
call fcn.00420c20
add esp, 8
mov ecx, esp
push 0x56d3a8
call fcn.0041f910
lea ecx, [ebp - 0x74]
call fcn.00422230
mov edx, dword [ebp - 0x8c]
add esp, 4
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x88], edx
call fcn.0042c340
push dword [ebp - 0x78]
mov edx, dword [ebp - 0x88]
lea eax, [esi + edi]
mov esi, dword [ebp - 0x8c]
mov ecx, esi
sub edx, dword [ebp - 0x8c]
push eax
call fcn.0041f200
and dword [ebp - 0xc4], 0xfffffe00
xor ecx, ecx
add esp, 8
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x78], ecx
jle 0x492dfa
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x7c], eax
nop
add esi, ecx
call fcn.0040f350
test eax, eax
je 0x492595
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0x18
test esi, esi
jne 0x492b98
xor ecx, ecx
jmp 0x492ba9
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x492ba0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x80]
call fcn.0042cb10
mov byte [ebp - 4], 0x19
mov edi, dword [ebp - 0x80]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x492ddf
mov ecx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x8c]
inc ecx
add eax, ecx
mov dword [ebp - 0x6c], eax
add esi, eax
call fcn.0040f350
test eax, eax
je 0x492595
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0x1a
test esi, esi
jne 0x492bfc
xor ecx, ecx
jmp 0x492c0a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x492c01
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x70]
call fcn.0042cb10
mov byte [ebp - 4], 0x1b
mov esi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x492d29
inc ecx
add ecx, eax
cmp dword [esi - 4], 1
mov dword [ebp - 0x6c], ecx
jle 0x492c41
push eax
lea ecx, [ebp - 0x70]
call fcn.0042c830
mov esi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x7c]
and eax, 0xffffff04
mov dword [ebp - 0x14], 0
or eax, 0x104
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x18], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x59ec20]
cmp eax, dword [ecx + 4]
jle 0x492ca7
push 0x59ec20
call fcn.004f4722
add esp, 4
cmp dword [0x59ec20], 0xffffffff
jne 0x492ca7
push 0x52c130
mov dword [0x59eb80], 0x56f1e4
call fcn.004f4b7d
push 0x59ec20
call fcn.004f46e3
add esp, 8
mov ecx, dword [0x59693c]
push 0xffffffffffffffff
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1e
push eax
push ecx
push edi
lea ecx, [ebp - 0xcc]
call fcn.00438bb0
mov ecx, eax
call fcn.00438490
lea ecx, [ebp - 0x20]
call fcn.00438390
mov byte [ebp - 4], 0x19
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x492cf7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x492d12
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x8c]
cmp ecx, dword [ebp - 0x78]
jl 0x492b70
jmp 0x492dfa
push ecx
push edi
lea eax, [ebp - 0x74]
push str.readAdvDataFromExec_ReadParamsValueError__s__d
push eax
call fcn.00420c20
add esp, 0xc
mov ecx, esp
push 0x56d3a8
call fcn.0041f910
lea ecx, [ebp - 0x74]
call fcn.00422230
add esp, 4
lea ecx, [ebp - 0x6c]
push str.readAdvDataThreadFunc
call fcn.0041f910
push str.WebInstallerMain
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1c
call fcn.0041f910
push 2
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x1c
mov eax, ebx
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x492da6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1b
mov eax, ebx
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x492dc4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x19
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x492ddf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x492dfa
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x74]
cmp dword [eax - 0xc], 0
jne 0x492eab
mov dword [ebp - 0x48], vtable.Json::FastWriter.0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
call fcn.0043ad40
mov byte [ebp - 4], 0x20
cmp dword [eax + 0x14], 0x10
jb 0x492e47
mov eax, dword [eax]
push eax
mov ecx, 0x59c960
call fcn.0041fa30
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x492e6b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004208e0
mov eax, dword [0x59c960]
mov ecx, dword [eax - 0xc]
lea edx, [ecx - 1]
test edx, edx
js 0x492ebb
cmp edx, ecx
jg 0x492ebb
cmp word [eax + edx*2], 0xa
jne 0x492e8f
push ecx
lea eax, [ecx - 1]
push eax
call fcn.00494d10
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], vtable.Json::FastWriter.0
cmp eax, 0x10
jb 0x492eab
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004208e0
lea ecx, [ebp - 0xcc]
call fcn.00438390
jmp 0x492f8f
push 0x80070057
call fcn.0041f2a0
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x492eda
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x6c]
push dword [ebp - 0x80]
push dword [ebp - 0x7c]
push str.no_valid_advData_version_d_marker_x
push eax
call fcn.00420c20
add esp, 0x10
lea ecx, [ebp - 0x80]
push str.readAdvDataThreadFunc
call fcn.0041f910
push str.WebInstallerMain
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x22
call fcn.0041f910
push 0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x22
mov eax, ebx
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x492f53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x21
mov eax, ebx
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x492f71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov eax, ebx
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x492f8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x8c]
call fcn.0042c710
lea ecx, [ebp - 0x98]
call fcn.0042c710
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x492fb6
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0xb4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x492fca
push eax
call esi
push dword [ebp - 0xb8]
call esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x492ff1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004f4566
mov esp, ebp
pop ebp
ret