Function at 0x532f00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57a6bc
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5d52e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
jge 0x532f41
push 0x80070057
call fcn.004010a0
cmp word [eax], 0x40
jne 0x533a40
push str._None
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x532f9d
push ebx
mov ecx, 0x2338
lea edi, [esp + 0x20]
call fcn.00530ca0
add esp, 4
mov ecx, dword [ebp + 8]
push eax
mov dword [esp + 0x34], ebx
call fcn.004015b0
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x533b49
push str._Filer
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x533021
push str._SystemRoot_explorer.exe
lea ecx, [esp + 0x18]
call fcn.00401210
push ebx
lea edi, [esp + 0x18]
mov dword [esp + 0x34], 1
call fcn.0052c070
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00401a10
add eax, 0x10
mov dword [esi], eax
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, esi
call fcn.0052eee0
mov ebx, dword [ebp + 0xc]
add esp, 4
test ebx, ebx
je 0x53300d
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x53300d
call fcn.0052cfc0
mov dword [ebx], eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x533b3c
push str._Manual
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x5330bd
push ebx
mov ecx, 0x23b2
lea edi, [esp + 0x20]
call fcn.00530ca0
add esp, 4
mov esi, dword [ebp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x34], 2
call fcn.004015b0
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x533084
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x533b7a
mov ecx, dword [esi]
cmp dword [ecx - 0xc], ebx
je 0x533b7a
push 4
push 0x5ac548
push ebx
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov dword [edi], eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._ManualSend
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x533134
push ebx
mov ecx, 0x2596
lea edi, [esp + 0x20]
call fcn.00530ca0
add esp, 4
mov esi, dword [ebp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x34], 3
call fcn.004015b0
mov ecx, edi
call fcn.00404b10
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x533b7a
mov edx, dword [esi]
cmp dword [edx - 0xc], ebx
je 0x533b7a
push 4
push 0x5ac548
push ebx
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov dword [edi], eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._Mailer
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x53316d
lea ecx, [esp + 0x18]
call fcn.004011e0
mov esi, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x38], 4
call fcn.0052f7b0
add esp, 8
jmp 0x5337b6
push str._OCR
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x5331b9
lea ecx, [esp + 0x18]
call fcn.004011e0
mov esi, dword [ebp + 8]
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
push esi
mov dword [esp + 0x40], 5
call fcn.00532d80
mov ebx, dword [ebp + 0xc]
add esp, 0x10
test ebx, ebx
je 0x5337d0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jmp 0x5337c3
push str._SUOCR
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x5332c5
push ebx
mov ecx, 0x246f
lea edi, [esp + 0x20]
call fcn.00530ca0
add esp, 4
mov esi, dword [ebp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x34], 6
call fcn.004015b0
mov ecx, edi
mov dword [esp + 0x30], 0xffffffff
call fcn.00404b10
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x533b7a
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x533b7a
lea ecx, [esp + 0x14]
call fcn.004011e0
mov dword [esp + 0x30], 7
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], 0x104
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, 0x104
or edx, eax
jge 0x53325d
push 0x104
lea ecx, [esp + 0x18]
call fcn.004019b0
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push esi
push str.open
push str..txt
push 2
push 0x20
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004ff818
add esp, 8
test eax, eax
js 0x532f37
cmp eax, dword [esi - 8]
jg 0x532f37
xor edx, edx
mov dword [esi - 0xc], eax
lea edi, [esp + 0x14]
mov word [esi + eax*2], dx
call fcn.0052cfc0
lea ecx, [esp + 0x14]
mov dword [ebx], eax
call fcn.00404b10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._NewApp
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x533302
lea ecx, [esp + 0x18]
call fcn.004011e0
mov esi, dword [ebp + 8]
push ebx
push ebx
lea eax, [esp + 0x20]
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x40], 8
call fcn.00532b80
add esp, 0x10
jmp 0x5337b6
push str._NewAppOCR
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x533351
lea ecx, [esp + 0x18]
call fcn.004011e0
mov esi, dword [ebp + 8]
push 4
push ebx
lea edx, [esp + 0x20]
push ebx
push edx
mov ecx, esi
mov dword [esp + 0x40], 9
call fcn.00532b80
mov ebx, dword [ebp + 0xc]
add esp, 0x10
test ebx, ebx
je 0x5337d0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jmp 0x5337c3
push str._Viewer
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x53345d
push ebx
mov ecx, 0x23ba
lea edi, [esp + 0x20]
call fcn.00530ca0
add esp, 4
mov esi, dword [ebp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x34], 0xa
call fcn.004015b0
mov ecx, edi
mov dword [esp + 0x30], 0xffffffff
call fcn.00404b10
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x533b7a
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x533b7a
lea ecx, [esp + 0x14]
call fcn.004011e0
mov dword [esp + 0x30], 0xb
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], 0x104
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, 0x104
or edx, eax
jge 0x5333f5
push 0x104
lea ecx, [esp + 0x18]
call fcn.004019b0
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push esi
push str.open
push str..jpg
push 2
push 0x20
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004ff818
add esp, 8
test eax, eax
js 0x532f37
cmp eax, dword [esi - 8]
jg 0x532f37
xor edx, edx
mov dword [esi - 0xc], eax
lea edi, [esp + 0x14]
mov word [esi + eax*2], dx
call fcn.0052cfc0
lea ecx, [esp + 0x14]
mov dword [ebx], eax
call fcn.00404b10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._Evernote
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x533575
lea ecx, [esp + 0x18]
call fcn.004011e0
lea eax, [esp + 0x14]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsEvernote.exe
mov dword [esp + 0x40], 0xc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x53354c
lea esi, [esp + 0x18]
mov ebx, 0x5a95c8
call fcn.0052c1f0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x18], 0
call fcn.00401a10
add eax, 0x10
mov dword [esp + 0x20], eax
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
mov byte [esp + 0x38], 0xd
call fcn.00401a10
add eax, 0x10
mov dword [esi], eax
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, esi
call fcn.0052eee0
mov ebx, dword [ebp + 0xc]
add esp, 4
test ebx, ebx
je 0x533527
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
je 0x533527
lea edi, [esp + 0x1c]
call fcn.0052cfc0
mov dword [ebx], eax
lea ecx, [esp + 0x1c]
call fcn.00404b10
lea ecx, [esp + 0x18]
call fcn.00404b10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push 0x5a95c8
call fcn.004012d0
lea ecx, [esp + 0x18]
call fcn.00404b10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._DropBox
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x5336f1
lea ecx, [esp + 0x14]
call fcn.004011e0
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push str.SOFTWAREDropbox
mov dword [esp + 0x40], 0xe
push SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x5336c8
lea esi, [esp + 0x14]
mov ebx, str.InstallPath
call fcn.0052c1f0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x533612
push 0x104
lea ecx, [esp + 0x18]
call fcn.004019b0
mov esi, dword [esp + 0x14]
push str.DropBox.exe
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004ff818
add esp, 8
test eax, eax
js 0x532f37
cmp eax, dword [esi - 8]
jg 0x532f37
xor edx, edx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], dx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5336c8
lea eax, [esi - 0x10]
push eax
call fcn.00401a10
add eax, 0x10
mov dword [esp + 0x20], eax
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
mov byte [esp + 0x38], 0xf
call fcn.00401a10
add eax, 0x10
mov dword [esi], eax
mov esi, dword [ebp + 8]
add esp, 4
mov ecx, esi
call fcn.0052eee0
mov ebx, dword [ebp + 0xc]
add esp, 4
test ebx, ebx
je 0x5336a3
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x5336a3
lea edi, [esp + 0x1c]
call fcn.0052cfc0
mov dword [ebx], eax
lea ecx, [esp + 0x1c]
call fcn.00404b10
lea ecx, [esp + 0x14]
call fcn.00404b10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push 0x5a95c8
call fcn.004012d0
lea ecx, [esp + 0x14]
call fcn.00404b10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._SugerSync
push esi
call fcn.00406fe0
add esp, 8
test al, al
jne 0x533715
push str._Box.net
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x533735
mov ecx, dword [ebp + 8]
push 0x5a95c8
call fcn.004012d0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5a9978
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x53377d
lea ecx, [esp + 0x18]
call fcn.004011e0
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x18]
push ecx
push esi
push 0x5a9024
mov dword [esp + 0x3c], 0x10
call fcn.0052f3b0
mov ebx, dword [ebp + 0xc]
add esp, 0xc
test ebx, ebx
je 0x5337d0
mov edx, dword [esi]
cmp dword [edx - 0xc], 0
jmp 0x5337c3
push str._Picture
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x5337ec
lea ecx, [esp + 0x18]
call fcn.004011e0
mov esi, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
push esi
push 0x5a9054
mov dword [esp + 0x3c], 0x11
call fcn.0052f3b0
add esp, 0xc
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x5337d0
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x5337d0
lea edi, [esp + 0x18]
call fcn.0052cfc0
mov dword [ebx], eax
lea ecx, [esp + 0x18]
call fcn.00404b10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._TBFolder
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x5338c0
lea ecx, [esp + 0x14]
call fcn.004011e0
lea esi, [esp + 0x14]
mov edi, 0x5a9054
mov dword [esp + 0x30], 0x12
call fcn.0052c430
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, 0x104
or edx, eax
jge 0x53384b
push 0x104
lea ecx, [esp + 0x18]
call fcn.004019b0
mov esi, dword [esp + 0x14]
push str.ToolBox
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004ff818
add esp, 8
cmp eax, ebx
jl 0x532f37
cmp eax, dword [esi - 8]
jg 0x532f37
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5338a4
push str.ToolBox
mov ecx, dword [ebp + 8]
call fcn.004012d0
lea edi, [esp + 0x14]
call fcn.0052cfc0
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
lea ecx, [esp + 0x14]
call fcn.00404b10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._MPNFolder
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x533995
lea ecx, [esp + 0x14]
call fcn.004011e0
lea esi, [esp + 0x14]
mov edi, 0x5a9054
mov dword [esp + 0x30], 0x13
call fcn.0052c430
mov esi, dword [esp + 0x14]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
sub ecx, 0x104
or eax, ecx
jge 0x533920
push 0x104
lea ecx, [esp + 0x18]
call fcn.004019b0
mov esi, dword [esp + 0x14]
push str.MP_Navigator
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004ff818
add esp, 8
cmp eax, ebx
jl 0x532f37
cmp eax, dword [esi - 8]
jg 0x532f37
xor edx, edx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], dx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x533979
mov ecx, dword [ebp + 8]
push str.MP_Navigator
call fcn.004012d0
lea edi, [esp + 0x14]
call fcn.0052cfc0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea ecx, [esp + 0x14]
call fcn.00404b10
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._MPNEXFolder
push esi
call fcn.00406fe0
add esp, 8
test al, al
je 0x533b7a
lea ecx, [esp + 0x14]
call fcn.004011e0
lea esi, [esp + 0x14]
mov edi, 0x5a9054
mov dword [esp + 0x30], 0x14
call fcn.0052c430
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, 0x104
or edx, eax
jge 0x5339f4
push 0x104
lea ecx, [esp + 0x18]
call fcn.004019b0
mov esi, dword [esp + 0x14]
push str.MP_Navigator_Ex
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004ff818
add esp, 8
cmp eax, ebx
jl 0x532f37
cmp eax, dword [esi - 8]
jg 0x532f37
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5338a4
push str.MP_Navigator_Ex
jmp 0x53388e
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x533ac4
mov esi, dword [esi]
sub esi, 0x10
push esi
call fcn.00401a10
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
lea eax, [esi - 0x10]
mov dword [esp + 0x24], esp
mov edi, esp
push eax
mov dword [esp + 0x38], 0x15
call fcn.00401a10
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp + 8]
add esp, 4
mov ecx, edi
call fcn.0052eee0
mov ebx, dword [ebp + 0xc]
add esp, 4
test ebx, ebx
je 0x533aa7
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x533aa7
lea edi, [esp + 0x1c]
call fcn.0052cfc0
mov esi, dword [esp + 0x1c]
mov dword [ebx], eax
lea eax, [esi - 0x10]
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x533b49
mov eax, dword [esi]
push eax
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x533b68
mov esi, dword [esi]
sub esi, 0x10
push esi
call fcn.00401a10
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
lea eax, [esi - 0x10]
mov dword [esp + 0x24], esp
mov edi, esp
push eax
mov dword [esp + 0x38], 0x16
call fcn.00401a10
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp + 8]
add esp, 4
mov ecx, edi
call fcn.0052eee0
mov ebx, dword [ebp + 0xc]
add esp, 4
test ebx, ebx
je 0x533b31
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
je 0x533b31
lea edi, [esp + 0x1c]
call fcn.0052cfc0
mov esi, dword [esp + 0x1c]
mov dword [ebx], eax
mov dword [esp + 0x30], 0xffffffff
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x533b7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
call fcn.004015b0
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x533b7a
mov dword [eax], ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret