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

Disassembly:
push 0xffffffffffffffff
push 0x616ec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], esi
cmp eax, edi
jne 0x4b1073
mov eax, dword [esi + 0xf0]
or al, 1
mov dword [esi + 0xf0], eax
mov al, 1
jmp 0x4b1719
sub esp, 0xc
mov dword [esp + 0x1c], edi
mov ecx, esp
mov dword [esp + 0x30], esp
call fcn.004047a0
sub esp, 8
mov ecx, esp
mov dword [esp + 0x38], esp
push str.logmod_version
call fcn.00405b90
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x40]
push eax
call fcn.0042fd10
mov dword [esp + 0x13c], edi
mov edi, str.0.4__MM_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
not ecx
dec ecx
sub edx, ebx
cmp edx, ecx
jne 0x4b10d6
mov edi, str.0.4__MM_
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4b111e
mov edi, str.0.4b__MM_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jne 0x4b10f6
mov edi, str.0.4b__MM_
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4b111e
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x144]
mov cl, byte [eax + edi]
inc eax
cmp cl, 1
mov dword [esp + 0x10], eax
je 0x4b1129
mov dword [esp + 0x13c], 1
jmp 0x4b170e
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x144]
lea ecx, [eax + edi]
add eax, 4
mov dword [esp + 0x10], eax
mov ecx, dword [ecx]
test cl, 3
jne 0x4b1703
test cl, 4
je 0x4b16d6
mov dx, word [eax + edi]
add eax, 2
mov cl, dl
mov word [esp + 0x14], dx
test cl, 2
mov dword [esp + 0x10], eax
je 0x4b16f6
mov ebp, dword [esp + 0x14]
test ebp, 0xf000
jne 0x4b16f6
mov cl, byte [eax + edi]
inc eax
mov byte [esp + 0x14], cl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
and eax, 0xff
jle 0x4b16cb
mov ecx, ebp
mov esi, ebp
and ecx, 8
mov ebx, ebp
mov dword [esp + 0x38], ecx
mov ecx, ebp
and ecx, 0x10
and esi, 1
mov dword [esp + 0x60], ecx
mov ecx, ebp
and ecx, 0x20
and ebx, 4
mov dword [esp + 0x44], ecx
mov ecx, ebp
and ecx, 0x40
mov dword [esp + 0x48], esi
mov dword [esp + 0x5c], ecx
mov ecx, ebp
and ecx, 0x80
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ecx
mov ecx, ebp
and ecx, 0x100
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
jmp 0x4b11e9
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
lea ecx, [esp + 0x6c]
call fcn.004047a0
lea ecx, [esp + 0x78]
mov byte [esp + 0x13c], 4
call fcn.004047a0
lea ecx, [esp + 0x84]
call fcn.0042d2a0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x13c], 6
mov byte [esp + 0xa8], 0
call fcn.00403f90
lea ecx, [esp + 0xc8]
mov byte [esp + 0x13c], 7
call fcn.00403f90
lea ecx, [esp + 0xd4]
mov byte [esp + 0x13c], 8
call fcn.00403f90
lea ecx, [esp + 0x64]
mov byte [esp + 0x13c], 9
call fcn.004dc020
test si, si
mov byte [esp + 0x13c], 0xa
je 0x4b1281
mov eax, dword [esp + 0x10]
mov dl, byte [eax + edi]
inc eax
mov byte [esp + 0x65], dl
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x128]
push eax
push edi
push ecx
call fcn.004ae220
add esp, 0xc
lea edx, [esp + 0x78]
mov byte [esp + 0x13c], 0xb
cmp eax, edx
je 0x4b12bf
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0x2b]
push edx
push ecx
push eax
lea ecx, [esp + 0x84]
call fcn.0041cfd0
lea ecx, [esp + 0x128]
mov byte [esp + 0x13c], 0xc
call fcn.0041fc40
test bx, bx
mov byte [esp + 0x13c], 0xa
je 0x4b12f6
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + edi]
add eax, 2
mov dword [esp + 0x90], ecx
mov dword [esp + 0x10], eax
cmp word [esp + 0x38], 0
mov eax, dword [esp + 0x10]
je 0x4b1313
mov edx, dword [eax + edi]
add eax, 4
mov dword [esp + 0xa4], edx
mov dword [esp + 0x10], eax
cmp word [esp + 0x60], 0
je 0x4b133b
mov eax, dword [eax + edi]
cmp eax, 0xffffffff
je 0x4b1330
push eax
lea ecx, [esp + 0xac]
call fcn.004da850
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
cmp word [esp + 0x44], 0
je 0x4b1356
mov cx, word [eax + edi]
add eax, 2
mov word [esp + 0xa0], cx
mov dword [esp + 0x10], eax
cmp word [esp + 0x5c], 0
je 0x4b1371
mov dx, word [eax + edi]
add eax, 2
mov word [esp + 0xa2], dx
mov dword [esp + 0x10], eax
cmp word [esp + 0x4c], 0
je 0x4b14e0
mov bl, byte [eax + edi]
cmp bl, 0xff
jne 0x4b13b1
mov edi, str.Spectator
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, str.Spectator
push ecx
push str.Spectator
lea ecx, [esp + 0xd0]
call fcn.00401aa0
jmp 0x4b14d5
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x24], 1
jne 0x4b14dc
sub esp, 8
mov eax, str.cstrike
mov edx, esp
mov dword [esp + 0x48], esp
test eax, eax
mov dword [edx], str.cstrike
je 0x4b13ec
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x14c]
not ecx
dec ecx
jmp 0x4b13ee
xor ecx, ecx
mov dword [edx + 4], ecx
mov ecx, dword [esi + 0x20]
add ecx, 0x20
call fcn.004fde20
test eax, eax
jne 0x4b14dc
cmp bl, 1
jne 0x4b1433
mov edi, 0x698114
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x698114
push ecx
push 0x698114
lea ecx, [esp + 0xd0]
call fcn.00401aa0
jmp 0x4b14d5
cmp bl, 2
jne 0x4b14dc
mov edi, 0x698118
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, dword [esp + 0xcc]
dec ecx
mov edi, ecx
mov ecx, dword [esp + 0xc8]
add edi, 0x698118
sub eax, ecx
mov esi, edi
sub esi, 0x698118
cmp esi, eax
ja 0x4b149e
push esi
push 0x698118
push ecx
call fcn.004bf360
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
add esp, 0xc
add esi, edx
push ecx
push esi
lea ecx, [esp + 0xd0]
call fcn.004045c0
jmp 0x4b14d5
push eax
push 0x698118
push ecx
call fcn.004bf360
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd4]
add esp, 0xc
sub eax, ecx
lea ecx, [esp + 0x1b]
add eax, 0x698118
push ecx
push edi
push eax
lea ecx, [esp + 0xd4]
call fcn.004c2490
mov edi, dword [esp + 0x144]
inc dword [esp + 0x10]
cmp word [esp + 0x24], 0
je 0x4b1582
lea edx, [esp + 0x10]
lea eax, [esp + 0x50]
push edx
push edi
push eax
call fcn.004ae220
add esp, 0xc
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xd4]
cmp eax, esi
mov byte [esp + 0x13c], 0xd
je 0x4b1533
cmp ecx, dword [esp + 0xd8]
je 0x4b152f
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
cmp eax, esi
jne 0x4b151a
jmp 0x4b1533
cmp eax, esi
jne 0x4b154a
mov eax, dword [esp + 0xd8]
push eax
push ecx
lea ecx, [esp + 0xdc]
call fcn.004045c0
jmp 0x4b155d
lea ecx, [esp + 0x23]
push ecx
push esi
push eax
lea ecx, [esp + 0xe0]
call fcn.00436cb0
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
sub edx, eax
lea ecx, [esp + 0x58]
push edx
push eax
mov byte [esp + 0x144], 0xe
call fcn.00402b70
mov byte [esp + 0x13c], 0xa
test ebp, 0x200
je 0x4b15a2
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov cx, word [eax + edi]
add eax, 2
mov dword [esp + 0xe0], ecx
mov dword [esp + 0x10], eax
test ebp, 0x400
je 0x4b15d8
mov edx, dword [esp + 0x10]
mov al, byte [edx + edi]
test al, al
jne 0x4b15c2
mov dword [esp + 0x110], 1
jmp 0x4b15d4
dec al
neg al
sbb eax, eax
and al, 0xfe
add eax, 2
mov dword [esp + 0x110], eax
inc dword [esp + 0x10]
test ebp, 0x800
je 0x4b1604
sub esp, 0xc
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x4c], esp
push ecx
push edi
push eax
call fcn.004ae220
add esp, 0xc
lea ecx, [esp + 0xb4]
call fcn.004da670
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x48]
lea esi, [edx + 0x40]
cmp eax, ecx
je 0x4b1630
lea ecx, [esp + 0x64]
push ecx
push eax
call fcn.00491610
mov eax, dword [esi + 4]
add esp, 8
add eax, 0xc4
mov dword [esi + 4], eax
jmp 0x4b1646
push 1
lea edx, [esp + 0x26]
push 1
lea ecx, [esp + 0x6c]
push edx
push ecx
push eax
mov ecx, esi
call fcn.00435160
lea ecx, [esp + 0xd4]
mov byte [esp + 0x13c], 0x13
call fcn.004207d0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x13c], 0x12
call fcn.004207d0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x13c], 0x11
call fcn.00402ab0
lea ecx, [esp + 0x84]
mov byte [esp + 0x13c], 0x10
call fcn.004350f0
lea ecx, [esp + 0x78]
mov byte [esp + 0x13c], 0xf
call fcn.00402ab0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x13c], 0
call fcn.00402ab0
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x4b11e1
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
or dword [eax + 0xf0], 0x18
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x34]
sub edx, ebx
mov dword [esp + 0x13c], 0x14
push edx
push ebx
call fcn.00402b70
mov al, 1
jmp 0x4b1719
mov dword [esp + 0x13c], 3
jmp 0x4b170e
mov dword [esp + 0x13c], 2
lea ecx, [esp + 0x2c]
call fcn.0041fc40
xor al, al
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x130
ret 8