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

Disassembly:
push 0xffffffffffffffff
push 0x5d447b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629560]
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.004b7030
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.004b7030
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 0x4a98ab
cmp esi, ebp
je 0x4a98b0
call fcn.004f410b
cmp ebx, edi
je 0x4a9af9
test esi, esi
jne 0x4a98c1
call fcn.004f410b
add esi, 4
cmp ebx, dword [esi]
mov dword [esp + 0x20], esi
jne 0x4a98d1
call fcn.004f410b
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 0x4a9adc
mov edi, dword [esp + 0x1c]
cmp edi, dword [esi]
jne 0x4a98f6
call fcn.004f410b
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 0x4a9911
sub ecx, edx
mov eax, ecx
jmp 0x4a9918
mov eax, dword [eax + 4]
sub eax, edx
add eax, ecx
test eax, eax
jle 0x4a993b
cmp edi, dword [esi]
jne 0x4a9925
call fcn.004f410b
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 0x4a9adc
cmp edi, dword [esi]
jne 0x4a9944
call fcn.004f410b
mov eax, dword [ebx]
mov dword [eax], 6
cmp edi, dword [esi]
jne 0x4a9955
call fcn.004f410b
call fcn.004b72a0
mov ecx, dword [ebx]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
cmp edi, dword [esi]
jne 0x4a996b
call fcn.004f410b
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea ebx, [esp + 0x2c]
call fcn.00453bc0
cmp edi, dword [esi]
jne 0x4a9992
call fcn.004f410b
cmp edi, dword [esi]
jne 0x4a9992
call fcn.004f410b
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.004abbc0
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
cmp edi, dword [esi]
jne 0x4a99bc
call fcn.004f410b
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx]
mov esi, dword [esp + 0xb4]
add ebx, 0x20
lea eax, [esp + 0x4c]
call fcn.004b4ec0
mov edi, dword [esp + 0x4c]
test edi, edi
mov esi, dword [esi + 4]
je 0x4a99e9
cmp edi, dword [esp + 0xb4]
je 0x4a99ee
call fcn.004f410b
mov ebx, dword [esp + 0x50]
cmp ebx, esi
jne 0x4a9a44
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx]
jne 0x4a9a07
call fcn.004f410b
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.004b4ec0
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 0x4a9a37
cmp edi, ebp
je 0x4a9a3c
call fcn.004f410b
cmp ebx, esi
je 0x4a9adc
test edi, edi
jne 0x4a9a4d
call fcn.004f410b
cmp ebx, dword [edi + 4]
jne 0x4a9a57
call fcn.004f410b
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 0x4a9a77
call fcn.004f410b
cmp ebx, dword [edi + 4]
jne 0x4a9a81
call fcn.004f410b
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.004ac2e0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
cmp edx, dword [ecx]
jne 0x4a9aaa
call fcn.004f410b
cmp ebx, dword [edi + 4]
jne 0x4a9ab4
call fcn.004f410b
mov ecx, dword [ebp + 4]
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x34]
add ecx, 0x1c
call fcn.004ac2e0
cmp ebx, dword [edi + 4]
jne 0x4a9acf
call fcn.004f410b
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.00449f30
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0xb4]
jmp 0x4a98a0
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 0x4a9b1d
cmp edi, ebp
je 0x4a9b22
call fcn.004f410b
cmp esi, ebx
je 0x4a9bc2
test edi, edi
jne 0x4a9b33
call fcn.004f410b
cmp esi, dword [edi + 4]
jne 0x4a9b3d
call fcn.004f410b
call fcn.004b72a0
mov ecx, dword [esi + 0x10]
sub eax, dword [ecx + 8]
sbb edx, dword [ecx + 0xc]
mov dword [esp + 0x78], edx
jne 0x4a9b58
cmp eax, 0xf4240
jbe 0x4a9bac
cmp esi, dword [edi + 4]
jne 0x4a9b62
call fcn.004f410b
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x2c]
cmp dword [ecx + 0x228], 0
je 0x4a9b8d
cmp esi, dword [edi + 4]
jne 0x4a9b7b
call fcn.004f410b
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 0x228]
cmp byte [ecx + 0x18], 0
jne 0x4a9bac
cmp esi, dword [edi + 4]
jne 0x4a9b97
call fcn.004f410b
add esi, 0xc
push esi
lea edx, [esp + 0x98]
push edx
lea ebx, [esp + 0x38]
call fcn.00453bc0
lea esi, [esp + 0x54]
call fcn.00449f30
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
jmp 0x4a9b12
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 0x4a9be4
lea ecx, [esp + 0x24]
cmp esi, ecx
je 0x4a9be9
call fcn.004f410b
cmp ebp, edi
je 0x4a9cb8
test esi, esi
jne 0x4a9bfa
call fcn.004f410b
cmp ebp, dword [esi + 4]
jne 0x4a9c04
call fcn.004f410b
mov edx, dword [esp + 0xb4]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
mov edi, ecx
jne 0x4a9c34
mov ecx, dword [ebp + 0xc]
lea esp, [esp]
cmp ecx, dword [eax + 0xc]
jge 0x4a9c2b
mov edi, eax
mov eax, dword [eax]
jmp 0x4a9c2e
mov eax, dword [eax + 8]
cmp byte [eax + 0x15], 0
je 0x4a9c20
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
mov ebx, ecx
jne 0x4a9c59
mov ecx, dword [ebp + 0xc]
cmp dword [eax + 0xc], ecx
jge 0x4a9c4f
mov eax, dword [eax + 8]
jmp 0x4a9c53
mov ebx, eax
mov eax, dword [eax]
cmp byte [eax + 0x15], 0
je 0x4a9c45
mov eax, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
test eax, eax
je 0x4a9c70
cmp eax, dword [esp + 0xb4]
je 0x4a9c75
call fcn.004f410b
cmp dword [esp + 0x60], edi
je 0x4a9c8a
lea esi, [esp + 0x5c]
call fcn.00449f30
mov eax, dword [esp + 0x5c]
jmp 0x4a9c63
push edi
mov edi, dword [esp + 0xb8]
push edi
push ebx
push edi
lea edx, [esp + 0x90]
push edx
call fcn.004ac620
lea esi, [esp + 0x3c]
call fcn.00454350
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
jmp 0x4a9bd4
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 0x4a9ce0
lea ecx, [esp + 0x30]
cmp esi, ecx
je 0x4a9ce5
call fcn.004f410b
cmp edi, ebx
je 0x4a9d20
test esi, esi
jne 0x4a9cf2
call fcn.004f410b
cmp edi, dword [esi + 4]
jne 0x4a9cfc
call fcn.004f410b
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0xb4]
push edx
push eax
call fcn.004a9d80
lea esi, [esp + 0x44]
call fcn.00454350
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
jmp 0x4a9cd0
lea eax, [esp + 0x30]
mov byte [esp + 0xac], 1
call fcn.00453ed0
lea eax, [esp + 0x24]
mov byte [esp + 0xac], 0
call fcn.00453ed0
cmp dword [esp + 0x68], 0xffffffff
je 0x4a9d56
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