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

Disassembly:
push 0xffffffffffffffff
push 0x5c47eb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb4]
lea eax, [ebp + 0xc]
mov dword [esp + 0x64], eax
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x68], eax
xor esi, esi
mov dword [esp + 0xac], esi
call fcn.00449c80
mov dword [esp + 0x28], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], eax
mov eax, dword [esp + 0x28]
mov dword [eax + 8], eax
mov dword [esp + 0x2c], esi
mov byte [esp + 0xac], 1
call fcn.00449c80
mov dword [esp + 0x34], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x34]
mov dword [eax], eax
mov eax, dword [esp + 0x34]
mov dword [eax + 8], eax
mov dword [esp + 0x38], esi
mov byte [esp + 0xac], 2
mov eax, dword [ebp + 4]
mov ebx, dword [eax]
mov esi, ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
lea esp, [esp]
test esi, esi
mov edi, dword [ebp + 4]
je 0x49abbb
cmp esi, ebp
je 0x49abc0
call fcn.004e4f35
cmp ebx, edi
je 0x49ae09
test esi, esi
jne 0x49abd1
call fcn.004e4f35
add esi, 4
cmp ebx, dword [esi]
mov dword [esp + 0x20], esi
jne 0x49abe1
call fcn.004e4f35
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 0x2c]
mov al, byte [edx + 0x60]
add ebx, 0x10
test al, al
mov dword [esp + 0x6c], ebx
je 0x49adec
mov edi, dword [esp + 0x1c]
cmp edi, dword [esi]
jne 0x49ac06
call fcn.004e4f35
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx + 0xcc]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ecx, edx
jl 0x49ac21
sub ecx, edx
mov eax, ecx
jmp 0x49ac28
mov eax, dword [eax + 4]
sub eax, edx
add eax, ecx
test eax, eax
jle 0x49ac4b
cmp edi, dword [esi]
jne 0x49ac35
call fcn.004e4f35
mov eax, dword [ebx]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0x64]
test ecx, ecx
lea edx, [ecx - 1]
mov dword [eax + 0x64], edx
jg 0x49adec
cmp edi, dword [esi]
jne 0x49ac54
call fcn.004e4f35
mov eax, dword [ebx]
mov dword [eax], 6
cmp edi, dword [esi]
jne 0x49ac65
call fcn.004e4f35
call fcn.004a7f50
mov ecx, dword [ebx]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
cmp edi, dword [esi]
jne 0x49ac7b
call fcn.004e4f35
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea ebx, [esp + 0x2c]
call fcn.00449550
cmp edi, dword [esi]
jne 0x49aca2
call fcn.004e4f35
cmp edi, dword [esi]
jne 0x49aca2
call fcn.004e4f35
mov ebp, dword [esp + 0xb4]
mov edx, dword [edi + 0x10]
lea ebx, [edi + 0xc]
add ebp, 0x58
mov eax, ebp
mov dword [esp + 0x70], edx
call fcn.0049cd00
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
cmp edi, dword [esi]
jne 0x49accc
call fcn.004e4f35
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx]
mov esi, dword [esp + 0xb4]
add ebx, 0x20
lea eax, [esp + 0x4c]
call fcn.004a5a30
mov edi, dword [esp + 0x4c]
test edi, edi
mov esi, dword [esi + 4]
je 0x49acf9
cmp edi, dword [esp + 0xb4]
je 0x49acfe
call fcn.004e4f35
mov ebx, dword [esp + 0x50]
cmp ebx, esi
jne 0x49ad54
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx]
jne 0x49ad17
call fcn.004e4f35
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0x10]
add eax, 0xc
add ebx, 0x20
lea eax, [esp + 0x74]
mov esi, ebp
call fcn.004a5a30
mov edi, dword [eax]
test edi, edi
mov ebx, dword [eax + 4]
mov esi, dword [ebp + 4]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
je 0x49ad47
cmp edi, ebp
je 0x49ad4c
call fcn.004e4f35
cmp ebx, esi
je 0x49adec
test edi, edi
jne 0x49ad5d
call fcn.004e4f35
cmp ebx, dword [edi + 4]
jne 0x49ad67
call fcn.004e4f35
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 0x3c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp ecx, dword [edx]
jne 0x49ad87
call fcn.004e4f35
cmp ebx, dword [edi + 4]
jne 0x49ad91
call fcn.004e4f35
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x30]
add ebp, 0xc
add ecx, 0x1c
call fcn.0049d260
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
cmp edx, dword [ecx]
jne 0x49adba
call fcn.004e4f35
cmp ebx, dword [edi + 4]
jne 0x49adc4
call fcn.004e4f35
mov ecx, dword [ebp + 4]
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x34]
add ecx, 0x1c
call fcn.0049d260
cmp ebx, dword [edi + 4]
jne 0x49addf
call fcn.004e4f35
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea esi, [esp + 0x18]
call fcn.0049df50
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0xb4]
jmp 0x49abb0
mov ebp, dword [esp + 0xb4]
mov eax, dword [ebp + 0x5c]
mov esi, dword [eax]
add ebp, 0x58
mov edi, ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
test edi, edi
mov ebx, dword [ebp + 4]
je 0x49ae2d
cmp edi, ebp
je 0x49ae32
call fcn.004e4f35
cmp esi, ebx
je 0x49aed2
test edi, edi
jne 0x49ae43
call fcn.004e4f35
cmp esi, dword [edi + 4]
jne 0x49ae4d
call fcn.004e4f35
call fcn.004a7f50
mov ecx, dword [esi + 0x10]
sub eax, dword [ecx + 8]
sbb edx, dword [ecx + 0xc]
mov dword [esp + 0x78], edx
jne 0x49ae68
cmp eax, 0xf4240
jbe 0x49aebc
cmp esi, dword [edi + 4]
jne 0x49ae72
call fcn.004e4f35
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x2c]
cmp dword [ecx + 0x228], 0
je 0x49ae9d
cmp esi, dword [edi + 4]
jne 0x49ae8b
call fcn.004e4f35
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 0x228]
cmp byte [ecx + 0x18], 0
jne 0x49aebc
cmp esi, dword [edi + 4]
jne 0x49aea7
call fcn.004e4f35
add esi, 0xc
push esi
lea edx, [esp + 0x98]
push edx
lea ebx, [esp + 0x38]
call fcn.00449550
lea esi, [esp + 0x54]
call fcn.0049df50
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
jmp 0x49ae22
mov eax, dword [esp + 0x28]
mov ebp, dword [eax]
lea esi, [esp + 0x24]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
test esi, esi
mov edi, dword [esp + 0x28]
je 0x49aef4
lea ecx, [esp + 0x24]
cmp esi, ecx
je 0x49aef9
call fcn.004e4f35
cmp ebp, edi
je 0x49afc8
test esi, esi
jne 0x49af0a
call fcn.004e4f35
cmp ebp, dword [esi + 4]
jne 0x49af14
call fcn.004e4f35
mov edx, dword [esp + 0xb4]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
mov edi, ecx
jne 0x49af44
mov ecx, dword [ebp + 0xc]
lea esp, [esp]
cmp ecx, dword [eax + 0xc]
jge 0x49af3b
mov edi, eax
mov eax, dword [eax]
jmp 0x49af3e
mov eax, dword [eax + 8]
cmp byte [eax + 0x15], 0
je 0x49af30
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
mov ebx, ecx
jne 0x49af69
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0xc], ecx
jge 0x49af5f
mov eax, dword [eax + 8]
jmp 0x49af63
mov ebx, eax
mov eax, dword [eax]
cmp byte [eax + 0x15], 0
je 0x49af55
mov eax, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
test eax, eax
je 0x49af80
cmp eax, dword [esp + 0xb4]
je 0x49af85
call fcn.004e4f35
cmp dword [esp + 0x60], edi
je 0x49af9a
lea esi, [esp + 0x5c]
call fcn.0049df50
mov eax, dword [esp + 0x5c]
jmp 0x49af73
push edi
mov edi, dword [esp + 0xb8]
push edi
push ebx
push edi
lea edx, [esp + 0x90]
push edx
call fcn.004a6270
lea esi, [esp + 0x3c]
call fcn.00449ce0
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
jmp 0x49aee4
mov eax, dword [esp + 0x34]
mov edi, dword [eax]
lea esi, [esp + 0x30]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], esi
lea ebx, [ebx]
test esi, esi
mov ebx, dword [esp + 0x34]
je 0x49aff0
lea ecx, [esp + 0x30]
cmp esi, ecx
je 0x49aff5
call fcn.004e4f35
cmp edi, ebx
je 0x49b030
test esi, esi
jne 0x49b002
call fcn.004e4f35
cmp edi, dword [esi + 4]
jne 0x49b00c
call fcn.004e4f35
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0xb4]
push edx
push eax
call fcn.0049b090
lea esi, [esp + 0x44]
call fcn.00449ce0
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
jmp 0x49afe0
lea eax, [esp + 0x30]
mov byte [esp + 0xac], 1
call fcn.00449820
lea eax, [esp + 0x24]
mov byte [esp + 0xac], 0
call fcn.00449820
cmp dword [esp + 0x68], 0xffffffff
je 0x49b066
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 4