Function at 0x412a50
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8275
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x890
push esi
mov esi, ecx
mov ecx, 0x524e73
push edi
mov dword [ebp - 0x38], esi
call fcn.004e6414
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
sub ecx, 0x10
call fcn.00408b90
lea esi, [eax + 0x10]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
or edi, 0xffffffff
test eax, eax
je 0x4134c8
push 0x50fad0
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
call fcn.004079d0
add esp, 4
push str.GptBrowser.exe
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004079d0
add esp, 4
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412b06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x28]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4134ae
mov ecx, dword [ebp - 0x38]
call fcn.00411d50
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x40], 7
movups xmmword [ebp - 0x54], xmm0
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
push str.VERSION.dll
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x412c72
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetFileVersionInfoSizeW
push eax
call edi
push str.GetFileVersionInfoW
push dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
call edi
push str.VerQueryValueW
push dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
call edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x38]
call dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412c6f
push eax
call fcn.004b90e1
add esp, 4
mov edi, eax
push edi
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x38]
call dword [ebp - 0x18]
test eax, eax
je 0x412c66
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x50fad0
push edi
call dword [ebp - 0x34]
test eax, eax
je 0x412c66
mov eax, dword [ebp - 0x24]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x9c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x8c], xmm0
movups xmm0, xmmword [eax + 0x20]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push str.VarFileInfoTranslation
push edi
movups xmmword [ebp - 0x7c], xmm0
call dword [ebp - 0x34]
cmp dword [ebp - 0x68], 0xfeef04bd
jne 0x412c6f
push 0x800
lea eax, [ebp - 0x8a0]
push 0
push eax
call fcn.004bc490
mov ecx, dword [ebp - 0x90]
add esp, 0xc
movzx eax, cx
shr ecx, 0x10
push eax
push ecx
mov ecx, dword [ebp - 0x94]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x8a0]
push ecx
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x8a0]
lea ecx, [ebp - 0x54]
push eax
call fcn.00403710
push edi
call fcn.004b8e5b
add esp, 4
or edi, 0xffffffff
cmp dword [ebp - 0x44], 0
je 0x413478
cmp dword [ebp - 0x40], 8
lea edi, [ebp - 0x54]
push 0x50fad0
cmovae edi, dword [ebp - 0x54]
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x18]
call fcn.004079d0
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004079d0
add esp, 4
push str.VisualElements_
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.004079d0
add esp, 4
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412cdf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412cfd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.PDF.ico
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x20]
call fcn.004079d0
add esp, 4
mov byte [ebp - 4], 0xa
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412dc0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
call fcn.004038f0
push str..pdf
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00408580
push eax
mov edx, str.TSBrowserHTM
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1c]
call fcn.00407840
sub esp, 0x14
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
call fcn.004038f0
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov ecx, esp
push dword [ebp - 0x20]
call fcn.004038f0
mov byte [ebp - 4], 0x10
call fcn.004063a0
mov edx, dword [ebp - 0x1c]
add esp, 0x48
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412da2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412dc0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Word.ico
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x24]
call fcn.004079d0
add esp, 4
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x412e3d
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
shr eax, 0x1f
test al, al
jne 0x412e2f
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x412e2f
mov ecx, edx
call fcn.00408b90
mov edx, dword [ebp - 0x1c]
mov ecx, edi
mov dword [ebp - 0x14], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412e27
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x20], eax
jmp 0x412e3d
push dword [edx + 4]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.00408c90
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412e5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412fa2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
call fcn.004038f0
push str..doc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x12
call fcn.00408580
push eax
mov edx, str.TSBrowserHTM
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1c]
call fcn.00407840
sub esp, 0x14
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
call fcn.004038f0
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
push dword [ebp - 0x20]
call fcn.004038f0
mov byte [ebp - 4], 0x17
call fcn.004063a0
mov edx, dword [ebp - 0x1c]
add esp, 0x48
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412ee9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412f07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
call fcn.004038f0
push str..docx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x18
call fcn.00408580
push eax
mov edx, str.TSBrowserHTM
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x1c]
call fcn.00407840
sub esp, 0x14
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
call fcn.004038f0
sub esp, 0x18
mov byte [ebp - 4], 0x1b
mov ecx, esp
push dword [ebp - 0x20]
call fcn.004038f0
mov byte [ebp - 4], 0x1d
call fcn.004063a0
mov edx, dword [ebp - 0x1c]
add esp, 0x48
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412f84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412fa2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.PPT.ico
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x24]
call fcn.004079d0
add esp, 4
mov byte [ebp - 4], 0x1e
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x41301f
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
shr eax, 0x1f
test al, al
jne 0x413011
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x413011
mov ecx, edx
call fcn.00408b90
mov edx, dword [ebp - 0x1c]
mov ecx, edi
mov dword [ebp - 0x14], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413009
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x20], eax
jmp 0x41301f
push dword [edx + 4]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.00408c90
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41303d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413184
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
call fcn.004038f0
push str..ppt
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1f
call fcn.00408580
push eax
mov edx, str.TSBrowserHTM
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x1c]
call fcn.00407840
sub esp, 0x14
mov byte [ebp - 4], 0x21
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
call fcn.004038f0
sub esp, 0x18
mov byte [ebp - 4], 0x22
mov ecx, esp
push dword [ebp - 0x20]
call fcn.004038f0
mov byte [ebp - 4], 0x24
call fcn.004063a0
mov edx, dword [ebp - 0x1c]
add esp, 0x48
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4130cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4130e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
call fcn.004038f0
push str..pptx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x25
call fcn.00408580
push eax
mov edx, str.TSBrowserHTM
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x1c]
call fcn.00407840
sub esp, 0x14
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
call fcn.004038f0
sub esp, 0x18
mov byte [ebp - 4], 0x28
mov ecx, esp
push dword [ebp - 0x20]
call fcn.004038f0
mov byte [ebp - 4], 0x2a
call fcn.004063a0
mov edx, dword [ebp - 0x1c]
add esp, 0x48
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413166
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413184
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Excel.ico
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x24]
call fcn.004079d0
add esp, 4
mov byte [ebp - 4], 0x2b
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x413201
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
shr eax, 0x1f
test al, al
jne 0x4131f3
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4131f3
mov ecx, edx
call fcn.00408b90
mov edx, dword [ebp - 0x1c]
mov ecx, edi
mov dword [ebp - 0x14], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4131eb
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x20], eax
jmp 0x413201
push dword [edx + 4]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.00408c90
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41321f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413366
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
call fcn.004038f0
push str..xls
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x2c
call fcn.00408580
push eax
mov edx, str.TSBrowserHTM
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x1c]
call fcn.00407840
sub esp, 0x14
mov byte [ebp - 4], 0x2e
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
call fcn.004038f0
sub esp, 0x18
mov byte [ebp - 4], 0x2f
mov ecx, esp
push dword [ebp - 0x20]
call fcn.004038f0
mov byte [ebp - 4], 0x31
call fcn.004063a0
mov edx, dword [ebp - 0x1c]
add esp, 0x48
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4132ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4132cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
call fcn.004038f0
push str..xlsx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x32
call fcn.00408580
push eax
mov edx, str.TSBrowserHTM
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x1c]
call fcn.00407840
sub esp, 0x14
mov byte [ebp - 4], 0x34
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
call fcn.004038f0
sub esp, 0x18
mov byte [ebp - 4], 0x35
mov ecx, esp
push dword [ebp - 0x20]
call fcn.004038f0
mov byte [ebp - 4], 0x37
call fcn.004063a0
mov edx, dword [ebp - 0x1c]
add esp, 0x48
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413348
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413366
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x511604
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.004079d0
add esp, 4
mov byte [ebp - 4], 0x38
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x4133e3
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
shr eax, 0x1f
test al, al
jne 0x4133d5
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4133d5
mov ecx, edx
call fcn.00408b90
mov edx, dword [ebp - 0x1c]
mov ecx, edi
mov dword [ebp - 0x14], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4133cd
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x20], eax
jmp 0x4133e3
push dword [edx + 4]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.00408c90
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413401
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
call fcn.004038f0
sub esp, 0x18
mov byte [ebp - 4], 0x39
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.TSBrowserHTM
call fcn.004038f0
sub esp, 0x18
mov byte [ebp - 4], 0x3a
mov ecx, esp
push dword [ebp - 0x20]
call fcn.004038f0
mov byte [ebp - 4], 0xa
call fcn.004063a0
mov edx, dword [ebp - 0x20]
add esp, 0x48
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41345e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413478
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x4134ae
mov edx, dword [ebp - 0x54]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4134a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4134f0
push ecx
push edx
call fcn.004b8e2a
add esp, 8
mov edx, dword [ebp - 0x28]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4134c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4134dd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004c05a0
int3