Function at 0x43fb50
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5209de
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x56f4d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
call fcn.00417180
mov ecx, eax
test ecx, ecx
je 0x44088f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x444], eax
mov dword [ebp - 4], 0
mov dword [ebp - method.mf_bind_t_class_CInstaller__class_CInstaller___void_.virtual_0], vtable.mf_bind_t_class_CInstaller__class_CInstaller___void_.0
mov dword [ebp - 0x434], 0x43e120
mov dword [ebp - 0x430], edi
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 1
push eax
call fcn.0044a080
add esp, 4
mov byte [ebp - 4], 0
call fcn.00435910
mov esi, eax
call fcn.00435990
mov ecx, eax
call fcn.00435b10
mov ecx, dword [esi]
push dword [eax]
push esi
call dword [ecx + 0x24]
push eax
push str.install_type:_d__install_version:_s
call fcn.00437e70
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x438], 0x43e130
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], 0
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 2
push eax
call fcn.0044a080
add esp, 0x10
mov byte [ebp - 4], 0
lea esi, [edi + 4]
push esi
call fcn.00435990
mov ecx, eax
call fcn.00435b50
push eax
call fcn.0044b540
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x438], 0x43e130
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], 2
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 3
push eax
call fcn.0044a080
mov esi, dword [esi]
lea ecx, [ebp - 0x43c]
add esp, 0xc
mov byte [ebp - 4], 0
call fcn.0044bae0
push esi
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 4
call fcn.0044c0c0
lea ecx, [ebp - 0x43c]
call fcn.0044c3d0
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 0
call fcn.0044bbf0
push str.remove_all_pending_files
call fcn.00437e70
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x438], 0x43e130
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], 3
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 5
push eax
call fcn.0044a080
push str..tmp
push dword [edi + 4]
lea esi, [edi + 4]
mov byte [ebp - 4], 0
call fcn.00405740
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x438], 0x43e130
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], 4
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 6
push eax
call fcn.0044a080
push dword [esi]
mov byte [ebp - 4], 0
push str.remove_all_.tmp_files_in__s
call fcn.00437e70
push str.update
lea eax, [ebp - 0x42c]
push esi
push eax
call fcn.00426d40
push dword [eax]
mov byte [ebp - 4], 7
call fcn.00404df0
mov edx, dword [ebp - 0x42c]
add esp, 0x2c
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fd98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.update
lea eax, [ebp - 0x42c]
push esi
push eax
call fcn.00426d40
push dword [eax]
mov byte [ebp - 4], 8
push str.Delete_directory_recursively:__s
call fcn.00437e70
mov edx, dword [ebp - 0x42c]
add esp, 0x14
mov byte [ebp - 4], 0
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fddf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x438], 0x43e130
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], 5
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 9
push eax
call fcn.0044a080
add esp, 4
mov byte [ebp - 4], 0
mov ecx, edi
call fcn.0043bbe0
and eax, 1
mov dword [ebp - 0x440], eax
jne 0x43fe3e
push 0xf
push str.copy_file_fail
lea ecx, [ebp - 0x444]
call fcn.004169b0
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a53b0
add esp, 0xc
lea eax, [ebp - 0x220]
push str.utils_base.dll
push dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x44008b
push str.GetLuaExplain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x57aaac], eax
call fcn.004219b0
mov ecx, eax
call fcn.00417670
mov ecx, 0x52db60
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43fec7
test dx, dx
je 0x43fec3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43fec7
add eax, 4
add ecx, 4
test dx, dx
jne 0x43fea1
xor eax, eax
jmp 0x43fecc
sbb eax, eax
or eax, 1
test eax, eax
je 0x44008b
push 4
call fcn.0042f210
mov esi, eax
add esp, 4
test esi, esi
je 0x43feec
mov dword [esi], 0x43e500
jmp 0x43feee
xor esi, esi
mov dword [ebp - 0x42c], esi
lea eax, [ebp - 0x464]
mov byte [ebp - 4], 0xa
push eax
call fcn.004544a7
add esp, 4
test eax, eax
je 0x43ff14
push eax
call fcn.00454873
add esp, 4
mov eax, dword [ebp - 0x464]
mov byte [ebp - 0x454], 1
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 0xb
push 1
push eax
call fcn.00454093
add esp, 8
test eax, eax
je 0x43ff49
push eax
call fcn.00454873
add esp, 4
mov eax, dword [ebp - 0x460]
mov byte [ebp - 0x434], 1
mov dword [ebp - 0x430], eax
push eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x45c], 0
call fcn.004540e6
add esp, 4
test eax, eax
je 0x43ff7d
push eax
call fcn.00454873
add esp, 4
mov dword [ebp - 0x468], 0x538320
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x458], esi
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x44c]
push 0x4411d0
push eax
call fcn.00453bdf
add esp, 0xc
mov ecx, 1
cmp eax, 4
cmovne ecx, eax
test ecx, ecx
je 0x43ffce
push ecx
call fcn.00454873
add esp, 4
cmp byte [ebp - 0x45c], 0
jne 0x44000a
nop word [eax + eax]
push dword [ebp - 0x460]
push dword [ebp - 0x464]
call fcn.00454502
add esp, 8
test eax, eax
je 0x440001
push eax
call fcn.00454873
add esp, 4
cmp byte [ebp - 0x45c], 0
je 0x43ffe0
mov eax, dword [ebp - 0x458]
test eax, eax
je 0x44001f
push 4
push eax
call fcn.00476099
add esp, 8
mov esi, dword [ebp - 0x460]
mov eax, dword [ebp - 0x464]
push esi
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x450], eax
call fcn.0045415b
add esp, 4
test eax, eax
je 0x44004b
push eax
call fcn.00454873
add esp, 4
push esi
call fcn.0045404f
push dword [ebp - 0x450]
call fcn.00454470
add esp, 8
mov byte [ebp - 4], 0
cmp dword [edi + 0x98], 0
jne 0x440899
mov eax, dword [ebp - 0x44c]
lea esi, [edi + 4]
mov dword [edi + 0x94], eax
mov eax, dword [ebp - 0x448]
mov dword [edi + 0x98], eax
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x438], 0x43e130
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], 0x5d
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0xf
push eax
call fcn.0044a080
push str.start_call_program
mov byte [ebp - 4], 0
call fcn.00437e70
mov eax, dword [esi]
add esp, 8
push dword [eax - 0xc]
push eax
call fcn.00435990
mov ecx, eax
call fcn.00435b50
mov ecx, eax
call fcn.00442d80
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
call fcn.00435990
mov ecx, eax
call fcn.00435b50
mov ecx, eax
call fcn.00443590
push dword [esi]
call fcn.0044cc30
add esp, 4
mov ecx, edi
call fcn.00440dd0
test eax, eax
jne 0x44012f
push 0x14
push str.write_path_reg_fail
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x440], eax
call fcn.004169b0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x438], 0x43e130
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], 0x60
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x10
push eax
call fcn.0044a080
add esp, 4
mov byte [ebp - 4], 0
call fcn.004219b0
mov ecx, eax
call fcn.004184d0
push eax
call fcn.004219b0
mov ecx, eax
call fcn.004188a0
push eax
call fcn.004219b0
mov ecx, eax
call fcn.00418700
push eax
call fcn.004219b0
mov ecx, eax
call fcn.004185b0
push eax
call fcn.004219b0
mov ecx, eax
call fcn.00418380
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x42c], esi
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.00404780
add esp, 4
lea ecx, [ebp - 0x490]
add eax, 0x10
mov dword [esi], eax
call fcn.0044cf90
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x438], 0x43e130
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], 0x61
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x12
push eax
call fcn.0044a080
add esp, 4
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x490]
call fcn.0044d1c0
call fcn.004219b0
mov eax, dword [eax + 0x38]
sub eax, 0x10
push eax
call fcn.00404780
add esp, 4
add eax, 0x10
mov dword [ebp - 0x42c], eax
mov ecx, str.__fromnewinstall
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x440266
test dx, dx
je 0x440262
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x440266
add eax, 4
add ecx, 4
test dx, dx
jne 0x440240
xor esi, esi
jmp 0x44026b
sbb esi, esi
or esi, 1
mov edx, dword [ebp - 0x42c]
or eax, 0xffffffff
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44028d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x440321
push str.Call_SetArParm
call fcn.00437e70
push 0x210
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.004a53b0
add esp, 0x10
lea eax, [ebp - 0x42c]
lea ecx, [ebp - 0x475]
push eax
call fcn.0043b360
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [eax]
lea eax, [ebp - 0x220]
push dword [edi + 4]
push eax
call esi
mov edx, dword [ebp - 0x42c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4402f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x440327
push str.SetArParm
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x440327
push 0
push 1
call eax
jmp 0x440327
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x438], 0x43e130
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], 0x62
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x14
push eax
call fcn.0044a080
push 0x210
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x11
push 0
push eax
call fcn.004a53b0
add esp, 0x10
lea eax, [ebp - 0x220]
push str.srvhost.exe
push dword [edi + 4]
push eax
call esi
lea eax, [ebp - 0x220]
push str.WhaleClean
push eax
call fcn.004834d0
mov dword [ebp - method.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CInstaller__class_CInstaller___void__int_.0
mov dword [ebp - 0x438], 0x43e130
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], 0x63
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x15
push eax
call fcn.0044a080
add esp, 0xc
mov byte [ebp - 4], 0x11
mov ecx, edi
call fcn.00440a00
test eax, eax
jne 0x4403f5
push 0x11
push str.set_autorun_fail
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x440], eax
call fcn.004169b0
cmp dword [edi + 0x98], 0
je 0x440409
lea ecx, [edi + 0x94]
call fcn.004418e0
push str.install_end.
call fcn.00437e70
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x444]
mov dword [ebp - method.mf_bind_t_2_class_CInstaller__class_CInstaller___void__int__wchar_t_const__.virtual_0], vtable.mf_bind_t_2_class_CInstaller__class_CInstaller___void__int__wchar_t_const__.0
mov dword [ebp - 0x464], 0x43e100
mov dword [ebp - 0x460], edi
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 0x16
push eax
call fcn.0044a080
add esp, 8
mov byte [ebp - 4], 0x11
call fcn.004219b0
mov ecx, eax
call fcn.00418ea0
test eax, eax
je 0x440634
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a53b0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.utilsmgpsvc.dll
push dword [edi + 4]
push eax
call esi
push 0
push 0x52cd34
lea eax, [ebp - 0x218]
push 0x5382d8
push eax
call fcn.00412760
lea eax, [ebp - 0x218]
push eax
call fcn.00437e70
add esp, 0x14
lea eax, [ebp - 0x218]
xor esi, esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4404e5
push str.IsRuning
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4404e5
call eax
mov esi, eax
push esi
push str.sv_is_runing:_d
call fcn.00437e70
add esp, 8
test esi, esi
je 0x44059c
push str.run_suc
lea ecx, [ebp - 0x448]
call fcn.00404310
push str.service
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0x17
call fcn.00404310
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x42c], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x448]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x440]
push eax
call fcn.00421b30
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.0040e2d0
mov edx, dword [ebp - 0x440]
or esi, 0xffffffff
mov byte [ebp - 4], 0x17
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44057b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x448]
mov eax, esi
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44059c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004a53b0
add esp, 0xc
lea eax, [ebp - 0x428]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x428]
push str.WhaleClean
push eax
push eax
call esi
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4405fa
lea eax, [ebp - 0x428]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.config.ini
lea eax, [ebp - 0x428]
push eax
push eax
call esi
lea eax, [ebp - 0x428]
push eax
push 0x52db74
push str.installedsvc
push 0x537dd4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x428]
push eax
call fcn.00437e70
add esp, 4
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x450]
push ecx
push 0
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x42c], eax
push ecx
push 0
push 0
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x448], 0
push 1
push eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x450], 0
movups xmmword [ebp - 0x474], xmm0
movups xmmword [ebp - 0x464], xmm0
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
lea eax, [ebp - 0x440]
mov dword [ebp - 0x470], 2
push eax
push dword [ebp - 0x448]
lea eax, [ebp - 0x474]
mov dword [ebp - 0x46c], 3
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x460], 1
push 1
movlpd qword [ebp - 0x468], xmm0
mov dword [ebp - 0x45c], 5
mov dword [ebp - 0x458], str.Users
mov dword [ebp - 0x474], 0x10000000
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov esi, eax
test esi, esi
jne 0x44070f
push eax
push dword [ebp - 0x440]
push eax
push eax
push 4
push 1
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
mov ecx, dword [ebp - 0x450]
mov eax, dword [sym.imp.KERNEL32.dll_LocalFree]
test ecx, ecx
je 0x440726
push ecx
call eax
mov eax, dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x440733
push ecx
call eax
test esi, esi
je 0x4407f8
push 0x44
push 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x448], 0x44
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4407f8
lea eax, [ebp - 0x448]
push eax
push esi
push 0
push 0x54
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x4407f1
lea eax, [ebp - 0x450]
mov dword [ebp - 0x474], 0x10000000
push eax
push 0
lea eax, [ebp - 0x474]
mov dword [ebp - 0x470], 2
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x46c], 3
push 1
movlpd qword [ebp - 0x468], xmm0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 5
mov dword [ebp - 0x458], esi
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x4407f1
push eax
push dword [ebp - 0x450]
push eax
push eax
push 4
push 1
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push str.real_install_end.
call fcn.00437e70
lea esi, [edi + 0x78]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
add esp, 4
mov dword [ebp - 0x430], esi
test esi, esi
je 0x440821
mov eax, dword [esi]
push esi
call dword [eax]
mov ecx, dword [edi + 0x68]
mov byte [ebp - 4], 0x1a
test ecx, ecx
je 0x440832
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x440840
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0x490]
call fcn.0044d170
mov edx, dword [ebp - 0x444]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440870
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00476088
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00404620
call fcn.004d35f0
int3