Function at 0x411520
Capabilities:
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4bc1a9
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 0x1c]
add ebx, 8
xor eax, eax
call fcn.00423300
lea ecx, [esp + 0x30]
call fcn.00404990
xor ebp, ebp
lea eax, [esp + 0x30]
mov dword [esp + 0xb0], ebp
mov ecx, dword [esi + 0x1c]
push eax
call fcn.00423770
mov ebx, dword [esi + 0x1c]
call fcn.00423570
cmp al, 1
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x18]
sete cl
push eax
mov byte [esp + 0x54], cl
call fcn.0045cdf0
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x24]
mov edi, eax
cmp eax, dword [esp + 0x28]
jbe 0x4115b4
call fcn.00480e22
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x41166a
call fcn.00480e22
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4115d1
call fcn.00480e22
mov eax, edi
lea edi, [esp + 0x50]
mov dword [esp + 0x50], vtable.HostPath.0
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], 0x157c
call fcn.00414d50
mov byte [esp + 0xb0], 2
cmp dword [esp + 0x54], ebp
jne 0x411671
mov ecx, edi
call fcn.00414d00
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], vtable.AnsiStringStorage.0
cmp eax, ebp
je 0x41162e
push eax
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.00480e32
mov eax, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x30], vtable.StringStorage.0
cmp eax, ebp
je 0x411660
push eax
call fcn.00480e32
add esp, 4
mov edx, dword [esp + 0x34]
push edx
jmp 0x411837
mov eax, dword [eax]
jmp 0x4115c7
lea ecx, [esp + 0x6c]
call fcn.00404990
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.0045cd90
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xb4], 4
call fcn.0045d000
push 0x3c
call fcn.00480ed5
mov ebx, eax
add esp, 4
mov dword [esp + 0xa4], ebx
mov byte [esp + 0xb0], 5
cmp ebx, ebp
je 0x41171b
mov edi, dword [esp + 0x7c]
cmp edi, dword [esp + 0x80]
jbe 0x4116de
call fcn.00480e22
mov eax, dword [esp + 0x70]
cmp eax, ebp
jne 0x411717
call fcn.00480e22
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4116f7
call fcn.00480e22
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x68]
push ecx
push edx
push eax
push edi
push ebx
call fcn.00412d80
mov esi, eax
jmp 0x41171d
mov eax, dword [eax]
jmp 0x4116ed
xor esi, esi
mov byte [esp + 0xb0], 4
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne dl
mov byte [esi + 0xc], dl
mov eax, dword [vtable.LocalMutex.0]
mov edx, dword [eax + 4]
mov ecx, 0x583ba0
call edx
mov eax, dword [vtable.LocalMutex.0]
mov edx, dword [eax + 8]
mov ecx, 0x583ba0
call edx
mov ecx, dword [0x5949d0]
push esi
call fcn.004141e0
mov eax, dword [esp + 0x98]
mov esi, vtable.AnsiStringStorage.0
mov dword [esp + 0x88], esi
cmp eax, ebp
je 0x411782
push eax
call fcn.00480e32
add esp, 4
mov eax, dword [esp + 0x8c]
push eax
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ebp
call fcn.00480e32
mov eax, dword [esp + 0x80]
add esp, 4
mov edi, vtable.StringStorage.0
mov dword [esp + 0x6c], edi
cmp eax, ebp
je 0x4117c4
push eax
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x70]
push ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
call fcn.00480e32
add esp, 4
lea ecx, [esp + 0x50]
call fcn.00414d00
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], esi
cmp eax, ebp
je 0x411804
push eax
call fcn.00480e32
add esp, 4
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.00480e32
mov eax, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x30], edi
cmp eax, ebp
je 0x411832
push eax
call fcn.00480e32
add esp, 4
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret