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

Disassembly:
push 0xffffffffffffffff
push 0x5c508b
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.0044a4f0
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.0044a4f0
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 0x49b43b
cmp esi, ebp
je 0x49b440
call fcn.004e57b5
cmp ebx, edi
je 0x49b689
test esi, esi
jne 0x49b451
call fcn.004e57b5
add esi, 4
cmp ebx, dword [esi]
mov dword [esp + 0x20], esi
jne 0x49b461
call fcn.004e57b5
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 0x49b66c
mov edi, dword [esp + 0x1c]
cmp edi, dword [esi]
jne 0x49b486
call fcn.004e57b5
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 0x49b4a1
sub ecx, edx
mov eax, ecx
jmp 0x49b4a8
mov eax, dword [eax + 4]
sub eax, edx
add eax, ecx
test eax, eax
jle 0x49b4cb
cmp edi, dword [esi]
jne 0x49b4b5
call fcn.004e57b5
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 0x49b66c
cmp edi, dword [esi]
jne 0x49b4d4
call fcn.004e57b5
mov eax, dword [ebx]
mov dword [eax], 6
cmp edi, dword [esi]
jne 0x49b4e5
call fcn.004e57b5
call fcn.004a87d0
mov ecx, dword [ebx]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
cmp edi, dword [esi]
jne 0x49b4fb
call fcn.004e57b5
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea ebx, [esp + 0x2c]
call fcn.00449dc0
cmp edi, dword [esi]
jne 0x49b522
call fcn.004e57b5
cmp edi, dword [esi]
jne 0x49b522
call fcn.004e57b5
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.0049d580
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
cmp edi, dword [esi]
jne 0x49b54c
call fcn.004e57b5
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx]
mov esi, dword [esp + 0xb4]
add ebx, 0x20
lea eax, [esp + 0x4c]
call fcn.004a6270
mov edi, dword [esp + 0x4c]
test edi, edi
mov esi, dword [esi + 4]
je 0x49b579
cmp edi, dword [esp + 0xb4]
je 0x49b57e
call fcn.004e57b5
mov ebx, dword [esp + 0x50]
cmp ebx, esi
jne 0x49b5d4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx]
jne 0x49b597
call fcn.004e57b5
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.004a6270
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 0x49b5c7
cmp edi, ebp
je 0x49b5cc
call fcn.004e57b5
cmp ebx, esi
je 0x49b66c
test edi, edi
jne 0x49b5dd
call fcn.004e57b5
cmp ebx, dword [edi + 4]
jne 0x49b5e7
call fcn.004e57b5
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 0x49b607
call fcn.004e57b5
cmp ebx, dword [edi + 4]
jne 0x49b611
call fcn.004e57b5
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.0049dae0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
cmp edx, dword [ecx]
jne 0x49b63a
call fcn.004e57b5
cmp ebx, dword [edi + 4]
jne 0x49b644
call fcn.004e57b5
mov ecx, dword [ebp + 4]
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x34]
add ecx, 0x1c
call fcn.0049dae0
cmp ebx, dword [edi + 4]
jne 0x49b65f
call fcn.004e57b5
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.0049e790
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0xb4]
jmp 0x49b430
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 0x49b6ad
cmp edi, ebp
je 0x49b6b2
call fcn.004e57b5
cmp esi, ebx
je 0x49b752
test edi, edi
jne 0x49b6c3
call fcn.004e57b5
cmp esi, dword [edi + 4]
jne 0x49b6cd
call fcn.004e57b5
call fcn.004a87d0
mov ecx, dword [esi + 0x10]
sub eax, dword [ecx + 8]
sbb edx, dword [ecx + 0xc]
mov dword [esp + 0x78], edx
jne 0x49b6e8
cmp eax, 0xf4240
jbe 0x49b73c
cmp esi, dword [edi + 4]
jne 0x49b6f2
call fcn.004e57b5
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x2c]
cmp dword [ecx + 0x228], 0
je 0x49b71d
cmp esi, dword [edi + 4]
jne 0x49b70b
call fcn.004e57b5
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 0x228]
cmp byte [ecx + 0x18], 0
jne 0x49b73c
cmp esi, dword [edi + 4]
jne 0x49b727
call fcn.004e57b5
add esi, 0xc
push esi
lea edx, [esp + 0x98]
push edx
lea ebx, [esp + 0x38]
call fcn.00449dc0
lea esi, [esp + 0x54]
call fcn.0049e790
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
jmp 0x49b6a2
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 0x49b774
lea ecx, [esp + 0x24]
cmp esi, ecx
je 0x49b779
call fcn.004e57b5
cmp ebp, edi
je 0x49b848
test esi, esi
jne 0x49b78a
call fcn.004e57b5
cmp ebp, dword [esi + 4]
jne 0x49b794
call fcn.004e57b5
mov edx, dword [esp + 0xb4]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
mov edi, ecx
jne 0x49b7c4
mov ecx, dword [ebp + 0xc]
lea esp, [esp]
cmp ecx, dword [eax + 0xc]
jge 0x49b7bb
mov edi, eax
mov eax, dword [eax]
jmp 0x49b7be
mov eax, dword [eax + 8]
cmp byte [eax + 0x15], 0
je 0x49b7b0
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
mov ebx, ecx
jne 0x49b7e9
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0xc], ecx
jge 0x49b7df
mov eax, dword [eax + 8]
jmp 0x49b7e3
mov ebx, eax
mov eax, dword [eax]
cmp byte [eax + 0x15], 0
je 0x49b7d5
mov eax, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
test eax, eax
je 0x49b800
cmp eax, dword [esp + 0xb4]
je 0x49b805
call fcn.004e57b5
cmp dword [esp + 0x60], edi
je 0x49b81a
lea esi, [esp + 0x5c]
call fcn.0049e790
mov eax, dword [esp + 0x5c]
jmp 0x49b7f3
push edi
mov edi, dword [esp + 0xb8]
push edi
push ebx
push edi
lea edx, [esp + 0x90]
push edx
call fcn.004a6ab0
lea esi, [esp + 0x3c]
call fcn.0044a550
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
jmp 0x49b764
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 0x49b870
lea ecx, [esp + 0x30]
cmp esi, ecx
je 0x49b875
call fcn.004e57b5
cmp edi, ebx
je 0x49b8b0
test esi, esi
jne 0x49b882
call fcn.004e57b5
cmp edi, dword [esi + 4]
jne 0x49b88c
call fcn.004e57b5
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0xb4]
push edx
push eax
call fcn.0049b910
lea esi, [esp + 0x44]
call fcn.0044a550
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
jmp 0x49b860
lea eax, [esp + 0x30]
mov byte [esp + 0xac], 1
call fcn.0044a090
lea eax, [esp + 0x24]
mov byte [esp + 0xac], 0
call fcn.0044a090
cmp dword [esp + 0x68], 0xffffffff
je 0x49b8e6
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