Function at 0x404630
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x40ccca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push edi
mov edi, dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::constructor_wchar_t_const__]
push str.HotFolder.exe
lea ecx, [esp + 0x10]
call edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x38], 0
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::FileSystem::GetEXEDir_void_]
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x44], 1
call dword [sym.imp.FineObj.dll_class_FObj::CUnicodeString___cdecl_FObj::FileSystem::CombinePath_class_FObj::CUnicodeString_const___class_FObj::CUnicodeString_const__]
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 4
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea eax, [esp + 4]
push 0xff00ff00
push eax
call dword [sym.imp.FineObj.dll_bool___cdecl_FObj::FileSystem::AccessFile_class_FObj::CUnicodeString_const___unsigned_int_]
add esp, 8
test al, al
jne 0x4046df
lea ecx, [esp + 4]
mov dword [esp + 0x34], 0xffffffff
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov al, 1
pop edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
push esi
call fcn.00408a00
push str.Process_HotFolder_start
mov esi, eax
push 0x40eb64
push esi
call fcn.00408870
push 0x40eb5c
push 0x40eb64
push esi
call fcn.00408870
add esp, 0x18
cmp byte [esp + 0x40], 0
mov eax, str._Install
jne 0x40471b
mov eax, str._Deinstall
push eax
lea ecx, [esp + 0x10]
call edi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x40], 5
call fcn.0040c160
add esp, 8
test al, al
jne 0x404812
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x24]
push 0x40f424
push ecx
call fcn.004038e0
push 0x40f420
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x50], 6
call fcn.00402d20
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x5c], 7
call fcn.00402d60
mov edi, eax
mov byte [esp + 0x5c], 8
call fcn.00408a00
mov esi, eax
mov eax, dword [edi]
add eax, 0xc
push eax
push 0x40eb64
push esi
call fcn.00408870
push 0x40eb5c
push 0x40eb64
push esi
call fcn.00408870
add esp, 0x3c
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 7
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 6
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 5
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 4
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
pop esi
xor al, al
pop edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
push 0x40f420
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00402d20
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x50], 9
call fcn.00402d60
push str._succeeded
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x5c], 0xa
call fcn.00402d20
mov edi, eax
mov byte [esp + 0x5c], 0xb
call fcn.00408a00
mov ecx, dword [edi]
add ecx, 0xc
push ecx
mov esi, eax
push 0x40eb64
push esi
call fcn.00408870
push 0x40eb5c
push 0x40eb64
push esi
call fcn.00408870
add esp, 0x3c
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 0xa
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 9
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 5
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
call fcn.00408a00
push str.Process_HotFolder_finish
mov esi, eax
push 0x40eb64
push esi
call fcn.00408870
push 0x40eb5c
push 0x40eb64
push esi
call fcn.00408870
add esp, 0x18
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 4
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.FineObj.dll_public:_void___thiscall_FObj::CUnicodeString::destructor_void_]
mov ecx, dword [esp + 0x30]
pop esi
mov al, 1
pop edi
mov dword fs:[0], ecx
add esp, 0x34
ret