Function at 0x40df70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b98f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x80]
lea eax, [esi + 0x80]
xor edi, edi
mov dword [esp + 0x28], eax
mov ecx, eax
mov eax, dword [edx + 4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], vtable.AutoLock.0
call eax
mov dword [esp + 0x40], edi
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax]
mov edi, dword [esi + 0x48]
mov dword [esp + 0x20], ecx
mov ebx, dword [esi + 0x5c]
mov eax, dword [esi + 0x48]
test edi, edi
je 0x40dfe2
cmp edi, eax
je 0x40dfe7
call fcn.00480e22
cmp dword [esp + 0x20], ebx
je 0x40e0bb
test edi, edi
jne 0x40e089
call fcn.00480e22
xor eax, eax
mov edx, dword [esp + 0x20]
cmp edx, dword [eax + 0x14]
jne 0x40e00e
call fcn.00480e22
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 8]
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 4]
lea ebx, [esi + 0x20]
mov ecx, ebx
call eax
mov ecx, dword [esi + 0x18]
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov dword [esp + 0x18], ecx
mov ecx, ebx
call eax
cmp dword [esp + 0x18], 4
jne 0x40e090
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov edi, dword [ebp + 8]
lea ebx, [esp + 0x34]
add edi, 0x48
call fcn.00447480
mov edx, dword [eax + 4]
mov edi, dword [eax]
mov eax, dword [vtable.LocalMutex.0]
mov dword [esp + 0x20], edx
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 esi, dword [ebp + 8]
jmp 0x40dfd4
mov eax, dword [edi]
jmp 0x40e000
test edi, edi
jne 0x40e0b7
call fcn.00480e22
xor eax, eax
mov esi, dword [esp + 0x20]
cmp esi, dword [eax + 0x14]
jne 0x40e0a9
call fcn.00480e22
mov eax, dword [esi]
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], eax
jmp 0x40dfd4
mov eax, dword [edi]
jmp 0x40e09b
mov eax, dword [esi + 0x78]
mov eax, dword [eax]
mov edi, dword [esi + 0x64]
mov dword [esp + 0x20], eax
mov ebx, dword [esi + 0x78]
mov eax, dword [esi + 0x64]
test edi, edi
je 0x40e0d5
cmp edi, eax
je 0x40e0da
call fcn.00480e22
cmp dword [esp + 0x20], ebx
je 0x40e1aa
test edi, edi
jne 0x40e17c
call fcn.00480e22
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x14]
jne 0x40e101
call fcn.00480e22
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 8]
mov eax, dword [esi + 0x20]
mov edx, dword [eax + 4]
lea ebx, [esi + 0x20]
mov ecx, ebx
call edx
mov eax, dword [esi + 0x18]
mov edx, dword [ebx]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
cmp dword [esp + 0x18], 4
jne 0x40e183
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov edi, dword [ebp + 8]
lea ebx, [esp + 0x34]
add edi, 0x64
call fcn.00447480
mov edx, dword [eax + 4]
mov edi, dword [eax]
mov eax, dword [vtable.LocalMutex.0]
mov dword [esp + 0x20], edx
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 esi, dword [ebp + 8]
jmp 0x40e0c7
mov eax, dword [edi]
jmp 0x40e0f3
test edi, edi
jne 0x40e1a6
call fcn.00480e22
xor eax, eax
mov esi, dword [esp + 0x20]
cmp esi, dword [eax + 0x14]
jne 0x40e19c
call fcn.00480e22
mov eax, dword [esi]
mov esi, dword [ebp + 8]
jmp 0x40e0c3
mov eax, dword [edi]
jmp 0x40e18e
mov eax, dword [esi + 0x128]
test eax, eax
je 0x40e1c8
cmp dword [esi + 0x7c], 0
jne 0x40e1c8
mov dword [esp + 0x14], eax
mov dword [esi + 0x128], 0
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40e267
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ebx, dword [esi + 0x3c]
cmp ebx, dword [esi + 0x40]
jbe 0x40e1fc
call fcn.00480e22
mov edi, dword [esi + 0x30]
nop
mov eax, dword [esi + 0x40]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x3c], eax
jbe 0x40e211
call fcn.00480e22
mov eax, dword [esi + 0x30]
test edi, edi
je 0x40e21c
cmp edi, eax
je 0x40e221
call fcn.00480e22
cmp ebx, dword [esp + 0x18]
je 0x40e267
test edi, edi
jne 0x40e25f
call fcn.00480e22
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x40e23c
call fcn.00480e22
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
test edi, edi
jne 0x40e263
call fcn.00480e22
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x40e25a
call fcn.00480e22
add ebx, 4
jmp 0x40e200
mov eax, dword [edi]
jmp 0x40e232
mov eax, dword [edi]
jmp 0x40e250
mov edx, dword [esi + 0x80]
mov eax, dword [edx + 4]
lea edi, [esi + 0x80]
mov ecx, edi
call eax
cmp dword [esi + 0x7c], 0
jne 0x40e297
cmp dword [esi + 0x60], 0
jne 0x40e297
mov esi, dword [esi + 0x124]
test esi, esi
je 0x40e297
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4