Function at 0x4b3d40
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x10], edi
mov esi, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov ebx, dword [edi]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x28], eax
cmp byte [ebx + 0x1e], al
jne 0x4b4c20
cmp byte [edi + 0x1fc], al
jne 0x4b4c20
cmp byte [ebx + 0x7c], al
jne 0x4b3e30
lea edx, [edi + 8]
mov ecx, ebx
call fcn.004c1b30
test eax, eax
je 0x4b3e30
inc dword [edi + 0x40]
mov dword [edi + 4], eax
mov edx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.004a99c0
mov ecx, ebx
mov edx, dword [ebp + 0xc]
call fcn.004b55f0
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4b4cb6
cmp dword [0x532cd8], 0
je 0x4b4cac
mov eax, dword [0x535520]
test eax, eax
je 0x4b3ddc
push eax
call dword [0x532d20]
add esp, 4
push ebx
call dword [0x532cfc]
mov ecx, dword [0x5353a8]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x5353cc]
cmp ecx, eax
mov dword [0x5353a8], ecx
cmovg eax, ecx
push ebx
mov dword [0x5353cc], eax
call dword [0x532cf4]
mov eax, dword [0x535520]
add esp, 4
test eax, eax
je 0x4b4cb6
push eax
call dword [0x532d28]
mov eax, dword [ebp - 0x24]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], 0
je 0x4b3fc0
lea eax, [ebp - 0x20]
mov edx, esi
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.004b1870
mov ecx, eax
add esp, 8
mov dword [ebp - 0x1c], ecx
test ecx, ecx
js 0x4b4c20
cmp ecx, 1
je 0x4b3f26
mov eax, dword [edi]
add ecx, ecx
xor edx, edx
mov dword [ebp - 0x30], 0
mov eax, dword [eax + 8]
mov ecx, dword [eax + ecx*8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], ecx
lea esi, [eax + 8]
mov dword [ebp - 0x2c], esi
cmp dx, word [eax]
jge 0x4b3f26
nop dword [eax + eax]
mov edi, dword [esi]
mov edx, ecx
test edi, edi
jne 0x4b3ea6
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call fcn.0048b6f0
mov dword [esi], eax
jmp 0x4b3eee
mov bl, byte [edi]
test bl, bl
je 0x4b3ed6
mov esi, edi
mov al, bl
sub esi, ecx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x51d778]
cmp al, byte [ecx + 0x51d778]
jne 0x4b3ed3
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x4b3eb2
mov esi, dword [ebp - 0x2c]
movzx eax, bl
movzx ecx, byte [eax + 0x51d778]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x51d778]
sub ecx, eax
jne 0x4b3f0a
mov eax, dword [ebp + 0xc]
add esi, 0x38
mov ecx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ecx
movsx eax, word [eax]
cmp ecx, eax
mov ecx, dword [ebp - 0x3c]
jl 0x4b3e90
jmp 0x4b3f23
push edi
push dword [ebp - 0x20]
push 0x522868
push 0x522568
push dword [ebp - 0x10]
call fcn.0048d770
add esp, 0x14
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov ecx, dword [eax]
cmp byte [ecx + 0x7c], 0
jne 0x4b3f57
lea edx, [eax + 8]
call fcn.004c1b30
test eax, eax
je 0x4b3f54
mov ecx, dword [ebp - 0x10]
inc dword [ecx + 0x40]
mov dword [ecx + 4], eax
jmp 0x4b3d9d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, edi
push esi
call fcn.004b0c60
mov ecx, eax
mov dword [ebp - 0x14], eax
add esp, 4
test ecx, ecx
jne 0x4b3fb5
push edi
test esi, esi
je 0x4b3f94
push esi
push 0x5225a8
push 0x521dd8
push dword [ebp - 0x10]
call fcn.0048d770
mov eax, dword [ebp - 0x10]
add esp, 0x14
mov byte [eax + 0x12], 1
jmp 0x4b3d9d
push 0x5225a8
push 0x521de4
push dword [ebp - 0x10]
call fcn.0048d770
mov eax, dword [ebp - 0x10]
add esp, 0x10
mov byte [eax + 0x12], 1
jmp 0x4b3d9d
cmp byte [ebx + 0x1e], 0
je 0x4b4003
jmp 0x4b3d9d
mov ecx, dword [edi + 0x1e8]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x4b4c20
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x1c], 0xfff0bdc0
test edx, edx
je 0x4b4003
mov ecx, dword [ebx + 4]
xor esi, esi
mov dword [ebp - 0x1c], esi
test ecx, ecx
jle 0x4b4000
mov eax, dword [ebx + 8]
add eax, 0xc
cmp dword [eax], edx
je 0x4b3ffd
inc esi
add eax, 0x10
cmp esi, ecx
jl 0x4b3ff1
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov edi, 0x5220cc
mov eax, dword [ebx + 8]
mov ebx, dword [ecx + 4]
mov esi, ebx
shl edx, 4
add eax, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x2c], eax
mov edx, 7
mov al, byte [esi]
dec edx
test al, al
je 0x4b4045
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x51d778]
cmp al, byte [ecx + 0x51d778]
jne 0x4b4045
inc esi
inc edi
test edx, edx
jg 0x4b4023
dec edx
test edx, edx
js 0x4b4061
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x51d778]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x51d778]
sub eax, ecx
jne 0x4b4085
cmp dword [ebx + 7], 0x65746c61
jne 0x4b4c80
cmp dword [ebx + 0xb], 0x62617472
jne 0x4b4c80
cmp byte [ebx + 0xf], 0x5f
jne 0x4b4c80
mov esi, dword [ebp - 0x14]
test byte [esi + 0x22], 0x10
je 0x4b40b1
push 0x52288c
push dword [ebp - 0x10]
call fcn.0048d770
mov edx, dword [ebp + 0x10]
add esp, 8
mov ecx, dword [ebp - 8]
call fcn.004a99c0
mov ecx, dword [ebp - 8]
jmp 0x4b3da9
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4b4206
mov edi, dword [eax]
test edi, edi
jne 0x4b40e1
xor ecx, ecx
call fcn.0048d800
mov edx, dword [ebp + 0x10]
xor eax, eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], eax
call fcn.004a99c0
mov ecx, dword [ebp - 8]
jmp 0x4b3da9
mov ebx, dword [ebp - 8]
mov esi, dword [eax + 4]
cmp byte [ebx + 0x1e], 0
lea ecx, [esi + 1]
je 0x4b40f7
xor edx, edx
mov dword [ebp - 0x18], edx
jmp 0x4b4159
cmp byte [ebx + 0xe2], 0
je 0x4b41c0
movzx eax, word [ebx + 0xe0]
cmp ecx, eax
jg 0x4b41c0
mov edx, dword [ebx + 0xec]
mov dword [ebp - 0x18], edx
test edx, edx
je 0x4b41c0
mov eax, dword [edx]
mov dword [ebx + 0xec], eax
mov eax, dword [ebx + 0xe4]
inc eax
mov dword [ebx + 0xe4], eax
cmp eax, dword [ebx + 0xe8]
jle 0x4b4147
mov dword [ebx + 0xe8], eax
push esi
push edi
push edx
call fcn.004de660
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov byte [edx + esi], 0
mov ecx, edx
call fcn.0048d800
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4b4c20
mov edi, dword [ebp - 0x10]
mov edx, esi
mov ecx, edi
call fcn.004b19c0
test eax, eax
jne 0x4b4c20
cmp byte [ebx + 0x7c], al
jne 0x4b41df
push eax
mov edx, esi
mov ecx, ebx
call fcn.004b0c60
add esp, 4
test eax, eax
je 0x4b41df
push esi
push 0x5228b0
push edi
call fcn.0048d770
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov ecx, ebx
call fcn.004a99c0
mov edx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.004b55f0
mov ecx, dword [ebp - 0x18]
jmp 0x4b4c41
push ecx
call fcn.0048b260
mov edx, eax
add esp, 4
mov dword [ebp - 0x18], edx
test edx, edx
jne 0x4b4147
mov byte [ebx + 0x1e], 1
jmp 0x4b4159
mov eax, dword [ebp - 0x2c]
mov edx, esi
mov ecx, ebx
push dword [eax]
call fcn.004b0d60
add esp, 4
test eax, eax
je 0x4b423d
cmp dword [ebp + 0x24], 0
jne 0x4b4c20
push esi
push 0x5228d4
jmp 0x4b419b
mov eax, dword [esi + 0x14]
mov ecx, 1
test eax, eax
je 0x4b421a
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x4b4212
push ecx
push ebx
mov ebx, dword [ebp - 8]
push 0x5228ec
push ebx
call fcn.0048cbb0
add esp, 0x10
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4b4c20
mov edi, dword [ebp - 0x10]
jmp 0x4b4240
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4b4344
mov eax, dword [esi + 0xc]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + ecx*8 - 0x18]
mov dword [ebp - 0x38], ebx
test ebx, ebx
jne 0x4b4263
xor esi, esi
jmp 0x4b427e
cmp byte [ebx], 0
mov esi, ebx
je 0x4b4276
nop word [eax + eax]
inc esi
cmp byte [esi], 0
jne 0x4b4270
sub esi, ebx
and esi, 0x3fffffff
push 0
xor edx, edx
mov ecx, edi
call fcn.004a9770
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
je 0x4b4ca4
mov ecx, dword [eax]
mov edi, dword [edi]
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 0xc]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x30], eax
test ebx, ebx
je 0x4b4332
lea ecx, [esi + 1]
test edi, edi
je 0x4b4303
cmp byte [edi + 0x1e], 0
je 0x4b42c0
xor ebx, ebx
jmp 0x4b4332
cmp byte [edi + 0xe2], 0
je 0x4b4303
movzx eax, word [edi + 0xe0]
cmp ecx, eax
ja 0x4b4303
mov ebx, dword [edi + 0xec]
test ebx, ebx
je 0x4b4303
mov eax, dword [ebx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x4b431e
mov dword [edi + 0xe8], eax
jmp 0x4b431e
push ecx
call fcn.0048b260
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4b431e
test edi, edi
je 0x4b431a
mov byte [edi + 0x1e], 1
test ebx, ebx
je 0x4b432f
push esi
push dword [ebp - 0x38]
push ebx
call fcn.004de660
add esp, 0xc
mov byte [ebx + esi], 0
mov eax, dword [ebp - 0x30]
mov dword [eax - 0x10], ebx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
mov al, byte [ebp + 0x20]
mov byte [ecx + 0xc], al
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x38], ebx
test ebx, ebx
jle 0x4b438e
mov edx, dword [eax + 0xc]
mov esi, ebx
xor ebx, ebx
mov eax, dword [edx]
test eax, eax
je 0x4b4380
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4b4380
mov ecx, dword [ecx]
mov eax, ecx
test ecx, ecx
je 0x4b437d
cmp byte [ecx], 0
je 0x4b4376
nop
inc eax
cmp byte [eax], 0
jne 0x4b4370
sub eax, ecx
and eax, 0x3fffffff
inc ebx
add ebx, eax
add edx, 0x14
sub esi, 1
jne 0x4b4354
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
mov esi, eax
test eax, eax
je 0x4b43ae
cmp byte [eax], 0
je 0x4b43a6
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x4b43a0
sub esi, eax
and esi, 0x3fffffff
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
add edi, 0x39
imul eax, ebx, 0xd
add eax, esi
add edi, eax
cmp byte [ecx + 0x1e], 0
je 0x4b43cb
xor edx, edx
mov dword [ebp - 0xc], edx
jmp 0x4b442d
cmp byte [ecx + 0xe2], 0
je 0x4b4545
movzx eax, word [ecx + 0xe0]
cmp edi, eax
jg 0x4b4545
mov edx, dword [ecx + 0xec]
mov dword [ebp - 0xc], edx
test edx, edx
je 0x4b4545
mov eax, dword [edx]
mov dword [ecx + 0xec], eax
mov eax, dword [ecx + 0xe4]
inc eax
mov dword [ecx + 0xe4], eax
cmp eax, dword [ecx + 0xe8]
jle 0x4b441b
mov dword [ecx + 0xe8], eax
push edi
push 0
push edx
call fcn.004debe0
mov ecx, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp - 0xc]
cmp byte [ecx + 0x1e], 0
jne 0x4b4b94
lea eax, [edx + 0x34]
mov dword [edx + 0x2c], eax
lea eax, [eax + ebx*4]
mov dword [edx + 8], eax
lea eax, [eax + ebx*4]
mov dword [edx + 0xc], eax
lea eax, [eax + ebx*4]
add eax, 4
mov dword [edx + 0x28], eax
lea ecx, [eax + ebx]
lea eax, [ecx + 1]
mov dword [edx], ecx
add eax, esi
mov dword [ebp - 0x38], eax
lea eax, [esi + 1]
push eax
mov eax, dword [ebp - 0x18]
push eax
push ecx
call fcn.004de660
mov esi, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x14]
cmp dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x10], ebx
mov eax, dword [ecx]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x14]
mov byte [esi + 0x18], al
sete al
mov byte [esi + 0x19], al
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], 0
mov eax, dword [eax + 8]
mov eax, dword [edx + eax + 0xc]
mov dword [esi + 0x24], eax
cmp dword [ecx], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x48]
mov byte [ebp - 1], al
jle 0x4b4757
mov ecx, dword [edx + 4]
xor edi, edi
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
cmp dword [ebx + 0xc], edi
jle 0x4b4861
mov bh, byte [ecx]
nop dword [eax]
mov edx, dword [esi]
mov bl, bh
test bh, bh
je 0x4b4514
mov esi, ecx
mov al, bh
sub esi, edx
nop
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x51d778]
cmp al, byte [ecx + 0x51d778]
jne 0x4b4511
mov al, byte [edx + esi + 1]
inc edx
mov bl, al
test al, al
jne 0x4b44f0
mov esi, dword [ebp - 0x34]
movzx eax, bl
movzx ecx, byte [eax + 0x51d778]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x51d778]
sub ecx, eax
je 0x4b4567
mov eax, dword [ebp - 0x14]
inc edi
mov ecx, dword [ebp - 0x30]
add esi, 0x18
mov dword [ebp - 0x34], esi
cmp edi, dword [eax + 0xc]
jl 0x4b44e0
mov ebx, eax
jmp 0x4b4861
push edi
call fcn.0048b260
mov ecx, dword [ebp - 8]
mov edx, eax
add esp, 4
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x4b441b
mov byte [ecx + 0x1e], 1
jmp 0x4b442d
mov ebx, dword [ebp - 0x14]
cmp edi, dword [ebx + 0xc]
jge 0x4b485e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 8]
mov dword [eax + ecx*4], edi
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x4b45c6
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4b45c6
mov eax, dword [eax]
mov esi, eax
test eax, eax
je 0x4b45ae
cmp byte [eax], 0
je 0x4b45a6
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x4b45a0
sub esi, eax
and esi, 0x3fffffff
mov ebx, dword [ebp - 0x38]
inc esi
push esi
push eax
push ebx
call fcn.004de660
add esp, 0xc
mov edi, ebx
add ebx, esi
mov dword [ebp - 0x38], ebx
jmp 0x4b45dc
mov eax, dword [ebx + 0x10]
lea ecx, [edi + edi*2]
mov edi, dword [eax + ecx*8 + 0x10]
test edi, edi
jne 0x4b45dc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
mov edi, dword [eax]
mov eax, dword [ebp - 8]
cmp byte [eax + 0x7c], 0
jne 0x4b471a
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
mov eax, dword [esi + 8]
mov bl, byte [esi + 0x7c]
mov eax, dword [eax + 0xc]
mov bh, byte [eax + 0x49]
test edi, edi
je 0x4b4612
movzx eax, bl
mov edx, edi
push eax
mov ecx, esi
call fcn.004b64d0
add esp, 4
mov ecx, eax
jmp 0x4b4615
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4b4625
movzx eax, bh
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
test bl, bl
jne 0x4b4712
test ecx, ecx
je 0x4b463b
cmp dword [ecx + 0xc], 0
jne 0x4b471a
push edi
push ecx
mov dl, bh
mov ecx, esi
call fcn.004b63c0
add esp, 8
test eax, eax
jne 0x4b471a
push edi
push 0x5226e0
push dword [ebp - 0x10]
call fcn.0048d770
add esp, 0xc
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov esi, dword [edx + 0x1c]
test esi, esi
je 0x4b4bb0
cmp dword [0x532cd8], 0
je 0x4b4ba4
mov eax, dword [0x535520]
test eax, eax
je 0x4b4693
push eax
call dword [0x532d20]
add esp, 4
push esi
call dword [0x532cfc]
mov ecx, dword [0x5353a8]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x5353cc]
cmp ecx, eax
mov dword [0x5353a8], ecx
cmovg eax, ecx
push esi
mov dword [0x5353cc], eax
call dword [0x532cf4]
mov eax, dword [0x535520]
add esp, 4
test eax, eax
je 0x4b46de
push eax
call dword [0x532d28]
mov eax, dword [0x535520]
add esp, 4
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebx + 0xf0]
jb 0x4b4bba
cmp edx, dword [ebx + 0xf4]
jae 0x4b4bba
mov eax, dword [ebx + 0xec]
mov dword [edx], eax
dec dword [ebx + 0xe4]
mov dword [ebx + 0xec], edx
jmp 0x4b4c20
test ecx, ecx
je 0x4b4662
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi + 0x2c]
mov dword [eax + ecx*4], edi
xor eax, eax
movzx ecx, byte [edx + 0xc]
cmp byte [ebp - 1], 4
mov edi, dword [ebp - 0x28]
cmovb ecx, eax
mov eax, dword [esi + 0x28]
add edx, 0x14
mov dword [ebp - 0x2c], edx
mov byte [edi + eax], cl
inc edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], edi
cmp edi, dword [eax]
jl 0x4b44c3
mov edx, dword [esi + 0xc]
mov dword [edx], 0xf4240
mov ecx, dword [esi + 4]
cmp ecx, 5
jl 0x4b477d
nop dword [eax + eax]
mov dword [edx + ecx*4], 5
dec ecx
cmp ecx, 5
jge 0x4b4770
cmp ecx, 1
jl 0x4b4792
mov eax, 0xb
sub eax, ecx
mov dword [edx + ecx*4], eax
dec ecx
cmp ecx, 1
jge 0x4b4782
cmp byte [esi + 0x18], 0
je 0x4b47a2
mov eax, dword [esi + 4]
mov dword [edx + eax*4], 1
mov edi, dword [ebp - 0x10]
cmp ebx, dword [edi + 0x1e8]
jne 0x4b4898
mov ebx, dword [ebx + 0x14]
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x4b4898
nop
mov edx, dword [ebx + 4]
mov dword [ebp - 0x2c], edx
cmp edx, dword [esi + 4]
jne 0x4b4887
xor edi, edi
test edx, edx
jle 0x4b4883
mov ecx, dword [esi + 8]
mov eax, dword [ebx + 8]
sub eax, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
lea ecx, [ecx + edi*4]
mov eax, dword [eax + ecx]
cmp eax, dword [ecx]
jne 0x4b487d
mov eax, dword [ebx + 0x2c]
mov esi, dword [eax + edi*4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax + edi*4]
cmp esi, edx
je 0x4b484e
mov bl, byte [esi]
test bl, bl
je 0x4b4833
mov al, bl
sub esi, edx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x51d778]
cmp al, byte [ecx + 0x51d778]
jne 0x4b4833
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x4b4812
movzx eax, bl
movzx ecx, byte [eax + 0x51d778]
movzx eax, byte [edx]
movzx eax, byte [eax + 0x51d778]
sub ecx, eax
jne 0x4b487a
mov ebx, dword [ebp - 0x30]
mov edx, dword [ebx + 4]
inc edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
cmp edi, edx
jl 0x4b47e7
jmp 0x4b487d
mov ecx, dword [ebp - 0x30]
push ecx
push dword [ebx + 4]
push 0x522904
push dword [ebp - 0x10]
call fcn.0048d770
add esp, 0x10
jmp 0x4b4662
mov edx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0xc]
cmp edi, edx
je 0x4b48af
mov ebx, dword [ebx + 0x20]
mov dword [ebp - 0x30], ebx
test ebx, ebx
jne 0x4b47c0
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
cmp byte [ebx + 0x7c], 0
je 0x4b493b
mov edx, dword [esi]
mov eax, edx
test edx, edx
jne 0x4b48ef
jmp 0x4b4901
mov al, byte [ebx + 0x18]
mov cl, byte [esi + 0x18]
cmp al, cl
je 0x4b4662
cmp al, 0x63
je 0x4b48d8
cmp cl, 0x63
je 0x4b48d8
push 0
push 0x522924
push dword [ebp - 0x10]
call fcn.0048d770
add esp, 0xc
cmp byte [ebx + 0x18], 0x63
mov edx, dword [ebp - 0xc]
jne 0x4b48e7
mov al, byte [esi + 0x18]
mov byte [ebx + 0x18], al
mov ebx, dword [ebp - 8]
jmp 0x4b4668
cmp byte [edx], 0
je 0x4b48fa
inc eax
cmp byte [eax], 0
jne 0x4b48f4
sub eax, edx
and eax, 0x3fffffff
mov ecx, dword [esi + 0x24]
push esi
push eax
add ecx, 0x14
call fcn.0048e960
add esp, 8
test eax, eax
je 0x4b491e
mov byte [ebx + 0x1e], 1
jmp 0x4b4665
or dword [ebx + 0xc], 0x10
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4b4b31
mov eax, dword [ebx + 0x78]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
jmp 0x4b4b31
inc dword [edi + 0x48]
mov esi, dword [edi + 0xc]
mov ebx, dword [edi + 0x48]
test esi, esi
jne 0x4b495c
mov ecx, dword [edi]
call fcn.0049c0a0
mov esi, eax
mov dword [edi + 0xc], esi
test esi, esi
je 0x4b4662
mov edx, dword [ebp - 0x1c]
mov ecx, edi
call fcn.004b5ea0
mov eax, dword [edi + 0x150]
mov ecx, dword [ebp - 0x1c]
bts eax, ecx
or byte [edi + 0x158], 1
mov dword [edi + 0x150], eax
mov edi, dword [esi + 0xc]
cmp dword [esi + 0x10], edi
jg 0x4b4992
mov ecx, esi
call fcn.0049c160
test eax, eax
jne 0x4b49c5
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov edx, dword [ebp - 0x1c]
mov word [eax + ecx*4], 0x60
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
cmp dword [ebp + 0x18], 0
je 0x4b4a00
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x1c]
push ecx
mov eax, dword [eax]
sub eax, ecx
mov ecx, 0x522950
inc eax
cmp dword [ebp + 0x14], 0
push eax
mov eax, 0x51f4b8
cmovne eax, ecx
push eax
push 0x522958
push dword [ebp - 8]
call fcn.0048cbb0
add esp, 0x14
mov edi, eax
jmp 0x4b4a02
xor edi, edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
push edi
push ebx
push dword [eax + 4]
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 8]
push 0x521d2c
mov eax, dword [eax + 8]
push dword [ecx + eax]
push 0x52296c
push dword [ebp - 0x10]
call fcn.004b0ad0
push edi
mov edi, dword [ebp - 8]
push edi
call fcn.0048b350
mov eax, dword [ebp + 0xc]
add esp, 0x28
test eax, eax
je 0x4b4b2c
mov ecx, dword [ebp - 0x10]
push ebx
mov ebx, dword [ebp - 0xc]
mov edx, ebx
call fcn.004b38b0
mov edx, dword [ebp - 0x1c]
add esp, 4
mov ecx, dword [ebp - 0x10]
call fcn.004b2a40
push dword [ebx]
push 0x52299c
push edi
call fcn.0048cbb0
mov edi, dword [esi + 0xc]
add esp, 0xc
mov ebx, eax
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4b4a92
mov ecx, esi
call fcn.0049c160
test eax, eax
je 0x4b4a8f
mov edi, 1
jmp 0x4b4aca
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x1c]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x62
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xffffffffffffffff
push ebx
mov edx, edi
mov ecx, esi
call fcn.0049c7c0
mov edi, dword [esi + 0xc]
add esp, 8
cmp dword [esi + 0x10], edi
jg 0x4b4aec
mov ecx, esi
call fcn.0049c160
test eax, eax
jne 0x4b4b24
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
inc dword [esi + 0xc]
mov word [eax + ecx*4], 0x77
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
jmp 0x4b4b2e
mov ebx, edi
mov esi, dword [ebp - 0xc]
cmp byte [ebx + 0x7c], 0
jne 0x4b4b3f
test eax, eax
jne 0x4b4665
cmp dword [ebp + 0x14], 5
jne 0x4b4b80
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4b4b80
cmp byte [ecx + 0x18], 5
je 0x4b4b80
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4b4b6f
nop dword [eax]
cmp byte [eax + 0x18], 5
je 0x4b4b6f
mov ecx, eax
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x4b4b60
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x20], eax
mov dword [ecx + 0x20], esi
mov dword [ebp - 0x24], esi
jmp 0x4b4c20
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], esi
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x20], eax
mov dword [ecx + 0x14], esi
jmp 0x4b4c20
mov ebx, dword [ebp - 8]
test edx, edx
je 0x4b4c20
jmp 0x4b4668
push esi
call dword [0x532cf4]
jmp 0x4b46d6
mov eax, dword [0x535520]
jmp 0x4b46e1
cmp dword [0x532cd8], 0
je 0x4b4c77
test eax, eax
je 0x4b4bd8
push eax
call dword [0x532d20]
mov edx, dword [ebp - 0xc]
add esp, 4
push edx
call dword [0x532cfc]
mov ecx, dword [0x5353a8]
neg eax
add ecx, eax
add esp, 4
mov eax, dword [0x5353cc]
cmp ecx, eax
mov dword [0x5353a8], ecx
cmovg eax, ecx
push dword [ebp - 0xc]
mov dword [0x5353cc], eax
call dword [0x532cf4]
mov eax, dword [0x535520]
add esp, 4
test eax, eax
je 0x4b4c20
push eax
call dword [0x532d28]
add esp, 4
mov eax, dword [ebp + 0x10]
mov edx, eax
mov ecx, ebx
call fcn.004a99c0
mov edx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.004b55f0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4b3db1
cmp ecx, dword [ebx + 0xf0]
jb 0x4b3db1
cmp ecx, dword [ebx + 0xf4]
jae 0x4b3db1
mov eax, dword [ebx + 0xec]
mov dword [ecx], eax
dec dword [ebx + 0xe4]
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0xec], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
call dword [0x532cf4]
jmp 0x4b4c1d
push ebx
push 0x522870
push dword [ebp - 0x10]
call fcn.0048d770
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 8]
call fcn.004a99c0
mov ecx, dword [ebp - 8]
jmp 0x4b3da9
mov ebx, dword [ebp - 8]
jmp 0x4b4c23
push ebx
call dword [0x532cf4]
add esp, 4
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret