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

Disassembly:
push 0xffffffffffffffff
push 0x4d2108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
mov ebp, dword [esp + 0xb0]
mov eax, dword [ebp + 0x5f4]
push esi
push edi
mov edi, edx
xor edx, edx
mov esi, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
cmp eax, edx
je 0x48d0cd
mov eax, dword [ebp + 0x248]
or eax, dword [ebp + 0x24c]
jne 0x48d0cd
add ebp, 0x5dc
push ebp
call fcn.0048e620
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov eax, dword [ebp]
test eax, eax
jne 0x48ccde
call fcn.0049f380
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x48cc8d
call fcn.0049f380
mov ecx, dword [ebx + 8]
mov dword [edi], ecx
mov edx, dword [ebx + 0xc]
mov dword [edi + 4], edx
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], eax
mov ecx, dword [ebx + 0x14]
mov eax, ebp
mov dword [edi + 0xc], ecx
call fcn.0048e5d0
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x248]
or ecx, dword [eax + 0x24c]
je 0x48cce2
mov eax, dword [eax + 0x234]
jmp 0x48cce8
mov eax, dword [eax]
jmp 0x48cc83
mov eax, dword [eax + 0x5c8]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xb8]
lea ebp, [eax - 1]
xor esi, esi
cmp ebp, esi
lea eax, [edx + ebp]
mov dword [esp + 0x18], eax
jl 0x48cd32
mov eax, ebp
lea ecx, [esp + 0x50]
mov edi, ebx
call fcn.0048d390
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x10], 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
jmp 0x48cd44
mov eax, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
test byte [esp + 0x10], 1
lea eax, [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
je 0x48cd80
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], vtable.CEventRef.0
call fcn.00405d80
cmp dword [ebx + 0x5c8], esi
jne 0x48cdb6
mov ecx, dword [ebx + 0x5cc]
lea esi, [ebx + 0x5c0]
test ecx, ecx
je 0x48cda2
mov eax, dword [esi]
neg eax
sbb eax, eax
and eax, ecx
jmp 0x48cda7
mov eax, 0x19999999
cmp dword [esp + 0x14], eax
jbe 0x48cdb6
mov edi, dword [esp + 0x14]
call fcn.0048e480
mov eax, dword [ebx + 0x5c8]
mov edx, dword [esp + 0x14]
lea ecx, [ebx + 0x5c0]
add eax, edx
call fcn.0048e4c0
mov eax, dword [ebx + 0x5f0]
mov edi, dword [ebx + 0x5dc]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
jmp 0x48cdee
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xb8]
mov eax, dword [ebx + 0x5f0]
mov esi, dword [eax]
mov eax, dword [ebx + 0x5dc]
add ebx, 0x5dc
test edi, edi
je 0x48ce0a
cmp edi, eax
je 0x48ce0f
call fcn.0049f380
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x48d09c
mov esi, edi
mov dword [esp + 0x38], eax
test edi, edi
jne 0x48ce2a
call fcn.0049f380
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 4]
test esi, esi
je 0x48ce39
mov eax, dword [esi]
jmp 0x48ce3b
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x48ce45
call fcn.0049f380
test esi, esi
jne 0x48cf3e
call fcn.0049f380
cmp ebx, dword [esi + 0x14]
jne 0x48ce5c
call fcn.0049f380
mov edi, dword [esp + 0x18]
lea ecx, [edi + edi*4]
mov dword [esp + 0x34], ecx
lea esi, [ebp + ebp*4]
jmp 0x48ce70
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0xc]
cmp eax, edx
jne 0x48ce88
cmp ecx, dword [esp + 0x28]
je 0x48cf45
cmp ecx, dword [esp + 0x28]
ja 0x48ce9c
jb 0x48cf57
cmp eax, edx
jb 0x48cf57
mov ecx, dword [esp + 0xb8]
add ecx, 0x5c0
lea eax, [edi + edi*4]
add eax, dword [ecx]
mov ecx, dword [ebx + 0x18]
mov dword [eax], ecx
movzx edx, byte [ebx + 0x1c]
mov byte [eax + 4], dl
movzx edx, byte [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov byte [eax + 4], dl
mov eax, dword [esp + 0xc0]
push eax
lea esi, [esp + 0x5c]
call fcn.0048d300
mov edx, dword [esp + 0xc0]
mov ecx, esi
push ecx
push edx
mov dword [esp + 0xb8], 0
call fcn.0040d7d0
mov esi, dword [esp + 0xc4]
mov edx, dword [esp + 0xbc]
sub esi, 0xc
mov ecx, edi
mov dword [esi], ecx
mov dword [esp + 0xc4], esi
mov dword [esi + 4], edx
test al, al
je 0x48d01b
mov byte [esp + 0x90], 1
mov ecx, dword [esp + 0x90]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0xc8]
inc dword [ecx]
jmp 0x48d027
mov esi, dword [esi]
jmp 0x48ce52
mov edx, dword [esp + 0x2c]
cmp dword [ebx + 0x10], edx
setb al
test al, al
je 0x48ce9c
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x34]
add eax, 0x5c0
mov eax, dword [eax]
lea ecx, [eax + esi]
add eax, edx
mov edx, dword [ecx]
mov dword [eax], edx
mov cl, byte [ecx + 4]
mov byte [eax + 4], cl
dec ebp
xor eax, eax
sub esi, 5
cmp ebp, eax
jl 0x48cfbe
mov edi, dword [esp + 0xb8]
mov eax, ebp
lea ecx, [esp + 0x94]
call fcn.0048d390
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
or dword [esp + 0x10], 2
mov edi, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], ecx
lea eax, [esp + 0x74]
jmp 0x48cfce
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x64]
test byte [esp + 0x10], 2
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
je 0x48d00c
and dword [esp + 0x10], 0xfffffffd
lea ecx, [esp + 0x94]
mov dword [esp + 0x94], vtable.CEventRef.0
call fcn.00405d80
dec edi
sub dword [esp + 0x34], 5
mov dword [esp + 0x18], edi
jmp 0x48ce70
mov byte [esp + 0x44], 0
mov edx, dword [esp + 0x44]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x58]
cmp dword [ecx + 0x24], 0x103
jne 0x48d046
mov edx, dword [ebx + 0x10]
mov bl, al
mov eax, dword [esp + 0xcc]
push edx
call fcn.00412150
dec edi
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], edi
mov dword [esp + 0x50], vtable.CEventRef.0
call fcn.00405d80
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x48d074
call fcn.0049f380
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
test esi, esi
je 0x48d087
mov eax, dword [esi]
jmp 0x48d089
xor eax, eax
cmp ecx, dword [eax + 0x14]
jne 0x48cde3
call fcn.0049f380
jmp 0x48cde3
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebx + 0x14]
mov dword [ecx + 4], ecx
mov dword [ebx + 0x18], 0
cmp eax, dword [ebx + 0x14]
je 0x48d0c7
mov esi, dword [eax]
push eax
call fcn.0049e96f
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x14]
jne 0x48d0b5
mov eax, dword [esp + 0x14]
jmp 0x48d0f1
xor eax, eax
mov dword [edi], eax
xor ecx, ecx
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [edi + 8], edx
mov dword [edi + 0xc], ecx
mov dword [esi], eax
xor ecx, ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov edx, dword [esp + 0x70]
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa4
ret 0x18