Function at 0x499818
Capabilities:
Check if file exists

Disassembly:
push 0x2c0
mov eax, 0x5d3149
call fcn.00506dfb
mov dword [ebp - 0x288], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x290], edi
mov eax, dword [ebp + 0x18]
or ebx, 0xffffffff
add eax, 0xfffffff0
mov dword [ebp - 4], 1
push eax
call fcn.00412393
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x270], esi
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x264], eax
push dword [eax + 0x682aec]
lea ecx, [ebp - 0x270]
call fcn.0042e69b
test eax, eax
je 0x49a492
mov eax, dword [ebp - 0x264]
add eax, 4
mov dword [ebp - 0x264], eax
cmp eax, 8
jb 0x49987d
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00412ac4
lea ecx, [ebp - 0x2b4]
call fcn.0042ca82
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 3
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.00411f3a
push 0
push 0x5f1b04
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0042dfbd
add esp, 8
mov byte [ebp - 4], 4
mov ecx, esp
push esi
push eax
push ecx
call fcn.0043910d
mov esi, dword [ebp - 0x274]
add esp, 0xc
mov ecx, esi
call fcn.00435199
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00412ac4
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
push 0x5f1b30
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 5
push str.DisplayName
call fcn.00413f09
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00434880
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 6
push eax
call fcn.00411f3a
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00412ac4
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
je 0x49a47c
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
push 0x5f1b30
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 7
push str.UninstallString
call fcn.00413f09
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00434880
push eax
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 8
call fcn.00411f3a
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00412ac4
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], 0
je 0x49a47c
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x268], esi
call fcn.00412393
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 0x284]
mov dword [esi], eax
lea eax, [ebp - 0x264]
push eax
call fcn.004903be
push eax
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 9
call fcn.00411f3a
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00412ac4
mov eax, dword [edi + 0x1c]
cmp dword [eax - 0xc], 0
je 0x49a47c
push 0
push ecx
mov ecx, esp
push str.SystemComponent
call fcn.00413f09
mov esi, dword [ebp - 0x274]
mov ecx, esi
call fcn.0043e702
cmp eax, 1
je 0x49a47c
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
mov ebx, 0x5f1b30
push ebx
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xa
push str.Publisher
call fcn.00413f09
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00434880
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 0xb
push eax
call fcn.00411f3a
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00412ac4
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
push ebx
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xc
push str.DisplayVersion
call fcn.00413f09
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00434880
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 0xd
push eax
call fcn.00411f3a
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00412ac4
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
push ebx
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xe
push str.InstallLocation
call fcn.00413f09
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00434880
push ebx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0042e677
mov ecx, dword [ebp - 0x264]
test eax, eax
mov byte [ebp - 4], 3
setne bl
add ecx, 0xfffffff0
call fcn.00412ac4
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
test bl, bl
je 0x499b9b
push 0x5f1b30
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x10
push str.InstallLocation
call fcn.00413f09
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00434880
mov byte [ebp - 4], 0x11
jmp 0x499c2a
mov ebx, 0x5f1b30
push ebx
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x12
push str.Inno_Setup:_App_Path
call fcn.00413f09
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00434880
push ebx
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.0042e677
mov ecx, dword [ebp - 0x264]
test eax, eax
mov byte [ebp - 4], 3
setne bl
add ecx, 0xfffffff0
call fcn.00412ac4
test bl, bl
je 0x499c49
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
push 0x5f1b30
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x14
push str.Inno_Setup:_App_Path
call fcn.00413f09
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00434880
mov byte [ebp - 4], 0x15
lea ebx, [edi + 0x18]
push eax
mov ecx, ebx
call fcn.00411f3a
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00412ac4
jmp 0x499cc1
push 0
push 0x6184f8
lea ecx, [edi + 8]
call fcn.0042ea61
test eax, eax
je 0x499cb2
push ecx
mov esi, esp
mov dword [ebp - 0x268], esi
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
call fcn.00412393
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x2b4]
lea eax, [ebp - 0x264]
push eax
call fcn.004824f9
lea ebx, [edi + 0x18]
mov byte [ebp - 4], 0x16
push eax
mov ecx, ebx
call fcn.00411f3a
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00412ac4
mov esi, dword [ebp - 0x274]
jmp 0x499cc1
lea ebx, [edi + 0x18]
push 0x5f1b30
mov ecx, ebx
call fcn.0041421f
push ecx
mov ecx, esp
push 0x6184fc
call fcn.00413f09
mov ecx, esi
call fcn.0042ed06
xor ecx, ecx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], ecx
push ecx
cmp eax, 1
jne 0x499d37
mov ecx, esp
mov dword [ebp - 0x268], esp
push 0x5f1b30
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x17
push 0x6184fc
call fcn.00413f09
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00434880
push dword [eax]
call fcn.0058a233
pop ecx
mov ecx, dword [ebp - 0x264]
cdq
add ecx, 0xfffffff0
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
call fcn.00412ac4
jmp 0x499d52
push ecx
mov ecx, esp
push 0x6184fc
call fcn.00413f09
mov ecx, esi
call fcn.0043e702
and dword [edi + 0x3c], 0
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x38]
or eax, dword [edi + 0x3c]
jne 0x499d8c
push eax
push ecx
mov ecx, esp
push str.EstimatedSize
call fcn.00413f09
mov ecx, esi
call fcn.0043e702
and dword [edi + 0x3c], 0
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x38], eax
ja 0x499d7f
test eax, eax
je 0x499d8c
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov eax, dword [edi + 0x38]
or eax, dword [edi + 0x3c]
jne 0x499db9
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x499db9
push 0
push eax
lea ecx, [ebp - 0x2b4]
call fcn.004841be
or ebx, 0xffffffff
and eax, ebx
xor edx, edx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
jmp 0x499dbc
or ebx, 0xffffffff
mov eax, dword [edi + 0x38]
or eax, dword [edi + 0x3c]
je 0x499dff
mov ecx, dword [ebp - 0x288]
lea eax, [ebp - 0x264]
push 2
push dword [edi + 0x3c]
push dword [edi + 0x38]
push eax
call fcn.0047e654
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 0x18
push eax
call fcn.00411f3a
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00412ac4
jmp 0x499e07
lea ecx, [edi + 0x28]
call fcn.004124d1
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
push 0x5f1b30
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x19
push str.InstallDate
call fcn.00413f09
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00434880
lea esi, [edi + 0x2c]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, esi
mov dword [ebp - 0x264], esi
call fcn.00411f3a
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00412ac4
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x499f8d
cmp dword [eax - 0xc], 8
jne 0x499f8d
push 2
lea eax, [ebp - 0x268]
mov ecx, esi
push eax
call fcn.00434d0c
mov edi, eax
push 2
push 4
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x1b
push eax
mov ecx, esi
call fcn.004319b1
mov esi, eax
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x280]
push 4
push eax
mov byte [ebp - 4], 0x1c
call fcn.0043189c
push 0x61853c
push eax
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x1d
push eax
call fcn.0042dfbd
push esi
push eax
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 0x1e
push eax
call fcn.0043910d
push 0x61853c
push eax
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x1f
push eax
call fcn.0042dfbd
push edi
push eax
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x20
push eax
call fcn.0043910d
add esp, 0x30
mov esi, dword [ebp - 0x264]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x21
call fcn.00411f3a
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x294]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x298]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x29c]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x278]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00412ac4
mov edi, dword [ebp - 0x290]
lea eax, [ebp - 0x260]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, ebx
je 0x49a007
push ebx
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00451754
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x499ff1
push 0x618540
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x27c]
call fcn.0047e398
push eax
mov ecx, esi
mov byte [ebp - 4], 0x22
call fcn.00411f3a
mov ecx, dword [ebp - 0x268]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [edi + 0x30]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x49a007
push ecx
push dword [edi + 0x1c]
call fcn.00483e58
pop ecx
pop ecx
push ecx
mov esi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
push 0x5f1b30
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x23
push str.DisplayIcon
call fcn.00413f09
mov ecx, dword [ebp - 0x274]
push esi
mov byte [ebp - 4], 3
call fcn.00434880
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0x268]
push eax
call fcn.004903be
lea esi, [edi + 0x14]
mov byte [ebp - 4], 0x24
push eax
mov ecx, esi
call fcn.00411f3a
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00412ac4
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x49a1e8
lea ecx, [ebp - 0x2cc]
call fcn.0042ca82
mov eax, dword [edi + 0x20]
sub eax, 0x10
mov byte [ebp - 4], 0x25
push eax
call fcn.00412393
add eax, 0x10
pop ecx
mov dword [ebp - 0x270], eax
push 0
push 0x6184f8
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 0x26
call fcn.0042ea61
push 0
push 0x61856c
lea ecx, [edi + 0x20]
mov dword [ebp - 0x274], eax
call fcn.0042ea61
mov ecx, dword [ebp - 0x274]
cmp ecx, ebx
jne 0x49a129
cmp eax, ebx
jne 0x49a1bd
push 0
push 0x6184f8
lea ecx, [edi + 8]
call fcn.0042ea61
push 0
push 0x61856c
lea ecx, [edi + 8]
mov dword [ebp - 0x274], eax
call fcn.0042ea61
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x270]
lea eax, [edi + 8]
push eax
call fcn.00411f3a
mov ecx, dword [ebp - 0x274]
cmp ecx, ebx
je 0x49a1bd
mov eax, dword [ebp - 0x268]
cmp eax, ebx
je 0x49a1bd
sub eax, ecx
inc eax
push eax
push ecx
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x270]
call fcn.004319b1
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x27
call fcn.0043193c
mov ecx, dword [ebp - 0x28c]
xor eax, eax
mov esi, dword [ebp - 0x284]
mov dword [ebp - 0x274], eax
cmp dword [ecx + 4], eax
jle 0x49a1b2
push 0
push esi
push eax
call fcn.0042def1
mov ecx, eax
call fcn.0042ea61
mov ecx, dword [ebp - 0x28c]
cmp eax, ebx
jne 0x49a19e
mov eax, dword [ebp - 0x274]
inc eax
mov dword [ebp - 0x274], eax
cmp eax, dword [ecx + 4]
jl 0x49a170
jmp 0x49a1b2
push dword [ebp - 0x274]
call fcn.0042def1
push eax
lea ecx, [edi + 0x14]
call fcn.00411f3a
lea ecx, [esi - 0x10]
call fcn.00412ac4
lea esi, [edi + 0x14]
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 3
call fcn.0042e60b
mov ecx, dword [ebp - 0x2bc]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x49a203
lea ecx, [edi + 0x1c]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x49a203
push ecx
mov ecx, esi
call fcn.00411f3a
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x49a360
mov eax, dword [edi + 0x18]
cmp dword [eax - 0xc], 0
je 0x49a360
push ecx
mov eax, esp
mov dword [ebp - 0x278], esp
push 0x60cf1c
lea ecx, [edi + 0xc]
push ecx
push eax
call fcn.0042dfbd
add esp, 8
mov byte [ebp - 4], 0x28
mov esi, esp
mov dword [ebp - 0x280], esi
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x268]
pop ecx
push eax
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 3
call fcn.00434114
lea esi, [edi + 0x14]
mov byte [ebp - 4], 0x29
push eax
mov ecx, esi
call fcn.00411f3a
mov ecx, dword [ebp - 0x268]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49a34d
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.00412393
add eax, 0x10
mov dword [ebp - 0x270], eax
mov dword [esp], 0x5f1b30
lea ecx, [ebp - 0x270]
push 0x60c978
mov byte [ebp - 4], 0x2a
call fcn.00434b1c
push ecx
mov eax, esp
mov dword [ebp - 0x278], esp
push 0x60cf1c
lea ecx, [ebp - 0x270]
push ecx
push eax
call fcn.0042dfbd
add esp, 8
mov byte [ebp - 4], 0x2b
mov esi, esp
mov dword [ebp - 0x280], esi
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x268]
pop ecx
push eax
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x2a
call fcn.00434114
lea esi, [edi + 0x14]
mov byte [ebp - 4], 0x2c
push eax
mov ecx, esi
call fcn.00411f3a
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x270]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49a360
mov ecx, esi
call fcn.004124d1
push 0
push 0x618570
lea ecx, [edi + 0xc]
call fcn.0042ea61
cmp eax, ebx
je 0x49a37f
mov dword [edi + 0x48], 1
jmp 0x49a47c
mov eax, dword [ebp - 0x288]
sub esp, 0x18
and dword [edi + 0x48], 0
add eax, 0x13c
mov esi, eax
mov dword [ebp - 0x278], eax
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x288]
mov ecx, esi
call fcn.00477f9b
test al, al
je 0x49a47c
mov edi, dword [ebp - 0x290]
mov ecx, esi
push edi
call fcn.00499350
xor ebx, ebx
lea ecx, [edi + 0x10]
test al, al
sete bl
call fcn.004124d1
push 0
lea ecx, [edi + 0xc]
call fcn.0042df1b
movzx eax, ax
mov ecx, esi
push eax
call fcn.0049b015
test al, al
jne 0x49a439
push ecx
mov esi, esp
mov dword [ebp - 0x268], esi
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.00412393
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x268]
pop ecx
push eax
call fcn.00480bd0
pop ecx
pop ecx
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 0x2d
call fcn.00411f3a
mov ecx, dword [ebp - 0x268]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov esi, dword [ebp - 0x288]
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x26c]
push eax
lea ecx, [esi + 0x9c]
call fcn.0044b2d2
mov ecx, dword [ebp - 0x26c]
push edi
lea ecx, [ecx + 0x18]
call fcn.00458cac
mov esi, dword [ebp - 0x278]
lea eax, [ebp - 0x2cc]
push 6
pop ecx
lea edi, [ebp - 0x2cc]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x2b4]
call fcn.0042e60b
mov ecx, dword [ebp - 0x2a4]
lea ecx, [ecx - 0x10]
jmp 0x49a495
lea ecx, [esi - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00412ac4
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, ebx
call fcn.00506da5
ret 0x18