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

Disassembly:
push 0xffffffffffffffff
push 0x806b23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x3c]
call fcn.00435900
mov cl, byte [esi + 0xa08]
mov eax, dword [esi + 0xa04]
mov edx, dword [esi + 0xa0c]
mov byte [esp + 0x5c], cl
mov edi, vtable.WWLib::CHandle_1_.0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x3c], edi
call fcn.005d6fa0
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0xa4], 0
mov dword [esp + 0x40], vtable.WWLib::CEventSet_1_.0
call fcn.0043af80
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x3c], edi
call fcn.005d6fb0
push 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], vtable.WWLib::CBase_unsigned_long_int__1_.0
call fcn.00404f20
lea eax, [esi + 0x96c]
push 1
push eax
lea ecx, [esp + 0x6c]
call fcn.007a4753
lea ecx, [esi + 0x990]
mov dword [esp + 0xa0], 1
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x9a0]
mov edi, dword [ecx + 8]
mov edx, eax
mov ecx, dword [ecx + 0xc]
mov eax, dword [edx]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x24], ecx
mov eax, dword [edx + 8]
cmp edi, eax
mov edx, dword [edx + 0xc]
mov dword [esp + 0x2c], edx
je 0x4e9941
push ebx
push ebp
lea eax, [esp + 0x13]
lea ebp, [edi + 0x1ac]
push eax
push ebp
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b], 0
call fcn.004fcec0
mov cl, byte [esp + 0x13]
test cl, cl
lea ecx, [esp + 0x44]
sete bl
call fcn.0047ba70
test bl, bl
je 0x4e98f3
push 1
push ebp
lea ecx, [esp + 0x80]
call fcn.004fcfc0
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0xa8], 2
call dword [edx + 4]
lea ecx, [esp + 0x78]
mov byte [esp + 0xa8], 1
call fcn.0047ba70
mov eax, dword [esp + 0x1c]
add edi, 0x1d8
cmp edi, eax
jne 0x4e9918
mov eax, dword [esp + 0x24]
add eax, 4
mov dword [esp + 0x24], eax
mov edi, dword [eax]
lea eax, [edi + 0xec0]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x9a0]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 8]
cmp edi, eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x34], ecx
jne 0x4e9894
pop ebp
pop ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0xa0], 0xffffffff
call fcn.007a478f
mov al, byte [esi + 0xf4]
test al, al
je 0x4e99d6
mov esi, dword [esi + 0xf8]
lea ecx, [esp + 0x24]
call fcn.005560e0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0xc]
push edx
push eax
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0xac], 3
mov dword [esp + 0x2c], vtable.WWLib::CEventWait_1_.0
call fcn.005dce70
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], vtable.WWLib::CBase_unsigned_long_int__1_.0
test eax, eax
je 0x4e99ca
mov cl, byte [eax - 1]
test cl, cl
je 0x4e99be
dec cl
mov byte [eax - 1], cl
jmp 0x4e99ca
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4e99d6
xor al, al
jmp 0x4e99d8
mov al, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x9c
ret 4