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

Disassembly:
push 0xffffffffffffffff
push 0x4f68cc
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
push 0x94
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x24], eax
xor ebx, ebx
mov dword [esp + 0xac], ebx
cmp eax, ebx
je 0x4a2449
push eax
call fcn.0040f9b0
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x4a244f
mov dword [esp + 0x1c], ebx
mov edi, ebx
mov eax, dword [esp + 0xbc]
push 0x2d
push eax
mov eax, dword [esp + 0xc0]
mov ecx, 0xc
mov esi, edi
mov dword [esp + 0xb4], 0xffffffff
call fcn.00410b30
mov dword [esp + 0x2c], 0x50fcec
mov dword [esp + 0x30], 0x32299d
mov dword [esp + 0x34], 0x50fcf4
mov dword [esp + 0x38], 0x8bb19c
mov dword [esp + 0x3c], 0x50fcfc
mov dword [esp + 0x40], 0xb3868e
mov dword [esp + 0x44], 0x50fd00
mov dword [esp + 0x48], 0x6284a8
mov dword [esp + 0x4c], 0x50fd04
mov dword [esp + 0x50], 0x12b6d9
mov dword [esp + 0x54], 0x50fd0c
mov dword [esp + 0x58], 0xff9933
mov dword [esp + 0x5c], 0x50fd14
mov dword [esp + 0x60], 0x978d82
mov dword [esp + 0x64], 0x50fd1c
mov dword [esp + 0x68], 0x3657ed
mov dword [esp + 0x6c], str._bgv
mov dword [esp + 0x70], 0xd8ca92
mov dword [esp + 0x74], 0x50fd28
mov dword [esp + 0x78], 0xcc99ff
mov dword [esp + 0x7c], 0x50fd2c
mov dword [esp + 0x80], 0x999999
mov dword [esp + 0x84], 0x50fd34
mov dword [esp + 0x88], 0x92b3d7
mov dword [esp + 0x8c], 0x50fd3c
mov dword [esp + 0x90], 0x616db3
call fcn.004811a0
mov byte [esp + 0x1b], al
call fcn.004811f0
xor esi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
lea ebx, [esp + 0x30]
jmp 0x4a2584
mov esi, dword [esp + 0x20]
cmp esi, 0x222
jae 0x4a26d3
push 0x170
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x24], eax
mov ecx, 1
mov dword [esp + 0xac], ecx
test eax, eax
je 0x4a25bf
push 0
push 0
push eax
call fcn.0049f2c0
mov ebp, eax
jmp 0x4a25c1
xor ebp, ebp
mov eax, dword [esp + 0xb8]
push 0x1f
mov ecx, esi
mov dword [esp + 0xb0], 0xffffffff
push 0x1f
mov esi, ebp
mov dword [esp + 0x2c], ebp
call fcn.00410b30
mov ecx, dword [ebx - 4]
mov edi, dword [ebx]
mov eax, ecx
mov dword [ebp + 0x124], edi
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4a25f4
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [ebp + 0xe4]
call fcn.00401760
cmp byte [esp + 0x1b], 0
je 0x4a2621
cmp edi, dword [esp + 0x28]
jne 0x4a2621
mov al, 1
jmp 0x4a2623
xor al, al
cmp byte [ebp + 0xe0], al
je 0x4a263b
mov edx, dword [ebp]
mov byte [ebp + 0xe0], al
mov eax, dword [edx + 0x18]
mov ecx, ebp
call eax
mov edi, dword [esp + 0x1c]
mov esi, ebp
call fcn.00410cb0
mov esi, dword [esp + 0xb4]
xor ecx, ecx
push ecx
mov eax, 0x4a32d0
push eax
push esi
mov edx, ebp
call fcn.00402400
mov eax, dword [esi + 0xb8]
add esi, 0xac
add esp, 0xc
test eax, eax
jne 0x4a2675
xor ecx, ecx
jmp 0x4a267d
mov ecx, dword [esi + 0x14]
sub ecx, eax
sar ecx, 2
mov edi, dword [esi + 0x10]
mov edx, edi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x4a2695
mov dword [edi], ebp
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x4a26b6
cmp eax, edi
jbe 0x4a269e
call fcn.004c96d9
mov eax, dword [esi]
push edi
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xa4]
push ecx
mov eax, esi
call fcn.0048cc20
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
add eax, 0x2a
add ebx, 8
cmp eax, 0x24c
mov dword [esp + 0x20], eax
jl 0x4a2580
xor ebp, ebp
cmp edi, ebp
je 0x4a2718
cmp edi, 0xffffffff
je 0x4a2718
mov ebx, dword [esp + 0xb4]
lea esi, [edi + 4]
push esi
mov dword [edi + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esi]
mov dword [edi + 0x20], ebp
mov dword [edi + 0x24], ebp
cmp dword [ebx + 0x18], ebp
jne 0x4a2707
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
jmp 0x4a271f
mov eax, dword [ebx + 0x1c]
mov dword [eax + 0x24], edi
mov ecx, dword [ebx + 0x1c]
mov dword [edi + 0x20], ecx
mov dword [ebx + 0x1c], edi
jmp 0x4a271f
mov ebx, dword [esp + 0xb4]
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
mov ecx, ebx
call eax
cmp eax, ebp
je 0x4a273d
mov eax, dword [eax + 4]
cmp eax, ebp
je 0x4a273d
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
mov eax, edi
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 0xc